good-css
Modern CSS techniques that replace breakpoint ladders, wrapper elements and scripts.
Skill by Vojta Holík
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/michalvavra-good-css
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/good-css
What's inside
- Skill name
good-css- Description
- Modern CSS techniques that replace breakpoint ladders, wrapper elements and scripts. Use whenever you write, edit or review styles in any form, including plain CSS, Tailwind classes, StyleX, CSS-in-JS and inline styles, and whenever you build or restyle a page or component, even if the user never mentions CSS.
- License
- MIT
- Metadata
- author: Vojta Holík · source: https://github.com/vojtaholik/good-css/tree/6d16d2fd27f4892e2aea4b5c5c2b016f45be7eef/skills/good-css
- Instructions
- 47 lines in SKILL.md · view on GitHub
Files (10)
- LICENSE
- SKILL.md
- foundations.md · references/
- interaction.md · references/
- layout.md · references/
- motion.md · references/
- scroll-and-viewport.md · references/
- show-and-hide.md · references/
- spacing-and-shape.md · references/
- text-and-media.md · references/
SKILL.md (first lines)
# Good CSS One declaration that adapts on its own beats a set of breakpoints, and a CSS feature beats a script. Use JavaScript only where it makes a result nicer that already works without it. Each technique is a set of properties and values, so it works in any authoring system. Class names in the examples are placeholders. Write the declarations in what the project already uses, whether that is a stylesheet, Tailwind utilities or StyleX objects. Where that system has no shorthand for a declaration, write it the long way, as a Tailwind arbitrary property or a rule in the project's CSS file. Do not swap the technique for a breakpoint. ## In all CSS These need no file. - Write `inline` and `block` properties in place of left, right, top and bottom. Tailwind has them too, as in `mbs-`, `pe-` and `inset-bs-`, so never write `mt-`, `pr-` or `top-`. - Write colors in `oklch()`, with `none` as the hue of a gray, white or black. Derive a hover, tint or transparent version with `color-mix(in oklch, …)`. - Put sizes that grow with the screen in one `clamp()` token. - Put every `:hover` rule inside `@media (hover: hover) and (pointer: fine)`. - Style focus with `:focus-visible` and `outline`. Never write `outline: none`. - Give everything pressable an `:active` state. - Put a transition that moves or scales something inside `@media (prefers-reduced-motion: no-preference)`. Name its properties, never `all`, and never use `ease-in`. - Cut off overflow with `overflow: clip`. Keep `hidden` for an element a script scrolls. ## Read the entry before you write Each file holds entries with the CSS and its rules. The rules are the conditions the CSS needs to work, so keep all of them. Read only the files whose row matches what you are about to write. One component matches two or three, and a whole page matches most of them. | Read | Before you write | | --- | --- | | `references/foundations.md` | a reset or base stylesheet, a set of color tokens, dark mode, a type or spacing scale | | `references/layout.md` | a page container or wrapper, a grid of cards, cards whose parts line up, a sidebar, a component placed in slots of different widths, overlapping layers, centered content that can overflow | | `references/spacing-and-shape.md` | spacing between sections, elements stacked one above another, one item pushed to the far end of a row or column, nested rounded corners | | `references/text-and-media.md` | text or images that come from a user or a CMS, such as names, titles, excerpts, thumbnails, avatars and embeds, an icon next to a label, a label that looks off-center, numbers in a column | | `references/interaction.md` | the focus, hover and press states of a button, link, input or card, a small tap target, a clickable card, form validation, a textarea, a parent styled by what it contains, page scroll locked behind a modal | | `references/motion.md` | easing and duration tokens, one state change that drives several values, a shadow that changes on hover, a transition between pages, the indicator under an active tab | | `references/show-and-hide.md` | a dialog, popover, dropdown menu or accordion | | `references/scroll-and-viewport.md` | a carousel, a row that may overflow, a modal body, chat list or drawer that scrolls between a header and a footer, in-page links under a sticky header, an app shell on desktop or on a phone | ## Left out on purpose Never add `text-box` trim on `*`, `text-rendering: optimizeLegibility`, or a reset that puts `display: contents` or one shared grid cell on every element. `references/foundations.md` has the reasons. ## Browser support Most entries end with a `Support:` line. This skill sets no browser floor. Weigh the line against the browsers the project targets, and tell the user when something you used is missing from one of them. ## Motion Whether something should animate, the design or review of motion, springs, gestures and drag, and checks on a real phone belong to Emil Kowalski's skills `animate`, `review-animations`, `improve-animations`, `find-animation-opportunities` and `mobile-native`. When they are installed, use them for those jobs, and where one disagrees with a value here, use its value. When they are not, use the entries as written and add no motion beyond what an entry or the task calls for.
From michalvavra/agents, MIT.
More from michalvavra/agents
- 0.640score
version-releases
michalvavra
Use when preparing, reviewing, or documenting versioned app releases, changelogs, SemVer bumps, release commits, git tags, or tag-gated production deploys
SkillAFreshness: A★ 16Claude Code +9 - 0.640score
html-artifacts
michalvavra
Build self-contained single-file HTML artifacts (data reports, code reviews, technical plans, architecture plans and other docs) with a shared, quiet…
SkillAFreshness: A★ 16Claude Code +9 - 0.626score
writing-pr
Luke Parker
Use when writing or editing a pull request title or body.
SkillAFreshness: A★ 16Claude Code +9 - 0.615score
diagnosing-bugs
Matt Pocock
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: A★ 16Claude Code +9 - 0.610score
grilling
Matt Pocock
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: A★ 16Claude Code +9 - 0.609score
writing-for-agents
Matt Pocock
Writing documents for agents.
SkillAFreshness: A★ 16Claude Code +9 - 0.599score
handoff
Matt Pocock
Compact the current conversation into a handoff document for another agent to pick up.
SkillAFreshness: A★ 16Claude Code +9 - 0.596score
write-discoverable-code
michalvavra
Make changed code easy for agents and humans to find, understand, and verify through search-oriented naming, precise types, truthful local guidance, coherent…
SkillBFreshness: B★ 16Claude Code +9 - 0.592score
architecture-review
michalvavra
Staff-level codebase health review.
SkillBFreshness: B★ 16Claude Code +9 - 0.545score
commit
michalvavra
Create git commits using Conventional Commits format.
SkillCFreshness: C★ 16Claude Code +9 - 0.485score
html-tools
michalvavra
Build single-file HTML tools — self-contained HTML+JS+CSS applications that solve a specific problem without a build step.
SkillDFreshness: D★ 16Claude Code +9 - 0.485score
snowcli
michalvavra
CLI for Snowflake.
SkillDFreshness: D★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/michalvavra/agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.366score
good-css
transitive-bullshit
Modern CSS techniques that replace breakpoint ladders, wrapper elements and scripts.
SkillAFreshness: A★ 4Claude Code +9 - 0.352score
good-css
lennox-davidlevy
Modern CSS techniques that replace breakpoint ladders, wrapper elements and scripts.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
good-css skill. Agent Mart. https://agentmart.dev/skills/michalvavra-good-css (last updated 2026-10-24)