joshuaculmer/cook_book/tailwind

Claude Code and agent skill by joshuaculmer/cook_book

Trust tier 3
  • community
Source check pending

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

Load when writing or reviewing any UI styling in this project. Covers utility class patterns, responsive design, and Tailwind best practices.

Install

npx vskill@latest install joshuaculmer/cook_book/tailwind

SKILL.md

The same SKILL.md was published earlier as joshuaculmer/cook_book/tailwind.

This project uses Tailwind CSS for all styling. Do not write custom CSS unless Tailwind cannot meet the need.

Core patterns:

  • Apply utility classes directly on JSX elements: className="flex items-center gap-4".
  • Use responsive prefixes for breakpoints: sm:, md:, lg:, xl:.
  • Use hover:, focus:, disabled: state prefixes for interactive elements.
  • Prefer semantic spacing values (gap-4, p-6) over arbitrary values (gap-[17px]).

Component styling conventions:

  • Extract repeated class strings to a named variable inside the component if they exceed ~5 utilities:

``tsx const cardClass = "rounded-xl border border-gray-200 bg-white p-6 shadow-sm"; ``

  • For conditional classes, use template literals or a utility like clsx / cn:

``tsx className={cn("btn", isActive && "btn-active")} ``

Do not:

  • Do not use arbitrary values unless absolutely necessary (e.g., avoid w-[327px]).
  • Do not add a className string longer than ~10 utilities without extracting it.
  • Do not use Tailwind for animation that requires JavaScript — use a library or CSS keyframes.

Dark mode:

  • Use the dark: prefix if the project has dark mode enabled in tailwind.config.
  • Check tailwind.config.ts for custom theme values before inventing new ones.

Security

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

Quality evaluation

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

Source

Popularity

7-day trend score
5

Not refreshed yet.

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/joshuaculmer/cook_book/tailwind/badge)](https://verified-skill.com/skills/joshuaculmer/cook_book/tailwind)

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