design-system-persist
Skill10 starsChanged 27 days agoMITView on GitHub
Save a generated design system to disk as a hierarchical Master + per-page-overrides structure so future sessions can retrieve it for the project. Trigger when the user says "save the design system", "persist this", "make this the master for the project", "remember these design choices", or wants the design system to survive across sessions.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- blast-promptSkill
- client-outreachSkill
- content-draftSkill
- copywritingSkill
- csv-to-reportSkill
- design-accessibilitySkill
- design-buildSkill
- design-croSkill
- design-dimensionsSkill
- design-motionSkill
- design-researchSkill
- design-system-genSkill
- design-tokens-emitSkill
- design-visual-qaSkill
- html-extractSkill
- parallel-buildSkill
- portable-html-portSkill
- qa-gateSkill
- route-codex-reviewSkill
- route-gemini-contextSkill
- route-three-brainSkill
- seo-auditSkill
- seo-backlinksSkill
- seo-clusterSkill
- seo-competitor-pagesSkill
- seo-content-briefSkill
- seo-contentSkill
- seo-dataforseoSkill
- seo-driftSkill
- seo-ecommerceSkill
- seo-firecrawlSkill
- seo-geoSkill
- seo-googleSkill
- seo-hreflangSkill
- seo-image-auditSkill
- seo-image-genSkill
- seo-local-unifiedSkill
- seo-pageSkill
- seo-programmaticSkill
- seo-schemaSkill
- seo-sitemapSkill
- seo-strategySkill
- seo-sxoSkill
- seo-technicalSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Get the design system: Use a design-system-gen result (JSON or ASCII) or the spec the user pasted.
- Very specific: line 52
Read design-system/MASTER.md.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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
design-system-persist
Family: design Status: Stable
Purpose
Save a design system into a project's design-system/ folder so it survives across
sessions and is shared across skills. Uses a Master + Overrides pattern:
design-system/MASTER.md— the global system (every page inherits it by default)design-system/pages/<page-name>.md— per-page overrides (clean deviations)
Future sessions check pages/<current-page>.md first; if present, its rules
override Master, else Master applies. A 12-page site gets one Master + small page
files instead of one bloated spec enumerating every exception inline.
Triggers
- "save the design system" / "persist this"
- "make this the master"
- "remember these design choices"
- "design system to disk"
Inputs
- A design system spec (from
design-system-gen, or pasted by the user) - Project root path
- Page name (optional — for a per-page override)
Steps
- Get the design system. Use a
design-system-genresult (JSON or ASCII) or the spec the user pasted. - Locate/create
design-system/at the project root (andpages/if saving an override). - Fill the starter template
templates/design-system-starter.md: map the palette hex + contrast, typography + weights, pattern, style, effects, anti-patterns, and the pre-delivery checklist into its slots. - Write the file:
- Master →
design-system/MASTER.md - Page override →
design-system/pages/<name>.mdwith explicit deviation + reason notes (keep deviations minimal).
- Master →
- Write/refresh
design-system/README.mdexplaining the structure to future agents. - Emit a retrieval prompt for the next session, e.g.: "I'm building [page]. Read design-system/MASTER.md; also check design-system/pages/[name].md — page rules override Master."
Outputs
design-system/MASTER.md(and/orpages/<name>.md)design-system/README.md- A paste-ready context-retrieval prompt for the next session
Dependencies
templates/design-system-starter.md(required)design-system-gen(typical upstream)
Notes
The Master + Overrides shape scales cleanly and keeps the global system as the
single source of truth. Files are written to the user's project workspace, never
into the plugin (see references/ENGINE-CONTRACTS.md §10).
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.

