tailwind/SKILL.md
Apply Tailwind CSS utility-first styling, responsive design, and theming. Use when styling with Tailwind, building UI with utility classes, configuring tailwind.config, or when the user mentions Tailwind.
npx skillsauth add jamesmoss/frontend-skills tailwindInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this skill when writing or refactoring styles with Tailwind CSS: components, pages, layout, responsive behavior, dark mode, or Tailwind config.
bg-primary, text-sm, rounded-lg) instead of arbitrary values unless the design explicitly requires a one-off value.sm:, md:, lg:, xl:, 2xl:) for breakpoint-specific styles. Mobile-first: base classes for smallest viewport, then override up.@apply only for repeated patterns (e.g. a shared button variant) and keep @apply lists short.flex, flex-col / flex-row, items-center, justify-between, gap-4, flex-1, flex-wrap.grid, grid-cols-2, grid-cols-3, gap-4, col-span-2, place-items-center.p-4, px-6, py-2, m-auto, space-x-4 / space-y-2 (for gaps between siblings).text-xs through text-5xl, text-base (default).font-normal, font-medium, font-semibold, font-bold.text-gray-900, text-white, text-inherit. Prefer semantic tokens if defined in theme.leading-tight, leading-normal, leading-relaxed.bg-white, bg-gray-100, bg-transparent.border, border-gray-200, rounded-md, rounded-full.opacity-50, bg-black/10 (arbitrary opacity).hover:bg-gray-100, focus:ring-2, focus:outline-none, focus-visible:ring-2.disabled:opacity-50, disabled:pointer-events-none.transition, transition-colors, duration-200.dark: prefix when dark mode is enabled (e.g. dark:bg-gray-800, dark:text-gray-200).w-[137px], top-[calc(100%-2rem)], bg-[#1a1a2e].tailwind.config with named tokens for repeated values.theme.extend (e.g. colors, spacing, fontFamily, borderRadius) so they’re available as utilities.content in tailwind.config includes all template/component paths so classes are generated.@tailwindcss/forms, @tailwindcss/typography) when needed; document any custom plugins.@apply chains; prefer utilities in markup or small, focused components.w-4 h-4 instead of style={{ width: 16, height: 16 }} when possible).// Card with responsive layout and hover
<div className="flex flex-col rounded-lg border border-gray-200 bg-white p-4 shadow-sm transition-shadow hover:shadow-md dark:border-gray-700 dark:bg-gray-800">
<h2 className="text-lg font-semibold text-gray-900 dark:text-white">Title</h2>
<p className="mt-2 text-sm text-gray-600 dark:text-gray-300">Description.</p>
<div className="mt-4 flex gap-2">
<button className="rounded-md bg-indigo-600 px-3 py-1.5 text-sm font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
Primary
</button>
<button className="rounded-md border border-gray-300 bg-white px-3 py-1.5 text-sm font-medium text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700">
Secondary
</button>
</div>
</div>
development
Implement Figma designs in code with accurate layout, spacing, typography, and tokens. Use when implementing designs from Figma, translating mockups to React/CSS, or when the user mentions Figma, design specs, or Dev Mode.
development
Build UIs with Chakra UI components, layout primitives, and theming. Use when using Chakra UI, ChakraProvider, Box, Flex, Stack, or when the user mentions Chakra.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------