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.
In this repository25 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- braindump-autoSkill
- braindumpSkill
- Capability Claim GroundingSkill
- Derived Figure AuditSkill
- design-review-loopSkill
- Dictation Garble CatcherSkill
- Discord Todo OpsSkill
- Full Account Security AuditSkill
- Large Task Session SplitSkill
- Personal Dashboard StyleSkill
- Pre-Push Secret ScanSkill
- Public Repo Leak RetractionSkill
- repo-hygieneSkill
- Repo Index Drift CheckSkill
- Safe Section DeletionSkill
- Session HandoffSkill
- Skill Overlap AuditSkill
- superbraindumpSkill
- ui-change-visual-verifySkill
- Verify, Don't TrustSkill
- Windows Process Restart (Safe)Skill
- Windows Shell Tool SelectionSkill
- Worktree Task-Pack VerificationSkill
- Zombie Process SweepSkill
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
- Distinctive: line 20
Voice/tone: if the project has established copy conventions.
- Distinctive: line 24
On first design request for a project with no spec file: read the existing implementation (CSS, theme config, recently-touched components) …
- Distinctive: line 26
On every subsequent design request for that project: read the spec first, follow it by default.
≈ “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.
Files
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
- 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.
- Write the spec file, organized by category above.
- 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.
- 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.
- 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.
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
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.

