agentleFS
sarmakskasarmakska/slipstream/skills/frontend/frontend-design-system/SKILL.md

frontend-design-system

Skill2 starsChanged 6 months agoMITView on GitHub

Use when a site needs to look designed rather than defaulted, before building sections: establish a cohesive design system of type scale, spacing, colour, radius and shadow tokens so every component shares one premium visual language.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use verification.

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.
  • OpenAISkill

    verification

    Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.

    Also in 3 projects that use this

The file

Files
SKILL.md

Overview

The difference between a site that looks default and one that looks made in a design tool is consistency: one type scale, one spacing rhythm, one restrained palette, applied everywhere. This skill sets that foundation in the Tailwind theme so every later section inherits it, which is what gives the polished, deliberate feel.

Steps

  1. Extend the Tailwind theme rather than overriding it. In tailwind.config.js, set a modular type scale (for example a 1.25 ratio from a 16px base) and a spacing rhythm on a consistent step.
  2. Pick a restrained palette: one accent, a neutral ramp of five to seven greys, and clearly defined foreground and background tokens. Avoid more than one accent hue.
  3. Choose a font pairing: a confident display face for headings and a clean, legible face for body, loaded with font-display: swap. Map them to fontFamily.display and fontFamily.sans.
  4. Define radius and shadow scales (for example rounded-xl defaults and a soft layered shadow token) so cards and buttons share one physical language.
  5. Set base styles on body: the background token, the body font, antialiasing and a comfortable line height, so unstyled text already looks intentional.

Verify

Build the app and confirm it compiles with the extended theme, then grep the emitted CSS for one of the custom tokens (a custom colour or the display font) to confirm the theme is wired in rather than ignored.

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.