agentleFS
DobroslavRadosavljevicDobroslavRadosavljevic/cabrakan/.agents/skills/tailwind/SKILL.md

tailwind

Skill1 starsChanged 3 months agoMITView on GitHub

Build, review, debug, configure, or migrate Tailwind CSS projects using current Tailwind documentation. Use for Tailwind CSS v4 utilities, CSS-first configuration, theme variables, Vite/PostCSS/CLI setup, source detection, variants, responsive design, dark mode, Preflight, custom utilities, @apply/@reference, Prettier class sorting, and v3-to-v4 upgrades.

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use contribute-catalog, three and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • FldicoahkiinSkill

    contribute-catalog

    Author a new HyperFrames registry block (caption style, VFX block, transition, lower third) or component (text effect, overlay, snippet) and ship it as an upstream PR to the hyperframes repo. Use ONLY when the user wants to CONTRIBUTE to the public catalog — for in-project caption/transition authoring use the `hyperframes` skill, for installing existing registry items use the `hyperframes-registry` skill.

    Also in 5 projects that use this

  • anton-abyzovSkill

    three

    Three.js and WebGL adapter patterns for HyperFrames. Use when creating deterministic Three.js scenes, WebGL canvas layers, AnimationMixer timelines, camera motion, shader-driven visuals, or canvas renders that respond to HyperFrames hf-seek events.

    Also in 8 projects that use this

  • software-mansion-labsSkill

    typegpu

    TypeGPU is type-safe WebGPU in TypeScript. Use whenever the user writes, debugs, or designs TypeGPU code: 'use gpu' shader functions, tgpu.fn, buffers, textures, bind groups, compute and render pipelines, command encoders, render passes, render bundles, vertex layouts, slots, accessors, @typegpu/react hooks (useRoot, useFrame, useUniform), React Native worklet rendering, and any TypeGPU API. Shader logic and CPU-side resources are tightly coupled - handle both sides here even if the user only mentions one (e.g. "how do I write a shader", "how do I create a buffer"). Trigger on any mention of typegpu, tgpu, "use gpu", TypedGPU, or WebGPU code written using TypeGPU's schema API (d.*, tgpu.*, std.*). Do NOT trigger for raw WebGPU (using GPUDevice/GPURenderPipeline directly without tgpu), WGSL-only questions, Three.js, Babylon.js, or WebGL.

    Also in 5 projects that use this

  • soilmassSkill

    lottie

    Lottie animation format specification and usage. Use when exporting animations as Lottie JSON, working with dotLottie packages, or understanding Lottie capabilities and limitations. References LAC Lottie Spec v1.0 and dotLottie v2.0.

    Also in 8 projects that use this

  • anton-abyzovSkill

    css-animations

    CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

    Also in 7 projects that use this

  • freshtechbroSkill

    animejs

    Versatile JavaScript animation engine for DOM, CSS, SVG, and JavaScript objects. Use when creating timeline-based animations, stagger effects, SVG morphing, keyframe sequences, or complex choreographed animations. Triggers on tasks involving Anime.js, timeline animations, staggered sequences, SVG path animations, morphing, or multi-step animation choreography. Alternative to GSAP for SVG-heavy animations and React-independent projects.

    Also in 8 projects that use this

  • +2 more from anton-abyzov

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 14 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to make Tailwind CSS decisions from current docs plus the local project's actual Tailwind version, integration path, and …

    line 8
  2. Distinctive:

    Read the nearest project guidance and package manifests.

    line 13
  3. Very specific:

    Check installed versions of tailwindcss, @tailwindcss/vite, @tailwindcss/postcss, @tailwindcss/cli, prettier-plugin-tailwindcss, and …

    line 14
  4. Distinctive:

    Use source-map.md for the captured latest-version snapshot and official source links.

    line 17
  5. Distinctive:

    Prefer the project's current Tailwind major version and integration package.

    line 23
  6. Distinctive:

    Use complete, statically detectable class names.

    line 24
  7. Distinctive:

    Prefer design-token utilities and theme variables over one-off arbitrary values.

    line 25
  8. Distinctive:

    Add custom CSS only when utilities, theme variables, variants, or component composition are not the right fit.

    line 26
  9. Distinctive:

    Do not migrate a v3 project to v4 unless the user asks or the task requires it.

    line 27
  10. Distinctive:

    Verify the smallest meaningful surface:

    line 28
  11. Distinctive:

    Run the relevant style build, framework build, typecheck, lint, tests, Storybook, or browser check.

    line 29
  12. Very specific:

    Treat Tailwind v4 as CSS-first: @import "tailwindcss";, theme variables in CSS, and dedicated Vite/PostCSS/CLI integration packages.

    line 35
  13. Very specific:

    Use @source for monorepos, ignored external packages, multiple stylesheets, safelisting, and source exclusions.

    line 36
  14. Distinctive:

    Keep responsive styles mobile-first: unprefixed utilities target all sizes, breakpoint prefixes apply at that breakpoint and above.

    line 37
  15. Very specific:

    Keep dark mode explicit: use default prefers-color-scheme behavior or define a project selector with @custom-variant dark.

    line 38
  16. Distinctive:

    Treat Preflight as active when Tailwind is imported.

    line 39
  17. Distinctive:

    Prefer official framework guides when a framework owns the CSS pipeline.

    line 40
  18. Distinctive:

    If the project must support Safari below 16.4, Chrome below 111, or Firefox below 128, do not choose Tailwind v4 without an explicit …

    line 41

