agentleFS
danwykesdevdanwykesdev/skills/design-system/SKILL.md

saas-design-system

Skill0 starsChanged 6 months agoMITView on GitHub

Create a native product visual language and design system after /start. Use after the product model, stack, users, flows, architecture, and MVP scope exist. Do not use external design generators. Do not implement production features.

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    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:

    Create a product-specific visual language and reusable design system from the Product OS foundation.

    line 10
  2. Distinctive:

    Before creating the design system, read:

    line 16
  3. Distinctive:

    Ask the user whether they have design inspiration or constraints.

    line 32
  4. Distinctive:

    If the user provides a long inspiration dump, extract it into structured design decisions instead of copying it blindly.

    line 58
  5. Distinctive:

    do's and don'ts

    line 81
  6. Distinctive:

    Create a global component inventory for the product, including:

    line 85
  7. Distinctive:

    Do not create backend code.

    line 124
  8. Distinctive:

    Do not create database code.

    line 125
  9. Distinctive:

    Do not create auth code.

    line 126
  10. Distinctive:

    Do not create tenant logic.

    line 127
  11. Distinctive:

    Do not create production routes unless explicitly requested.

    line 128
  12. Distinctive:

    Do not create a mock app.

    line 129
  13. Distinctive:

    Do not wire example screens into production navigation.

    line 130
  14. Distinctive:

    Do not use Tailwind or Bootstrap unless the user explicitly approves.

    line 131
  15. Distinctive:

    Prefer BEM-style global CSS and reusable classes.

    line 132

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

SaaS Design System Skill

Purpose

Create a product-specific visual language and reusable design system from the Product OS foundation.

This skill runs after $saas-start has produced or updated the platform foundation. It should create a coherent design direction before feature implementation begins.

Required inputs

Before creating the design system, read:

  1. platform/product-identity.md
  2. platform/users-and-roles.md
  3. platform/domain-model.md
  4. platform/feature-map.md
  5. platform/mvp-scope.md
  6. platform/stack-recommendation.md
  7. layers/conceptual-model.md
  8. layers/interaction-flow.md
  9. layers/surface.md
  10. quality/accessibility.md
  11. AGENTS.md

Ask before generating

Ask the user whether they have design inspiration or constraints.

Use this prompt:

Do you have a design inspiration, brand direction, or design tokens in mind?

You can provide any of the following:
- product/site inspiration, for example Linear, Stripe, Vercel, Attio, Raycast, Notion, etc.
- colours
- typography
- spacing
- rounded corners
- component examples
- screenshots or written descriptions
- do's and don'ts
- accessibility requirements
- no inspiration; recommend a direction from the product shape

Also confirm where design assets should be created:
- CSS/tokens path, default `src/styles/`
- component path, default `src/components/ui/`
- design reference path, default `design/`
- whether example screens are allowed under `src/pages/_design/`

If the user provides a long inspiration dump, extract it into structured design decisions instead of copying it blindly.

Scope

The design system should cover the whole platform, not just the next feature.

It should define:

  • visual direction
  • design principles
  • colour tokens
  • typography tokens
  • spacing tokens
  • radius tokens
  • elevation/depth rules
  • layout system
  • shape language
  • icon rules
  • motion rules
  • component inventory
  • screen inventory
  • interaction patterns
  • accessibility rules
  • do's and don'ts

Component coverage

Create a global component inventory for the product, including:

  • app shell
  • sidebar/navigation
  • top bar
  • workspace/client switcher
  • page header
  • cards
  • tables
  • forms
  • inputs
  • selects
  • file upload
  • buttons
  • badges/status pills
  • tabs
  • modals/dialogs
  • drawers
  • empty states
  • loading states
  • error states
  • permission states
  • preview panels
  • template cards
  • generation/job status components
  • settings panels
  • admin panels

For each component, define:

  • purpose
  • variants
  • key states
  • accessibility requirements
  • CSS class naming pattern
  • whether it is static Astro or React island

Rules

  • Do not create backend code.
  • Do not create database code.
  • Do not create auth code.
  • Do not create tenant logic.
  • Do not create production routes unless explicitly requested.
  • Do not create a mock app.
  • Do not wire example screens into production navigation.
  • Do not use Tailwind or Bootstrap unless the user explicitly approves.
  • Prefer BEM-style global CSS and reusable classes.
  • React is only for interactive islands.
  • Astro is the default for pages and static structure.

Output files

Create or update:

design/visual-language.md
design/design-principles.md
design/design-tokens.md
design/component-inventory.md
design/screen-inventory.md
design/interaction-patterns.md
design/accessibility-rules.md
design/css-architecture.md
design/component-build-plan.md

Optionally create examples only if the user allows:

src/pages/_design/
src/components/design-reference/
src/styles/design-reference.css

These must be clearly marked as design-only and must not be imported by production routes.

Final response

End with:

  1. summary of design files created/updated
  2. chosen design direction
  3. component coverage summary
  4. confirmed CSS/component paths
  5. next recommended action

Recommended next action:

Use the $saas-feature skill for the first MVP feature, then build that feature using the design system.

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.