designskills
CLAUDE.md17 starsChanged 8 months agoMITView on GitHub
A collection of AI agent skills for graphic design and UI design. Skills are Markdown files with YAML frontmatter that encode expert design knowledge, enabling Claude Code to produce professional-grade visual output. Modeled after the marketingskills pattern. Run the first three before every commit (CI runs them too). When changing a skill's description, run the routing eval; when changing a skill's instructions, run its task eval if one exists. Each SKILL.md requires: - YAML frontmatter with name (must match directory…
- Reads credentials
- Installs packages
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-creative-designSkill
- banner-designSkill
- brand-identitySkill
- card-designSkill
- color-paletteSkill
- dark-modeSkill
- dashboard-designSkill
- design-contextSkill
- design-critiqueSkill
- design-systemSkill
- email-designSkill
- graphic-designSkill
- hero-sectionSkill
- icon-designSkill
- image-generationSkill
- image-treatmentSkill
- infographicSkill
- landing-page-designSkill
- layout-compositionSkill
- mobile-ui-designSkill
- motion-designSkill
- poster-designSkill
- presentation-designSkill
- product-mockupSkill
- social-media-graphicSkill
- thumbnail-designSkill
- typographySkill
- ui-designSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 33
Run the first three before every commit (CI runs them too).
≈ “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
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What This Is
A collection of AI agent skills for graphic design and UI design. Skills are Markdown files with YAML frontmatter that encode expert design knowledge, enabling Claude Code to produce professional-grade visual output. Modeled after the marketingskills pattern.
Repository Structure
skills/[skill-name]/SKILL.md— each skill lives in its own directory underskills/design-contextis the foundational skill — all other skills reference it for brand/style contextimage-generationprovides the Gemini 3.1 Flash Image Preview pipeline for AI image generationskills/[skill-name]/scripts/— helper scripts bundled with the skill that uses them (so they ship withnpx skills add). Skills refer to them as<skill-name>/scripts/file, meaning that skill's directory:image-generation/scripts/gemini-generate.py(Gemini CLI),export-sizes.py(one master → platform sizes)graphic-design/scripts/render.mjs(HTML → exact-size PNG/PDF),design-critique/scripts/audit.mjs(screenshots + measurements)design-context/scripts/contrast.py(WCAG checks),color-palette/scripts/palette.py(OKLCH scales)
tools/gemini-generate.py— compatibility wrapper for the generator aboveevals/— static checks, skill-routing eval, end-to-end task evals (seeevals/README.md);tests/— script unit tests- Skills save persistent context to
.agents/design-context.md - Five categories: Foundational (2), Graphic Design (8), UI Design (8), Design Systems (6), Process (4)
Validation
bash validate-skills.sh # frontmatter, names, length, cross-references
python evals/static_checks.py # flags, aspect ratios, code blocks, trigger collisions
python -m unittest discover tests -v # bundled scripts
python evals/run_trigger_evals.py # skill routing (needs Anthropic API access)
python evals/run_task_evals.py --task ID # end-to-end with headless Claude Code (costs money)Run the first three before every commit (CI runs them too). When changing a skill's description, run the routing eval; when changing a skill's instructions, run its task eval if one exists.
Skill File Format
Each SKILL.md requires:
- YAML frontmatter with
name(must match directory name),description(include trigger phrases),license: MIT - Content under 500 lines
- Step-by-step instructions with opinionated design frameworks
- Reference to
design-contextwhere applicable
Key Conventions
- Skill names are lowercase with hyphens, must match their directory name exactly
- Two output modes: AI image generation (Gemini 3.1 Flash) and code generation (HTML/CSS/SVG/React)
- Graphic design skills default to Gemini image generation (except
infographicand anything with exact numbers or long copy, which default to code); UI skills generate code - The
design-contextskill stores brand parameters that all other skills consume for consistency - Gemini API requires
GEMINI_API_KEYenv var andpip install google-genai Pillow - Future Glittr integration planned for editable design output
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.

