design-system / template
CLAUDE.md4 starsChanged 51 days agoMITView on GitHub
A new product on @fracazo/design-system, written by ds-init from the package's template/: Next 16, Tailwind v4, the package, one blank brand file, the guardrails on. Rewrite the top of this file to describe the product and keep the rules below. When shaping, building, reviewing or writing copy for user-facing UI, load node_modules/@fracazo/design-system/skills/product-design/SKILL.md first It names the request mode, routes to the reference that applies and cites rules by stable ID. Skip it for backend-only work, telemetry, generated files and tests…
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- colorsSkill
- interfaceSkill
- layoutSkill
- product-designSkill
- typographySkill
- uiSkill
- writingSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
When shaping, building, reviewing or writing copy for user-facing UI, load …
- Distinctive: line 35
Never use em dashes, anywhere.
- Distinctive: line 38
Do not add dependencies without discussing first.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md
What this is
A new product on @fracazo/design-system, written by ds-init from the
package's template/: Next 16, Tailwind v4, the package, one blank brand
file, the guardrails on. Rewrite the top of this file to describe the
product and keep the rules below.
Read first
When shaping, building, reviewing or writing copy for user-facing UI, load
node_modules/@fracazo/design-system/skills/product-design/SKILL.md first
It
names the request mode, routes to the reference that applies and cites rules
by stable ID. Skip it for backend-only work, telemetry, generated files and
tests with no shipped UI.
node_modules/@fracazo/design-system/DESIGN.md is the written authority:
who the reader is, the priority order, how a page is composed, the reject
list. css/roles.css in the same package holds the roles and the brand
contract. The component intent lives in each component's source.
Rules
- The brand lives in
src/system/brands/*.cssand nowhere else. No colour literal, radius literal or clamp() size in aclassName; ESLint errors on them. A value the roles do not cover is a proposal for the design-system repo, not a local addition. - Components come from
@fracazo/design-system/ui/*. Never copy one into this repo to change it; change it upstream and bump the dependency. A component that must import app code is the exception and stays here. pnpm lintruns ESLint and the brand contract check and must pass before a merge.pnpm typecheckandpnpm buildtoo.- Never use em dashes, anywhere. Commas, colons, full stops instead.
- Feature branch, then fast-forward merge to
main; no PRs. Conventional Commits, present tense. - Do not add dependencies without discussing first.
Tooling notes
- pnpm 11:
pnpm-workspace.yamlapproves the native build scripts and excludes@fracazo/design-systemfrom the minimum-release-age gate, so a fresh release of the package installs the day it ships. - The site follows the system colour scheme; there is no manual toggle. The
inline script in
layout.tsxsets.darkbefore first paint andThemeSyncfollows live changes.
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.

