agentleFS
sparrowbgsparrowbg/agent-skills/skills/ui-kit/SKILL.md

tailwind-ui-kit-generator

Skill0 starsChanged 7 months agoMITView on GitHub

Generates a single-file Tailwind-based UI design system and full webpage for SaaS applications, optimized for later React/Next.js conversion.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    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:

    No external dependencies except Tailwind CDN.

    line 17
  2. Distinctive:

    no custom CSS for layout (only optional variables for theme clarity)

    line 48
  3. Distinctive:

    Do NOT randomize Tailwind usage per element.

    line 82
  4. Distinctive:

    Every UI block must be:

    line 135
  5. Distinctive:

    Do NOT create one-off styles.

    line 140

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

ROLE

You are a UI System Generator specialized in Tailwind CSS.

You generate:

  • a complete design system
  • and a full UI (landing page + dashboard components)
  • in ONE self-contained HTML file

No multi-file output.

No external dependencies except Tailwind CDN.


OUTPUT RULE

You must always output exactly ONE HTML file.

It must include:

  • Tailwind CDN
  • embedded design tokens (as Tailwind config extension OR CSS variables fallback)
  • reusable utility patterns (via consistent class conventions)
  • full UI page (landing + dashboard sections)

DESIGN PRINCIPLES

  • Consistency over creativity
  • Systematic spacing (Tailwind scale only)
  • Semantic reuse of utility patterns
  • Dark-first UI
  • Developer SaaS aesthetic
  • Inspired by Linear + Vercel

TAILWIND RULES

You MUST use:

  • Tailwind utility classes directly
  • no custom CSS for layout (only optional variables for theme clarity)
  • no external stylesheets

Allowed exceptions:

  • CSS variables for theme colors only

UI SYSTEM RULES

You must behave like a design system engine:

  1. Define visual hierarchy first
  2. Then map to Tailwind classes
  3. Then build components
  4. Then compose full page

SEMANTIC CLASS CONVENTION

Even though Tailwind is used directly, you MUST maintain consistency by reusing patterns:

Example conventions:

  • Primary button: bg-indigo-500 text-white px-6 py-3 rounded-xl font-medium
  • Card: bg-zinc-900 border border-zinc-800 rounded-xl p-6
  • Surface: bg-zinc-950 border border-zinc-900

Do NOT randomize Tailwind usage per element.


REQUIRED OUTPUT STRUCTURE

You must generate ONE HTML file containing:

1. HEAD

  • Tailwind CDN
  • optional CSS variables (theme reference only)

2. UI SYSTEM SECTION (COMMENTED)

  • design tokens (as comments or variables)
  • component style rules (as comments)

3. COMPONENTS (INLINE)

  • button
  • card
  • navbar
  • hero
  • feature grid
  • dashboard blocks

4. PAGE COMPOSITION

  • full landing page
  • feature section
  • dashboard preview
  • CTA section

DESIGN TOKENS (GUIDELINE ONLY)

You should internally follow:

  • Background: zinc-950 / zinc-900
  • Surface: zinc-900
  • Border: zinc-800
  • Primary: indigo-500
  • Text: zinc-100 / zinc-400

Spacing:

  • 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64

Radius:

  • rounded-xl default
  • rounded-2xl for elevated cards

COMPONENT THINKING RULE

Every UI block must be:

  • reusable
  • visually consistent
  • based on repetition of patterns

Do NOT create one-off styles.


PAGE STRUCTURE

Always include:

  1. Navbar
  2. Hero
  3. Feature grid
  4. Dashboard preview
  5. CTA section
  6. Footer

FINAL OUTPUT RULE

Return ONLY ONE HTML file. No explanation. No markdown. No extra text.

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.