agentleFS
staurus86staurus86/global-design-skill/CLAUDE.md

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

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
  1. Very specific:

    Use global-design-skill when the task involves:

    line 7
  2. Distinctive:

    Do not use for pure backend, SQL, server config, data analysis — unless UI/UX output is requested.

    line 13
  3. Very specific:

    Always clear all 8 quality gates before declaring handoff-ready (skills/global-design/quality-gates.md)

    line 42
  4. Very specific:

    Never: write to stdout in mcp-server/ — use logging to stderr

    line 49
  5. Very specific:

    Run python scripts/validate-industries.py after editing industries/*.md

    line 51
  6. Distinctive:

    All files must use LF line endings

    line 53
  7. Very specific:

    Add to .mcp.json at the project root (Claude Code does not read .claude/mcp.json):

    line 63

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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

TaskResource
CSS framework detection (run first)rules/18-css-framework-selection.md
Interpret user request depth firstrules/00-escalation-protocol.md
Landing page from scratchblueprints/landing-page-from-scratch.md
Existing page redesignblueprints/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 auditchecklists/global-design-review.md
Developer handofftemplates/specs/frontend-tz.md
Accessibility reviewagents/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 / SplitTextreferences/gsap-patterns.md
Motion feels flat, robotic, or "generic AI"rules/05-animation.md → Motion Personality + Troubleshooting
Ready-made React componentsintegrations/21st-dev/guide.md
HTML design → MP4 video (product demo, social, changelog)integrations/hyperframes/guide.md
Industry-specific rulesGlobalDesignSkill:get_sector_context_tool (MCP tool)
Unknown nicheGlobalDesignSkill: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 :root and 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/ — use logging to stderr
  • Always import sedi.local_store as _local_store (not from sedi.local_store import STORE_ROOT)
  • Run python scripts/validate-industries.py after editing industries/*.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.py

Add 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"]
    }
  }
}

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.