global-design-skill
CLAUDE.md3 starsChanged 6 months agoMITView on GitHub
Instructions for Claude Code when working in this repository. Use global-design-skill when the task involves: - designing, redesigning, improving, or auditing UI/UX - frontend handoff specs, component specs, landing pages, SaaS UI, dashboards, admin panels - design quality review, visual hierarchy, typography, color, motion, accessibility, conversion, responsive behavior - generating sector-specific design rules (use MCP get_sector_context) Do not use for pure backend, SQL, server config, data analysis — unless UI/UX output is requested. Add to .mcp.json at the project root…
- Installs packages
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- global-designSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Use global-design-skill when the task involves:
- Distinctive: line 13
Do not use for pure backend, SQL, server config, data analysis — unless UI/UX output is requested.
- Very specific: line 42
Always clear all 8 quality gates before declaring handoff-ready (skills/global-design/quality-gates.md)
- Very specific: line 49
Never: write to stdout in mcp-server/ — use logging to stderr
- Very specific: line 51
Run python scripts/validate-industries.py after editing industries/*.md
- Distinctive: line 53
All files must use LF line endings
- Very specific: line 63
Add to .mcp.json at the project root (Claude Code does not read .claude/mcp.json):
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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 — Global Design Skill
Instructions for Claude Code when working in this repository.
What to use this skill for
Use global-design-skill when the task involves:
- designing, redesigning, improving, or auditing UI/UX
- frontend handoff specs, component specs, landing pages, SaaS UI, dashboards, admin panels
- design quality review, visual hierarchy, typography, color, motion, accessibility, conversion, responsive behavior
- generating sector-specific design rules (use MCP
get_sector_context)
Do not use for pure backend, SQL, server config, data analysis — unless UI/UX output is requested.
Task routing
| Task | Resource |
| CSS framework detection (run first) | rules/18-css-framework-selection.md |
| Interpret user request depth first | rules/00-escalation-protocol.md |
| Landing page from scratch | blueprints/landing-page-from-scratch.md |
| Existing page redesign | blueprints/redesign-existing-page.md |
| E-commerce store (PLP / PDP / cart / checkout) | blueprints/ecommerce-from-scratch.md |
| Site in one prompt / "just build it" (no dialogue) | rules/21-one-shot-build.md |
| "Make it like this" reference → design system (image / site / Figma) | recipes/extract-design-from-reference.md + templates/specs/design-system-master.md |
| Full UI audit | checklists/global-design-review.md |
| Developer handoff | templates/specs/frontend-tz.md |
| Accessibility review | agents/accessibility-auditor.md + rules/07-accessibility.md |
| Contrast audit / fix (text, blocks, sections, dark mode) | rules/19-contrast-standards.md |
| Verify rendered result / done-before-deploy / "passes in source but breaks live" | rules/20-rendered-verification.md + references/live-audit-snippets.md |
| Anti-slop audit / "looks AI-generated" | references/anti-slop-system.md |
| Animation (scroll, transitions, stagger) | rules/17-motion-react.md |
| Timeline / pin / scrub / horizontal scroll / SplitText | references/gsap-patterns.md |
| Motion feels flat, robotic, or "generic AI" | rules/05-animation.md → Motion Personality + Troubleshooting |
| Ready-made React components | integrations/21st-dev/guide.md |
| HTML design → MP4 video (product demo, social, changelog) | integrations/hyperframes/guide.md |
| Industry-specific rules | GlobalDesignSkill:get_sector_context_tool (MCP tool) |
| Unknown niche | GlobalDesignSkill:learn_from_reference_tool (MCP tool) |
Key constraints
- Always clear all 8 quality gates before declaring handoff-ready (
skills/global-design/quality-gates.md) - Colour system must have one canonical
:rootand semantic tokens; OKLCH is the default notation, consistency is the requirement - Banned patterns list:
checklists/global-design-review.md→ "Banned Patterns" - Design for 390px / 768px / 1280px breakpoints minimum
Development rules (when editing this repo)
- Never write to stdout in
mcp-server/— useloggingto stderr - Always
import sedi.local_store as _local_store(notfrom sedi.local_store import STORE_ROOT) - Run
python scripts/validate-industries.pyafter editingindustries/*.md - Run tests:
cd mcp-server && python -m pytest tests/ -q - All files must use LF line endings
MCP server setup
cd mcp-server
pip install -e ".[test]"
python server.pyAdd to .mcp.json at the project root (Claude Code does not read .claude/mcp.json):
{
"mcpServers": {
"GlobalDesignSkill": {
"command": "python",
"args": ["/path/to/global-design-skill/mcp-server/server.py"]
}
}
}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.

