AGENT SKILL

design-system

File an accepted visual direction into the project's one system file, and let a page override only itself. Use when a direction has been accepted, when the project already has a system file, or when the next screen would otherwise invent a second palette.

License 许可
MIT
所属仓库
muratovv/ai-hats
最近更新
2026-11-05
Stars
★ 3
Forks
1

01 前言 Front Matter

name
design-system
license
MIT
description
File an accepted visual direction into the project's one system file, and let a page override only itself. Use when a direction has been accepted, when the project already has a system file, or when the next screen would otherwise invent a second palette.

03 SKILL.md 正文

Design System

One master per project. A page may differ from it. The page does not become a second master.

When to Use

  • Run after the supervisor picks a prototype from design-direction.
  • Run again at the start of any later screen in the same project.
  • The quality pass is ui-ux-review.

Procedure

  1. Find the master the screens already read. Names used by the sources this procedure follows: DESIGN.md, MASTER.md, tokens.css, design-system.md. The file the screens import wins. When several qualify, name the one you will read and why.
  2. Read it before choosing a color or a typeface.
  3. When a master exists, write this screen's exception beside the page, in a file a reader can tell belongs to that page. Leave the master as it was.
  4. When no master exists, write the picked prototype's additions to DESIGN.md at the repository root. Palette, type, and any other addition the prototype names. That write happens after the pick, once. It is the master later screens read.
  5. A change to the master itself waits for the person to ask for that change.

Company packages under nexu-io/open-design design-systems/ are reconstructions of other sites. Name them if a brief points at one. Do not copy them in.

Shape, when you need to see one:

  • nextlevelbuilder/ui-ux-pro-max-skill — a master, a per-page override, and an explicit force flag before the master is replaced.
  • superdesigndev/superdesign-skill — DESIGN.md as context, tokens, motion, and components.
  • nexu-io/open-design — DESIGN.md plus tokens.css, as a shape.

Completion

  • The master in force is named, or DESIGN.md was just created from an accepted direction.
  • This screen's exceptions sit beside the page.
  • The master is unchanged unless the person asked to change it.

Validation scenario (RED). The repo has a DESIGN.md with a type ramp. Asked for the next screen, the agent picks a new typeface and a new hex and saves them as the new look of the product. GREEN: the screen uses the ramp; the exception is a file beside the page; DESIGN.md is byte-for-byte the file that was there.

Anti-Patterns

  • Inventing a palette while a master sits unread in the repo.
  • Writing the page's exception back into the master.
  • Creating a second file that later screens could mistake for the master.
  • Creating DESIGN.md before the supervisor picks a prototype.

Attribution

Procedure written for this catalog. The master-plus-page-override move is nextlevelbuilder/ui-ux-pro-max-skill (MIT). The DESIGN.md shape is superdesigndev/superdesign-skill (MIT) and nexu-io/open-design (Apache-2.0). Their tables, stacks, and company packages are not copied.

04 同仓库更多 Skills

muratovv
muratovv/ai-hats

tool-evaluation-protocol

Time-bounded protocol for evaluating new tools, libraries, or methodologies before adoption. Use when evaluating a candidate dependency for the project, researching a methodology (e.g. ML/LLM frameworks, testing approaches), or following up on a hype-driven recommendation.

★ 3
muratovv
muratovv/ai-hats

systematic-debugging

4-phase bug-fix protocol (evidence, pattern, hypothesis, verify). Use when investigating any error, failure, or unexpected behavior, handling bug reports from users or monitoring, or diagnosing test failures with non-obvious causes.

★ 3
muratovv
muratovv/ai-hats

skill-template

Canonical template and validation guide for ai-hats skills. Use when creating a new skill, reviewing an existing one for structural compliance, or deciding which pattern fits a new behavior.

★ 3
muratovv
muratovv/ai-hats

skill-optimization

Audit and refactor library components to eliminate redundancy and staleness. Use during periodic library maintenance, after adding multiple new skills or rules, when a role's token budget is too high, or after retrospectives identify component issues.

★ 3
muratovv
muratovv/ai-hats

silent-fallback-gate

PreToolUse hook — refuses an Edit or Write that adds an inert broad except. Use when a Python edit was blocked for a silent fallback.

★ 3
muratovv
muratovv/ai-hats

retro-to-framework

Convert an observation about agent behavior — from a retrospective or from a single incident — into a framework-level change (hook, rule, skill, skill update). Use after a retrospective identifies problems that are not project-specific, after an incident where an agent misapplied a component it had read, when CLAUDE.md band-aids accumulate (more than 3 per-project rules that could be generic), or when the same problem recurs across multiple projects.

★ 3