AGENT SKILL

design-system

Use when a product scenario needs UI states, tokens, components, interaction rules, responsive behavior, or accessibility decisions.

License 许可
MIT
最近更新
2026-07-18
Stars
★ 0
Forks
0

01 前言 Front Matter

name
design-system
description
Use when a product scenario needs UI states, tokens, components, interaction rules, responsive behavior, or accessibility decisions.

02 资源文件 1

03 SKILL.md 正文

Design System

Evolve the owning codebase for one scenario. Explain decisions in profile.language; keep token, component, state, and reference identifiers in canonical English.

Procedure

  1. Confirm the selected scenario and owning codebase from the public run plan.
  2. Inventory the owning codebase's existing tokens, existing components, framework conventions, assets, and accessibility tests before proposing changes. Reuse compatible primitives.
  3. Model the scenario's loading, empty, error, and success states plus relevant permission, offline, recovery, and destructive-action states.
  4. Specify responsive constraints, keyboard and focus behavior, semantic roles, contrast, motion preferences, and readable error feedback.
  5. Add only the tokens, primitives, components, stories, screenshots, and tests required by the scenario. Store implementation artifacts and design records in the owning codebase, not in the toolbox plugin or product metadata.
  6. Update the scenario's designRefs through toolbox scenario apply, then verify every acceptance state against the implementation.

Boundaries

  • Do not create a universal component library or a parallel design system.
  • Do not perform decorative redesign unrelated to the scenario outcome.
  • Do not replace established codebase conventions without recording why they cannot satisfy the required state.

04 同仓库更多 Skills

YOOGOMJA
YOOGOMJA/workbench-kit

ticket-incubate

Use to turn an idea that has no issue/ticket yet into an actionable GitHub issue. Grow a vague notion by divergence, narrow only the gaps via a deficit-based interview, and create the issue once the four required elements (background, goal, done criteria, out-of-scope) are filled. Triggers on "I have an idea", "let's make this a ticket", "create an issue", "interview me", or describing something to make/fix/improve without an issue number, even if the user never says the word "ticket". It is the front of the workbench lifecycle (idea -> ticket-incubate -> issue -> task-start). Distinct from brainstorming/design skills: those work out the how of what to build now; this captures the what of later work as a well-honed ticket.

★ 0
YOOGOMJA
YOOGOMJA/workbench-kit

task-tickets

Use to scan open workbench tickets joined with task branches and lifecycle events into unstarted / claim-attempted / in-progress / awaiting-PR / cleaned-up states. Read-only.

★ 0
YOOGOMJA
YOOGOMJA/workbench-kit

task-submit

Use when the user asks to submit, wrap up, or extract from a task, or when work has reached a point to open a PR.

★ 0
YOOGOMJA
YOOGOMJA/workbench-kit

task-status

Use to see local and remote task status at a glance and diagnose drift (unpushed, stale status, missed cleanup). When you want to know where everything stands before starting or submitting, or after a multi-device handoff.

★ 0
YOOGOMJA
YOOGOMJA/workbench-kit

task-start

Use when the user asks to start a task, pick up an issue, or begin a new attempt, or hands over an issue number to start work.

★ 0
YOOGOMJA
YOOGOMJA/workbench-kit

task-done

Use when the user asks to clean up or discard a task, or to clear the workspace after a PR is merged.

★ 0