“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tailwind

Use this skill to make Tailwind CSS decisions from current docs plus the local project's actual Tailwind version, integration path, and design conventions.

Workflow

  1. Identify the Tailwind surface:
    • Read the nearest project guidance and package manifests.
    • Check installed versions of tailwindcss, @tailwindcss/vite, @tailwindcss/postcss, @tailwindcss/cli, prettier-plugin-tailwindcss, and framework packages.
    • Inspect CSS entry files, vite.config.*, PostCSS config, framework config, tailwind.config.*, and class composition helpers.
  2. Refresh docs when the user asks for latest/current behavior, when versions differ from the captured snapshot, or when touching v4 migration/configuration:
    • Use source-map.md for the captured latest-version snapshot and official source links.
  3. Load the focused reference file:
    • setup-and-migration.md: installation paths, package split, v3-to-v4 upgrade, browser support, and migration hazards.
    • core-utilities.md: utility-class composition, source detection, responsive design, dark mode, variants, arbitrary values, Preflight, and accessibility.
    • css-directives-and-theme.md: @theme, @source, @utility, @variant, @custom-variant, @apply, @reference, @config, @plugin, and Tailwind CSS functions.
  4. Implement in the existing project style:
    • Prefer the project's current Tailwind major version and integration package.
    • Use complete, statically detectable class names. Map props or states to full class strings instead of interpolating fragments.
    • Prefer design-token utilities and theme variables over one-off arbitrary values.
    • Add custom CSS only when utilities, theme variables, variants, or component composition are not the right fit.
    • Do not migrate a v3 project to v4 unless the user asks or the task requires it.
  5. Verify the smallest meaningful surface:
    • Run the relevant style build, framework build, typecheck, lint, tests, Storybook, or browser check.
    • For visible UI changes, inspect the actual rendered state when feasible.
    • Report any verification you could not run.

Tailwind Judgment

  • Treat Tailwind v4 as CSS-first: @import "tailwindcss";, theme variables in CSS, and dedicated Vite/PostCSS/CLI integration packages.
  • Use @source for monorepos, ignored external packages, multiple stylesheets, safelisting, and source exclusions.
  • Keep responsive styles mobile-first: unprefixed utilities target all sizes, breakpoint prefixes apply at that breakpoint and above.
  • Keep dark mode explicit: use default prefers-color-scheme behavior or define a project selector with @custom-variant dark.
  • Treat Preflight as active when Tailwind is imported. Account for reset margins, unstyled headings/lists, border reset, block images, responsive media, and hidden attributes.
  • Prefer official framework guides when a framework owns the CSS pipeline.
  • If the project must support Safari below 16.4, Chrome below 111, or Firefox below 128, do not choose Tailwind v4 without an explicit compatibility decision.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.