agentleFS
kriscardkriscard/Skills/skills/dev/tailwind/SKILL.md

tailwind

Skill15 starsChanged 15 days agoMITView on GitHub

Tailwind CSS implementation, review, and debugging for component patterns, responsive composition, runtime values, themes, source visibility, custom CSS, builds, and compatibility. Use when work depends on Tailwind utilities, variants, directives, generated CSS, or integration behavior. Examples target Tailwind v4; inspect installed capabilities before version-sensitive syntax and preserve existing v3 or mixed projects unless migration is requested. Route product design policy, semantic token naming, responsive behavior, and accessibility decisions to frontend.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use waapi, 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.
  • anton-abyzovSkill

    waapi

    Web Animations API adapter patterns for HyperFrames. Use when authoring element.animate() motion, Animation currentTime seeking, document.getAnimations(), KeyframeEffect timing, fill modes, or native browser animations that must render deterministically in HyperFrames.

    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 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 5 projects that use this

  • 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 3 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 3 projects that use this

  • OpenAISkill

    gsap

    GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), position parameter, labels, nesting, playback), and performance (transforms, will-change, quickTo). Use when writing GSAP animations in HyperFrames compositions.

    Also in 7 projects that use this

  • +2 more from anton-abyzov

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Theme and source: keep runtime role aliases, shared theme imports, and class-bearing source visibility as separate concerns.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 22 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 CSS

Implement an existing visual and interaction contract with complete, inspectable utilities. Prefer reusable decisions over utility catalogs. Tailwind owns syntax, generated CSS, source detection, and build mechanics; frontend owns product behavior and design policy, while react owns component APIs, composition, and state.

Workflow

1. Read the styling boundary

Inspect the manifest and lockfile, active stylesheet, build integration, nearby components, token sources, class-composition helpers, and source registration. Tailwind v4 is the default for new examples. Check the installed version or capability when it changes syntax, browser support, integration packages, or merge behavior; do not silently upgrade an existing project.

Complete when: the active CSS entry, build owner, Tailwind capability, token source, and component conventions are known.

2. Choose explicit contracts

Apply the checks that match the task:

  1. Finite choices: map supported values to complete literal utilities; add compound choices only for real interacting axes.
  2. Styling ownership: choose mutually exclusive classes first. Treat caller overrides as an explicit API; joining strings and resolving conflicts are different operations.
  3. Real state: style native or primitive-provided ARIA/data state without inventing duplicate state solely for CSS.
  4. Runtime values: validate data, then use a direct style or a static utility backed by a CSS custom property.
  5. Composition: let features own placement and wrapping; let primitives own their appearance and behavior contract; coordinate multi-part styles only where parts vary together.
  6. Theme and source: keep runtime role aliases, shared theme imports, and class-bearing source visibility as separate concerns.

Load frontend when token meaning, hierarchy, responsive thresholds, RTL, theme activation, accessibility, or interaction behavior must be chosen. Load react when component props, slots, state ownership, or extraction changes.

Complete when: each class, state, override, runtime value, and source path has a named owner and observable failure condition.

3. Load only the matching reference

PriorityLoad whenReference
1 — HighFinite or compound variants, component styling ownership, caller overrides, native/primitive state, or coordinated component partsreferences/component-patterns.md
1 — HighContainer-responsive composition, long-content handling, runtime measurements, CSS custom properties, or direct-style alternativesreferences/responsive-and-runtime.md
1 — HighTheme variables, runtime aliases, dark-theme selectors, shared theme CSS, external package source visibility, or safelistingreferences/theme-and-sources.md
2 — HighArbitrary values/variants, custom utilities, component CSS, @apply, CSS modules, animation, or motionreferences/utilities-components-and-animation.md
2 — HighBuild integration, production output, missing utilities, stale CSS, monorepos, or generated-CSS diagnosisreferences/build-and-debug.md
2 — ConditionalExisting v3 or mixed projects, migrations, changed defaults, legacy config/plugins, or browser compatibilityreferences/compatibility-and-migration.md

4. Implement and prove the outcome

Make the smallest change that follows the installed stack. Run the owning build and inspect generated CSS for expected selectors/declarations and negative controls. For component examples, typecheck public props and test finite/runtime decisions through their public surface. When authoring tests, load test and follow the repository's existing runner and setup rather than duplicating test-framework rules here.

Generated CSS proves compilation, not layout, keyboard behavior, contrast, focus management, assistive-technology behavior, or first-paint theming. Verify those through the owning frontend workflow when they are part of the task.

Complete when: the requested behavior is generated and loaded, failure controls behave as expected, repository checks pass, and unexecuted browser behavior is explicit.

Completion gate

  • v4 examples are used by default; installed-contract differences are stated only when they affect correctness;
  • class choices are complete tokens and runtime data does not construct utilities;
  • override behavior is honest about what same-element className or style can change;
  • container/source/theme owners and stylesheet-relative paths are explicit;
  • state styling preserves native or primitive semantics;
  • optional libraries, color spaces, sorting, and abstraction layers remain conditional;
  • sources support version-sensitive claims and checks distinguish generated CSS from real browser behavior.

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.