Tailwind CSS
Tailwind CSS practice for v3 and v4 — theme tokens, class composition with cn and cva, responsive and container queries, dark mode, accessibility states, avoiding dynamic class names and keeping utility markup maintainable.
What it does
Tailwind CSS practice for v3 and v4 — theme tokens, class composition with cn and cva, responsive and container queries, dark mode, accessibility states, avoiding dynamic class names and keeping utility markup maintainable.
- Category
- webfrontendcss
- Platforms
- web
- Frameworks and tools
- tailwindcss
- Capabilities
- code-generationreviewrefactoring
Example tasks
- “Build a responsive pricing section with dark mode using Tailwind utilities.”
- “Create a Button component with variants using cva and tailwind-merge.”
- “Migrate a v3 config with custom colors to Tailwind v4 CSS-first theme.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (84 lines in total).
- 01Tailwind CSS
- 021. Setup and theme
- 032. Writing utilities
- 043. Class detection rules
- 054. Component composition
- 065. v3 to v4 gotchas (confirm in upgrade guide)
- 076. Review checklist
- 08Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Tailwind CSS
1.0.0
- Initial release.