ilude/claude-code-config/css-workflow
Claude Code and agent skill by ilude/claude-code-config
- community
Checking that the SKILL.md file is still in the repository.
CSS and styling workflow guidelines. Activate when working with CSS files (.css), Tailwind CSS, Stylelint, or styling-related tasks.
Install
npx vskill@latest install ilude/claude-code-config/css-workflowSKILL.md
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
CSS Workflow
Tool Grid
| Task | Tool | Command | |
|---|---|---|---|
| Lint | Stylelint | npx stylelint "**/*.css" | |
| Format | Prettier | npx prettier --write "**/*.css" | |
| Dead code | PurgeCSS | npx purgecss --css *.css --content *.html |
Tailwind CSS
RECOMMENDED over custom CSS for consistency and maintainability.
- SHOULD use utility classes for most styling needs
- MUST configure
tailwind.config.jsfor project design tokens - SHOULD use
@applysparingly - prefer utilities in markup - MUST NOT use arbitrary values (
[123px]) when design token exists - SHOULD extend theme rather than override
Class order: Layout > Sizing > Spacing > Typography > Colors > Effects > Interactivity
Native CSS Features
SHOULD prefer native CSS over Sass/preprocessors.
Naming Conventions
SHOULD use BEM for custom CSS:
- MUST use lowercase
kebab-case - SHOULD use semantic names (
btn-primarynotbtn-blue) - MUST prefix utilities with
u-, JS hooks withjs-
Organization
Property order: Positioning > Display/Box Model > Typography > Visual > Misc
Mobile-first: MUST use min-width media queries.
Modern Features
Dark Mode
MUST support via prefers-color-scheme:
Optional class toggle: [data-theme="dark"] { --color-bg: #1a1a1a; }
Performance
- SHOULD inline critical above-the-fold CSS
- MUST NOT use
@importin production (blocks parallel downloads) - MUST remove unused CSS (PurgeCSS, Tailwind purge)
- SHOULD limit selector specificity (max 3 levels)
- MUST NOT use
!importantexcept for utilities
Accessibility
Focus States (REQUIRED)
Reduced Motion (REQUIRED)
Color & Visibility
- MUST meet WCAG 2.1 AA contrast (4.5:1 text, 3:1 large text)
- SHOULD NOT rely on color alone to convey information
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/css-workflow/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 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
[](https://verified-skill.com/skills/ilude/claude-code-config/css-workflow)