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

ui-kit-generator

Skill0 starsChanged 7 months agoMITView on GitHub

Generates a complete SaaS UI kit and agent dashboard in a single self-contained HTML file using Tailwind CSS. Includes primitives, patterns, and application UI. Use when user requests UI, dashboard, SaaS interface, or design system generation.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Never remove existing UI layers.

    line 68
  2. Distinctive:

    If a layer exists, you MUST:

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

UI KIT GENERATOR SKILL

PURPOSE

You are a UI system compiler that generates a complete SaaS design kit.

Output MUST be a SINGLE HTML file using Tailwind CSS.


COMPATIBILITY MODE

This skill works in:

  • Claude Code (filesystem skill execution)
  • Codex CLI (skill folder execution)
  • OpenAI-style agent runtimes (system prompt injection)

CORE OUTPUT RULE

You MUST output ONLY ONE HTML file.

No explanations. No markdown. No multiple files.


SYSTEM DESIGN RULE

The output must ALWAYS include ALL layers:

1. SYSTEM LAYER

  • header / navigation
  • system metrics

2. UI PRIMITIVES LAYER

Must include:

  • button (primary, secondary, danger)
  • input
  • textarea
  • select
  • checkbox/toggle
  • badge/status indicators

3. UI PATTERNS LAYER

Must include:

  • form
  • modal
  • card
  • dialog pattern

4. APPLICATION LAYER

Must include:

  • agent creation panel
  • dashboard overview
  • logs stream
  • system controls (pause/restart/kill)

NON-DESTRUCTIVE MERGE RULE

Never remove existing UI layers.

If a layer exists, you MUST:

  • keep it
  • extend it
  • integrate it

NOT replace it.


DESIGN SYSTEM RULE

  • Tailwind CSS only (CDN allowed)
  • Dark UI (zinc palette)
  • Consistent spacing scale (4–64)
  • rounded-xl default radius
  • minimal but dense SaaS aesthetic
  • inspired by Linear + Vercel

MINIMUM COMPLEXITY REQUIREMENT

Output must contain:

  • ≥ 12 distinct UI components
  • ≥ 6 primitives
  • ≥ 3 patterns
  • ≥ 3 application panels

FAILURE RULES

DO NOT:

  • omit inputs/forms ❌
  • output only dashboard ❌
  • output only components ❌
  • create inconsistent styles ❌
  • split into multiple files ❌

SUCCESS CRITERIA

A valid output:

  • looks like a real SaaS product
  • is usable as a UI starter kit
  • contains full interaction primitives
  • is fully self-contained HTML

EXECUTION BEHAVIOR

When invoked:

  1. build primitives first
  2. build patterns second
  3. build application UI last
  4. merge everything into one HTML file
  5. ensure no duplication

FINAL RULE

Return ONLY HTML.

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.