ccheney/robust-skills/modern-css

Claude Code and agent skill by ccheney/robust-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement or debug CSS layouts, responsive styles, themes, and motion. Use when choosing native CSS features or replacing legacy styling with browser-compatible CSS; not for unrelated frontend logic.

Install

npx vskill@latest install ccheney/robust-skills/modern-css

SKILL.md

Modern CSS

Choose native CSS features that fit the requested behavior and supported browsers. The user's explicit instructions take precedence over this skill's guidelines. Preserve the project's framework, preprocessor, tokens, and styling conventions unless changing them is part of the request.

Resolve the styling problem

Use the affected markup/styles, desired appearance or interaction, and browser targets as input. Infer targets from project configuration when available. If missing support information changes the implementation, ask for it or state a conservative fallback.

Bundled support tables are dated research snapshots, not a current compatibility guarantee. Check MDN compatibility data or Web Platform Status for the particular feature when support matters.

NeedStarting point
Rows and columns, or aligned nested tracksGrid / Subgrid
One-dimensional arrangementFlexbox
Layout based on a component's available spaceContainer queries
Cascading overrides or specificity conflictLayers, scope, selector specificity
Themes and derived colorsCustom properties, color functions, color-scheme
Motion, popovers, or scroll effectsFeature-specific reference and fallback

Keep the result usable

  • Preserve layout and interaction in supported browsers. Use progressive enhancement or feature detection where a feature is unavailable.
  • Match cascade changes to the existing origin, importance, and layer ordering; adding a layer can change precedence.
  • Respect reduced-motion preferences and preserve focus/keyboard behavior when changing interactive components.
  • Use modern CSS as an option, not a mandate to remove JavaScript or rebuild working controls. Support and equivalent behavior determine whether a replacement fits.
  • Scope resets and stylesheet reorganization to the task; a component edit does not require a global reset.

Deliver the requested style change or explanation and verify affected layout/states when implementing. State unverified browser limitations rather than treating an example as proof of support.

References

Load only the relevant area, using its contents to find specific features.

TaskReference
Layers, scope, nesting, specificityCASCADE.md
Grid, Flexbox, containers, intrinsic sizingLAYOUT.md
Relational selectors, focus, pseudo-elementsSELECTORS.md
Color spaces, palettes, dark modeCOLOR.md
Custom properties, functions, design tokensTOKENS.md
Transitions, keyframes, entry/exit, view transitionsANIMATION.md
Scroll timelines, sticky states, carouselsSCROLL.md
Dialogs, popovers, anchors, selects, field sizingCOMPONENTS.md
Rendering performance, typography, writing modesPERFORMANCE.md
Compact syntax or feature-detection lookupCHEATSHEET.md

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
30
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ccheney/robust-skills/modern-css/badge)](https://verified-skill.com/skills/ccheney/robust-skills/modern-css)

Something wrong with this skill or its page? Tell us.