agentleFS
SamuelNDCESamuelNDCE/ai-workbench/skills/project-design-doc/SKILL.md

Project Design Doc

Skill1 starsChanged 4 months agoMITView on GitHub

Maintain a persistent per-project design spec (colors, typography, motion/timing conventions, layout grid, voice) and follow it automatically on every future design-related request for that project instead of re-deriving or re-asking each time. Use whenever a design request references a specific existing project, and whenever a design decision is made that should become a standing convention.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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:

    Voice/tone: if the project has established copy conventions.

    line 20
  2. Distinctive:

    On first design request for a project with no spec file: read the existing implementation (CSS, theme config, recently-touched components) …

    line 24
  3. Distinctive:

    On every subsequent design request for that project: read the spec first, follow it by default.

    line 26

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

Project Design Doc

Design conventions for a project already exist. They're just scattered across past commits and your memory of them, re-derived or re-asked about every time instead of looked up. This writes them down once.

Where it lives

One file per project, e.g. docs/design-spec.md at the project root. If it doesn't exist yet and a design request comes in for that project, create it from what's actually already in the codebase (colors in CSS variables/theme files, existing animation timing values, layout patterns already in use) rather than inventing new conventions. The spec should describe what the project already does, not impose something new unasked.

What it captures

  • Color palette: exact values (hex/CSS vars), with names matching how they're referenced in code, and light/dark variants if both exist.
  • Typography: font families, scale, weight conventions.
  • Motion/timing conventions: the specific pattern already established (e.g. a staggered entrance sequence with a base gap and per-element deltas, a shared CSS keyframe/class used across pages, standard easing curves). Record actual delay values from working examples, not approximations.
  • Layout conventions: grid system, spacing scale, component patterns already in use (e.g. "cards default to a compact single row, expand-on-click reveals detail").
  • Voice/tone: if the project has established copy conventions.

Procedure

  1. On first design request for a project with no spec file: read the existing implementation (CSS, theme config, recently-touched components) to extract real, already-in-use conventions. Don't guess. Cite the actual file/line the convention came from.
  2. Write the spec file, organized by category above.
  3. On every subsequent design request for that project: read the spec first, follow it by default. Don't silently re-derive from scratch or introduce an inconsistent new pattern.
  4. When the user changes a convention ("make it feel less like a corkboard," "shorten the delay between these two"): apply the change, then update the spec file to reflect the new standing convention. Don't let the spec go stale while the codebase moves on.
  5. When a request is ambiguous against the spec (asks for something the spec doesn't cover, or seems to conflict with it), surface the conflict rather than silently picking a side.

What this is not

Not a rigid design system enforcement tool. It's a memory aid so established conventions get reused instead of re-litigated. If the user explicitly wants to break from the documented pattern for a specific request, that's a normal one-off override, not a spec violation to push back on.

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.