AGENT SKILL
codex-design-system
Use for UI, frontend, styling, landing page, or component creation; injects palettes, typography, layouts, motion, and anti-generic design rules.
- License 许可
- MIT
- 最近更新
- 2026-07-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- codex-design-system
- description
- Use for UI, frontend, styling, landing page, or component creation; injects palettes, typography, layouts, motion, and anti-generic design rules.
- load_priority
- on-demand
02 资源文件 7
- 参考文档references/anti-patterns.md6.6 KB
- 参考文档references/composition.md5.2 KB
- 参考文档references/micro-interactions.md8.3 KB
- 参考文档references/palettes.md6.3 KB
- 参考文档references/patterns.md14.8 KB
- 参考文档references/trends.md8.6 KB
- 参考文档references/typography.md8.0 KB
03 SKILL.md 正文
TL;DR
Load before any UI/frontend task. This skill brings 30 palettes, 21 free font pairings, 20 layout patterns, 15 micro-interactions, composition rules, current trends, and developer-UI anti-pattern fixes. Anti-generic rules: no default blue, no plain white card stacks, no bootstrap look.
Activation
- Activate when task involves UI, frontend, styling, component work, or landing-page creation.
- Activate on
$designor "make it look premium/modern/creative". - Auto-load when
frontend-specialistagent is active. - Pair with
codex-design-mdwhen the project needs a durableDESIGN.mdcontract or token export.
Anti-Generic Rules (HARD)
- NEVER use default blue (
#007bff,#2196F3,#3B82F6) or default purple (#6C63FF,#7C3AED) unless the chosen palette inreferences/palettes.mdexplicitly uses it. - NEVER ship plain white cards with
border-radius: 8pxandbox-shadow: 0 2px 4px rgba(0,0,0,0.1). - NEVER use system fonts or unnamed "sans-serif"; specify exact font families and fallbacks.
- NEVER build a fully symmetrical layout without hierarchy through size, spacing, color, or motion.
- ALWAYS choose a palette from
references/palettes.mdbefore writing UI code. - ALWAYS choose a font pair from
references/typography.md. - ALWAYS apply at least one composition principle from
references/composition.md. - ALWAYS add at least two micro-interactions from
references/micro-interactions.md.
Design Decision Flow
- Decide the mood: premium, bold, calm, editorial, playful, technical, or luxury.
- Pick one palette from
references/palettes.md. - Pick one font pair from
references/typography.md. - Pick one or two layout patterns from
references/patterns.md. - Pick two or three micro-interactions from
references/micro-interactions.md. - Check
references/anti-patterns.mdbefore finalizing. - Then write UI code with explicit values for color, type, spacing, radius, and shadow.
Reference Files
references/palettes.md— 30 curated palettes with exact hex tokens, mood, app fit, and contrast ratios.references/typography.md— 21 free font pairings with imports, weights, style tags, and fallback stacks.references/patterns.md— 20 layout patterns with structure, responsive CSS, and usage boundaries.references/micro-interactions.md— 15 motion patterns with CSS or JS code.references/composition.md— Visual hierarchy, spacing, grids, storytelling flow, and emphasis rules.references/trends.md— Current design trends for 2025-2026 with code signatures and fit guidance.references/anti-patterns.md— 15 developer-UI mistakes with wrong/right code and violated principles.
04 同仓库更多 Skills
codex-test-driven-development
Fixture stub for TDD skill.
★ 2
codex-subagent-execution
Fixture stub for subagent execution skill.
★ 2
codex-runtime-hook
Fixture stub for runtime hook skill.
★ 2
codex-plan-writer
Fixture stub for plan writer skill.
★ 2
codex-execution-quality-gate
Fixture stub for quality gate skill.
★ 2
codex-demo
Minimal fixture skill for Agency CLI skill-md parser tests.
★ 2