[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M759EWGETH5FBB432M9T2T1H":3,"skill-same:01M759EWGETH5FBB432M9T2T1H":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M759EWGETH5FBB432M9T2T1H","ui-designer",null,"Design the user-facing surface and ship a REAL clickable-looking prototype: PRD + docs\u002Fdomain + docs\u002Fapi (or a prose brief) → docs\u002Fui with a prototype.html anyone can open, plus the tokens and screen inventory it derives from. Use when the user says \"design the UI\", \"frontend design\", \"design tokens\", \"UI spec\", \"make a mockup\", \"redesign this page\", \"thiết kế giao diện\". AUDIT mode reviews an existing UI first. To LOOK at the result or co-design live, use design-flow:view — this skill builds, that one shows.","baodq97\u002Fgovkit","baodq97","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50482002?v=4","01M759BJ9XC68CW9PQCFK22H1X","Bao Do","01M759BJAY1W696G8A8N841875",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ui-designer\ndescription: >\n  Design the user-facing surface and ship a REAL clickable-looking prototype: PRD + docs\u002Fdomain\n  + docs\u002Fapi (or a prose brief) → docs\u002Fui with a prototype.html anyone can open, plus the\n  tokens and screen inventory it derives from. Use when the user says \"design the UI\",\n  \"frontend design\", \"design tokens\", \"UI spec\", \"make a mockup\", \"redesign this page\",\n  \"thiết kế giao diện\". AUDIT mode reviews an existing UI first. To LOOK at the result or\n  co-design live, use design-flow:view — this skill builds, that one shows.\n---\n\n# UI Designer\n\n## What \"done\" looks like\n\n**A person who reads no documents opens `docs\u002Fui\u002Fprototype.html` and understands the product.**\nThey see the real screens, in the real brand, with the real words and real numbers a user would\nread, including the states where things go wrong. That artifact is the deliverable; the tokens\nand the screen inventory exist to make it verifiable and to keep it from drifting.\n\nThis is the bar because a design that only exists as a table of `**Primary action**: Pay` lets\neveryone nod along without agreeing on anything. The moment you have to write the actual price,\nthe actual error sentence, and the actual button label, the disagreements surface — which is the\nentire point of designing before building.\n\n## Hard rules\n\n- **The prototype is the deliverable, and it is real.** Real copy, real numbers, real brand.\n  Never `Lorem ipsum`, never \"Screen title here\", never a gray box captioned \"empty state\".\n  If you don't know a number, choose a plausible one and say in the brief that it is an example\n  (enforced: `check_prototype.mjs`).\n- **Every color in the prototype resolves to a token role** — `var(--c-*)`, never a literal hex\n  outside the `:root` block the scaffold generates. This is what keeps the picture and the\n  contrast gate talking about the same design (enforced: `check_prototype.mjs`).\n- **The design read comes first and is recorded** — page kind, audience, the page's single job\n  (target action), vibe, system family — in `tokens.json` meta and prose in the brief\n  (enforced: `check_tokens.mjs`). Ask at most ONE clarifying question, and only when the read\n  genuinely diverges; never a question dump.\n- **Dials are explicit and reasoned, never silent** — variance\u002Fmotion\u002Fdensity 1–10 with a\n  written reason. Using a default is fine; using it silently is a gate failure (enforced:\n  `check_tokens.mjs`).\n- **Every declared contrast pair passes WCAG AA** — 4.5:1 body, 3:1 large (enforced:\n  `check_tokens.mjs`; exact math on declared tokens, never sampled from a rendered page).\n- **Every declared screen gets drawn, states included** (enforced: `check_prototype.mjs`). A\n  state the inventory rules out (`n\u002Fa — …`) needs no frame; a state it promises does. When the\n  same screen has materially different content rather than a different state — an amount at a\n  mismatched rate, a replacement card instead of the original — declare it under `**Variants**`\n  so it gets a frame that survives the next regeneration.\n- **Name the surface's physical and platform affordances before styling them.** Ask what the\n  user's hands actually touch: a hardware button that must appear on every screen, a card\n  slot, a keyboard, a thumb reach zone, a screen read in glare. These are constraints the\n  brief rarely spells out and they change layout more than any aesthetic choice — on a real\n  parking-kiosk brief, three independent designers each found that \"lost ticket is a physical\n  button\" moved it out of the UI and into the machine chrome, which was the best decision in\n  the design.\n- **One design system per project, and adopting or approximating one is an ADR** — the same\n  late-decision rule as api-designer's integration technology. One icon family. One accent for\n  brand; semantic state colors (paid \u002F declined \u002F warning) are a separate, deliberate set, not\n  extra accents.\n- **UI copy is the domain's ubiquitous language in the user's vocabulary** — a person manages\n  notifications, not webhook config. When `docs\u002Fdomain\u002F` exists, never rename or invent its\n  concepts. Errors say what happened and what to do, and never blame the user: \"Your card was\n  not charged. Try again or use another card.\"\n- **One signature element per surface** — spend boldness once; everything around it stays\n  quiet. The quality floor ships without being announced: legible at the real reading distance,\n  visible focus for every input the surface actually has, reduced motion respected, touch\n  targets sized for the real hand (≥44px pointer, ≥56px for a public kiosk).\n- **Anti-slop is a method, not a blacklist** — derive what you'd produce for *any* similar\n  brief, then revise or justify every place this design matches it (recorded in the brief's\n  \"Rejected defaults\"). Never inherit another era's banned-hex list.\n- **Never silently regenerate `docs\u002Fui\u002F`** — if it exists, read it first; overwrite only on\n  explicit direction, and record in the brief what you kept vs replaced and why.\n- **No decision without a source** — cite the PRD\u002Fdomain\u002FAPI element (or the brief sentence)\n  that motivated it. \"The upstream doesn't say\" is a recorded gap, never invented precision.\n\n## Where this fits\n\nThe authoring half of design-flow (`design-flow:view` is the showing half — the live co-design\nsurface and feedback loop). Cross-plugin, this is the frontend-design step: the counterpart of\nswe-flow's `api-designer` (machine contract) and `data-model` (persistence contract) — the\nhuman contract. It consumes the PRD's persona\u002Fmetrics, `docs\u002Fdomain\u002F` naming, and `docs\u002Fapi\u002F`\noperations + error catalogs when they exist; a prose brief works standalone. The UI is the\n*second model of the same PRD*: ddd-flow models the domain, ui-designer models the user's\nmental model — where the two disagree is a finding for the human, not something to paper over.\n\n## Pick the mode\n\n- **FORWARD** — design something. Input: PRD + `docs\u002Fdomain\u002F` + `docs\u002Fapi\u002F` if present, else a\n  prose brief.\n- **AUDIT** — review an existing UI before changing it. See `references\u002Faudit-protocol.md`.\n  If a redesign is ambiguous between preserve and overhaul, ask once — misreading that mode is\n  the biggest source of bad redesign output.\n\n## Consume the upstream\n\n| Upstream element | UI surface |\n|---|---|\n| PRD persona \u002F audience | The design read's audience slot — the audience picks the aesthetic, not your taste |\n| PRD success metric | What the primary action per screen optimizes for |\n| Ubiquitous language (`docs\u002Fdomain\u002F`) | Screen and entity names, copy vocabulary — verbatim |\n| Aggregate | A view family (list + detail) |\n| API Retrieval operation | A read view — with its empty and loading states |\n| API State Creation \u002F Transition | A form or action flow — with optimistic vs confirmed states |\n| API error catalog (RFC 9457) | The UI error-state catalog: each problem type gets user-vocabulary copy saying what happened and what to do |\n| Domain event | A notification\u002Ftoast\u002Factivity surface, when user-facing |\n| Domain invariant | Usually the thing the signature element makes unmissable — a rule the user will be judged by should be visible before they break it |\n\n## Workflow (FORWARD)\n\n1. **Read the upstream (or take the brief), and check `docs\u002Fui\u002F` first** — if it exists, read\n   it and carry decisions forward rather than regenerating over them.\n2. **Declare the design read** — one line, five slots: \"\u003Cpage kind> for \u003Caudience>, whose one\n   job is \u003Ctarget action>, in a \u003Cvibe> language, leaning \u003Csystem family>.\" Signals and\n   procedure in `references\u002Fdesign-read.md`.\n3. **Name the affordances** — what the hands touch, what the eyes fight (glare, distance, one\n   thumb, a queue behind them). Write them into the brief; they outrank aesthetics.\n4. **Set the three dials with reasons**, then **route to a design system** (an official package\n   or a named approximation; record the choice as an ADR).\n5. **Draft 2–3 candidate directions and let the user pick by eye** — write each as a complete\n   token file to `.design-flow\u002Fpreview\u002Fcandidates\u002F\u003Cname>.json` and open them in\n   `design-flow:view`. The pick decides; the rejected ones become Rejected-defaults entries.\n   With no browser, present them in chat — the pick is still the user's.\n6. **Run the self-critique** — derive the generic default for this brief; revise or justify\n   every match. Record survivors under \"Rejected defaults\".\n7. **Write `tokens.json` and the screen inventory, and gate them:**\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck_tokens.mjs docs\u002Fui\u002Ftokens.json` until exit 0.\n8. **Build the prototype** — scaffold, then design into it:\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fscaffold_prototype.mjs \\\n     docs\u002Fui\u002Ftokens.json docs\u002Fui\u002Fscreens docs\u002Fui\u002Fprototype.html --device kiosk|phone|desktop\n   ```\n   The scaffold gives you the token variables, one device frame per declared screen-state, and\n   nothing else. Fill every frame with the real screen: real copy, real numbers, the layout a\n   person sees. Then gate it:\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck_prototype.mjs \\\n     docs\u002Fui\u002Fprototype.html docs\u002Fui\u002Ftokens.json docs\u002Fui\u002Fscreens\n   ```\n   Iterate until exit 0. Filling frames is where the design happens — budget your effort here,\n   not on the chrome the scaffold already wrote.\n9. **Look at it.** Open the prototype (or screenshot it) and read it as a stranger would: can\n   you name each screen's one action and what happens when it fails? Fix what you find.\n10. **Iterate on the surface, not in chat** — keep `design-flow:view` open; each round, read the\n    feedback events it collected and apply them (act on unambiguous notes, bring only conflicts\n    back to chat).\n    **Running without a human or a browser** (an autonomous or CI run): do not stall on the\n    steps that expect one. Pick the candidate yourself on a stated criterion from the brief,\n    record the rejected directions as complete token files so the owner can still choose later,\n    read the prototype as source instead of on screen, and say in the brief which calls were\n    yours. A design nobody could review yet is still better than a design nobody made.\n\n11. **Run the pre-flight** — `references\u002Fpreflight.md`; blockers must pass, advisories are\n    judgment. Close with the view's reader test before review.\n\n## Pinned mechanics\n\nRun these; don't ask an agent to judge by prose what a script decides.\n\n- `scripts\u002Fcheck_tokens.mjs` — design read complete, dials reasoned, valid hex, WCAG contrast\n  on every declared pair, no unfilled placeholders. Exit 0\u002F2\u002F1 (clean \u002F gate fail \u002F tool crash).\n- `scripts\u002Fscaffold_prototype.mjs` — emits the prototype shell: `:root` variables derived from\n  `tokens.json`, one device frame per declared screen-state, neutral chrome. Three independent\n  designers hand-rolled this same shell before drawing anything; it is written once here so the\n  variables can't be retyped wrong.\n- `scripts\u002Fcheck_prototype.mjs` — every declared screen drawn, no unfilled frames or filler\n  text, no color that bypassed the token gate, the declared type stack actually applied.\n- `assets\u002Ftokens-skeleton.json` — copyable skeleton whose placeholder slots deliberately fail\n  the gate until filled.\n\n## References\n\n| Reference | Load when |\n|-----------|-----------|\n| `references\u002Fdesign-read.md` | Declaring the read, deriving dials, the self-critique procedure |\n| `references\u002Fscreens-and-states.md` | Deriving the inventory, state coverage, copy rules |\n| `references\u002Fprototype-craft.md` | Filling frames well: what makes a screen read as real, per-surface floors, common tells |\n| `references\u002Faudit-protocol.md` | AUDIT mode: audit-before-touch, preservation rules, never-changes-silently list |\n| `references\u002Fpreflight.md` | The severity-tiered checklist — each item cites the rule it checks |\n\n## Output\n\n```\ndocs\u002Fui\u002F\n├── INDEX.md\n├── design-brief.md        # design read + affordances + dial reasons + design language\n│                          #   + signature element + rejected defaults + gaps + out of scope\n├── tokens.json            # roles, type, spacing, iconography, contrast pairs — gate-clean\n├── prototype.html         # THE DELIVERABLE — every screen-state, real copy, opens anywhere\n└── screens\u002F\n    └── \u003Ccontext-slug>.md  # flow diagram (Mermaid) + per screen: primary action, states,\n                           #   copy notes, API bindings\n```\n\nAUDIT writes `docs\u002Fui\u002Faudit.md` (findings with severity + the never-changes-silently record +\ncomponent inventory) instead of generating a design.\n","# UI Designer\n\n## What \"done\" looks like\n\n**A person who reads no documents opens `docs\u002Fui\u002Fprototype.html` and understands the product.**\nThey see the real screens, in the real brand, with the real words and real numbers a user would\nread, including the states where things go wrong. That artifact is the deliverable; the tokens\nand the screen inventory exist to make it verifiable and to keep it from drifting.\n\nThis is the bar because a design that only exists as a table of `**Primary action**: Pay` lets\neveryone nod along without agreeing on anything. The moment you have to write the actual price,\nthe actual error sentence, and the actual button label, the disagreements surface — which is the\nentire point of designing before building.\n\n## Hard rules\n\n- **The prototype is the deliverable, and it is real.** Real copy, real numbers, real brand.\n  Never `Lorem ipsum`, never \"Screen title here\", never a gray box captioned \"empty state\".\n  If you don't know a number, choose a plausible one and say in the brief that it is an example\n  (enforced: `check_prototype.mjs`).\n- **Every color in the prototype resolves to a token role** — `var(--c-*)`, never a literal hex\n  outside the `:root` block the scaffold generates. This is what keeps the picture and the\n  contrast gate talking about the same design (enforced: `check_prototype.mjs`).\n- **The design read comes first and is recorded** — page kind, audience, the page's single job\n  (target action), vibe, system family — in `tokens.json` meta and prose in the brief\n  (enforced: `check_tokens.mjs`). Ask at most ONE clarifying question, and only when the read\n  genuinely diverges; never a question dump.\n- **Dials are explicit and reasoned, never silent** — variance\u002Fmotion\u002Fdensity 1–10 with a\n  written reason. Using a default is fine; using it silently is a gate failure (enforced:\n  `check_tokens.mjs`).\n- **Every declared contrast pair passes WCAG AA** — 4.5:1 body, 3:1 large (enforced:\n  `check_tokens.mjs`; exact math on declared tokens, never sampled from a rendered page).\n- **Every declared screen gets drawn, states included** (enforced: `check_prototype.mjs`). A\n  state the inventory rules out (`n\u002Fa — …`) needs no frame; a state it promises does. When the\n  same screen has materially different content rather than a different state — an amount at a\n  mismatched rate, a replacement card instead of the original — declare it under `**Variants**`\n  so it gets a frame that survives the next regeneration.\n- **Name the surface's physical and platform affordances before styling them.** Ask what the\n  user's hands actually touch: a hardware button that must appear on every screen, a card\n  slot, a keyboard, a thumb reach zone, a screen read in glare. These are constraints the\n  brief rarely spells out and they change layout more than any aesthetic choice — on a real\n  parking-kiosk brief, three independent designers each found that \"lost ticket is a physical\n  button\" moved it out of the UI and into the machine chrome, which was the best decision in\n  the design.\n- **One design system per project, and adopting or approximating one is an ADR** — the same\n  late-decision rule as api-designer's integration technology. One icon family. One accent for\n  brand; semantic state colors (paid \u002F declined \u002F warning) are a separate, deliberate set, not\n  extra accents.\n- **UI copy is the domain's ubiquitous language in the user's vocabulary** — a person manages\n  notifications, not webhook config. When `docs\u002Fdomain\u002F` exists, never rename or invent its\n  concepts. Errors say what happened and what to do, and never blame the user: \"Your card was\n  not charged. Try again or use another card.\"\n- **One signature element per surface** — spend boldness once; everything around it stays\n  quiet. The quality floor ships without being announced: legible at the real reading distance,\n  visible focus for every input the surface actually has, reduced motion respected, touch\n  targets sized for the real hand (≥44px pointer, ≥56px for a public kiosk).\n- **Anti-slop is a method, not a blacklist** — derive what you'd produce for *any* similar\n  brief, then revise or justify every place this design matches it (recorded in the brief's\n  \"Rejected defaults\"). Never inherit another era's banned-hex list.\n- **Never silently regenerate `docs\u002Fui\u002F`** — if it exists, read it first; overwrite only on\n  explicit direction, and record in the brief what you kept vs replaced and why.\n- **No decision without a source** — cite the PRD\u002Fdomain\u002FAPI element (or the brief sentence)\n  that motivated it. \"The upstream doesn't say\" is a recorded gap, never invented precision.\n\n## Where this fits\n\nThe authoring half of design-flow (`design-flow:view` is the showing half — the live co-design\nsurface and feedback loop). Cross-plugin, this is the frontend-design step: the counterpart of\nswe-flow's `api-designer` (machine contract) and `data-model` (persistence contract) — the\nhuman contract. It consumes the PRD's persona\u002Fmetrics, `docs\u002Fdomain\u002F` naming, and `docs\u002Fapi\u002F`\noperations + error catalogs when they exist; a prose brief works standalone. The UI is the\n*second model of the same PRD*: ddd-flow models the domain, ui-designer models the user's\nmental model — where the two disagree is a finding for the human, not something to paper over.\n\n## Pick the mode\n\n- **FORWARD** — design something. Input: PRD + `docs\u002Fdomain\u002F` + `docs\u002Fapi\u002F` if present, else a\n  prose brief.\n- **AUDIT** — review an existing UI before changing it. See `references\u002Faudit-protocol.md`.\n  If a redesign is ambiguous between preserve and overhaul, ask once — misreading that mode is\n  the biggest source of bad redesign output.\n\n## Consume the upstream\n\n| Upstream element | UI surface |\n|---|---|\n| PRD persona \u002F audience | The design read's audience slot — the audience picks the aesthetic, not your taste |\n| PRD success metric | What the primary action per screen optimizes for |\n| Ubiquitous language (`docs\u002Fdomain\u002F`) | Screen and entity names, copy vocabulary — verbatim |\n| Aggregate | A view family (list + detail) |\n| API Retrieval operation | A read view — with its empty and loading states |\n| API State Creation \u002F Transition | A form or action flow — with optimistic vs confirmed states |\n| API error catalog (RFC 9457) | The UI error-state catalog: each problem type gets user-vocabulary copy saying what happened and what to do |\n| Domain event | A notification\u002Ftoast\u002Factivity surface, when user-facing |\n| Domain invariant | Usually the thing the signature element makes unmissable — a rule the user will be judged by should be visible before they break it |\n\n## Workflow (FORWARD)\n\n1. **Read the upstream (or take the brief), and check `docs\u002Fui\u002F` first** — if it exists, read\n   it and carry decisions forward rather than regenerating over them.\n2. **Declare the design read** — one line, five slots: \"\u003Cpage kind> for \u003Caudience>, whose one\n   job is \u003Ctarget action>, in a \u003Cvibe> language, leaning \u003Csystem family>.\" Signals and\n   procedure in `references\u002Fdesign-read.md`.\n3. **Name the affordances** — what the hands touch, what the eyes fight (glare, distance, one\n   thumb, a queue behind them). Write them into the brief; they outrank aesthetics.\n4. **Set the three dials with reasons**, then **route to a design system** (an official package\n   or a named approximation; record the choice as an ADR).\n5. **Draft 2–3 candidate directions and let the user pick by eye** — write each as a complete\n   token file to `.design-flow\u002Fpreview\u002Fcandidates\u002F\u003Cname>.json` and open them in\n   `design-flow:view`. The pick decides; the rejected ones become Rejected-defaults entries.\n   With no browser, present them in chat — the pick is still the user's.\n6. **Run the self-critique** — derive the generic default for this brief; revise or justify\n   every match. Record survivors under \"Rejected defaults\".\n7. **Write `tokens.json` and the screen inventory, and gate them:**\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck_tokens.mjs docs\u002Fui\u002Ftokens.json` until exit 0.\n8. **Build the prototype** — scaffold, then design into it:\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fscaffold_prototype.mjs \\\n     docs\u002Fui\u002Ftokens.json docs\u002Fui\u002Fscreens docs\u002Fui\u002Fprototype.html --device kiosk|phone|desktop\n   ```\n   The scaffold gives you the token variables, one device frame per declared screen-state, and\n   nothing else. Fill every frame with the real screen: real copy, real numbers, the layout a\n   person sees. Then gate it:\n   ```bash\n   node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck_prototype.mjs \\\n     docs\u002Fui\u002Fprototype.html docs\u002Fui\u002Ftokens.json docs\u002Fui\u002Fscreens\n   ```\n   Iterate until exit 0. Filling frames is where the design happens — budget your effort here,\n   not on the chrome the scaffold already wrote.\n9. **Look at it.** Open the prototype (or screenshot it) and read it as a stranger would: can\n   you name each screen's one action and what happens when it fails? Fix what you find.\n10. **Iterate on the surface, not in chat** — keep `design-flow:view` open; each round, read the\n    feedback events it collected and apply them (act on unambiguous notes, bring only conflicts\n    back to chat).\n    **Running without a human or a browser** (an autonomous or CI run): do not stall on the\n    steps that expect one. Pick the candidate yourself on a stated criterion from the brief,\n    record the rejected directions as complete token files so the owner can still choose later,\n    read the prototype as source instead of on screen, and say in the brief which calls were\n    yours. A design nobody could review yet is still better than a design nobody made.\n\n11. **Run the pre-flight** — `references\u002Fpreflight.md`; blockers must pass, advisories are\n    judgment. Close with the view's reader test before review.\n\n## Pinned mechanics\n\nRun these; don't ask an agent to judge by prose what a script decides.\n\n- `scripts\u002Fcheck_tokens.mjs` — design read complete, dials reasoned, valid hex, WCAG contrast\n  on every declared pair, no unfilled placeholders. Exit 0\u002F2\u002F1 (clean \u002F gate fail \u002F tool crash).\n- `scripts\u002Fscaffold_prototype.mjs` — emits the prototype shell: `:root` variables derived from\n  `tokens.json`, one device frame per declared screen-state, neutral chrome. Three independent\n  designers hand-rolled this same shell before drawing anything; it is written once here so the\n  variables can't be retyped wrong.\n- `scripts\u002Fcheck_prototype.mjs` — every declared screen drawn, no unfilled frames or filler\n  text, no color that bypassed the token gate, the declared type stack actually applied.\n- `assets\u002Ftokens-skeleton.json` — copyable skeleton whose placeholder slots deliberately fail\n  the gate until filled.\n\n## References\n\n| Reference | Load when |\n|-----------|-----------|\n| `references\u002Fdesign-read.md` | Declaring the read, deriving dials, the self-critique procedure |\n| `references\u002Fscreens-and-states.md` | Deriving the inventory, state coverage, copy rules |\n| `references\u002Fprototype-craft.md` | Filling frames well: what makes a screen read as real, per-surface floors, common tells |\n| `references\u002Faudit-protocol.md` | AUDIT mode: audit-before-touch, preservation rules, never-changes-silently list |\n| `references\u002Fpreflight.md` | The severity-tiered checklist — each item cites the rule it checks |\n\n## Output\n\n```\ndocs\u002Fui\u002F\n├── INDEX.md\n├── design-brief.md        # design read + affordances + dial reasons + design language\n│                          #   + signature element + rejected defaults + gaps + out of scope\n├── tokens.json            # roles, type, spacing, iconography, contrast pairs — gate-clean\n├── prototype.html         # THE DELIVERABLE — every screen-state, real copy, opens anywhere\n└── screens\u002F\n    └── \u003Ccontext-slug>.md  # flow diagram (Mermaid) + per screen: primary action, states,\n                           #   copy notes, API bindings\n```\n\nAUDIT writes `docs\u002Fui\u002Faudit.md` (findings with severity + the never-changes-silently record +\ncomponent inventory) instead of generating a design.\n",{"name":5,"description":7},"main","850634e254ea6a5034bf2eddad5fe95091713231","plugins\u002Fdesign-flow\u002Fskills\u002Fui-designer","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit","https:\u002F\u002Fgithub.com\u002Fbaodq97","2026-09-07 14:26:00",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add baodq97\u002Fgovkit --skill ui-designer",{"tool":36,"command":37},"bunx","bunx skills add baodq97\u002Fgovkit --skill ui-designer",{"tool":39,"command":40},"pnpm","pnpm dlx skills add baodq97\u002Fgovkit --skill ui-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002FSKILL.md",true,[44,50,56,60,64,68,72,78,82],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"assets\u002Ftokens-skeleton.json","ASSET","资产文件",1489,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Fassets\u002Ftokens-skeleton.json",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Faudit-protocol.md","REFERENCE","参考文档",2661,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Freferences\u002Faudit-protocol.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fdesign-read.md",4018,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Freferences\u002Fdesign-read.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fpreflight.md",3964,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Freferences\u002Fpreflight.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fprototype-craft.md",5412,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Freferences\u002Fprototype-craft.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fscreens-and-states.md",3702,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Freferences\u002Fscreens-and-states.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fcheck_prototype.mjs","SCRIPT","脚本",8704,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Fscripts\u002Fcheck_prototype.mjs",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fcheck_tokens.mjs",6367,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Fscripts\u002Fcheck_tokens.mjs",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fscaffold_prototype.mjs",10644,"https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fdesign-flow\u002Fskills\u002Fui-designer\u002Fscripts\u002Fscaffold_prototype.mjs",[87,94,101,108,115,121],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M759HTCHQJVZ4JWDA2JNPJJZ","trigger-shaped","Use when the user says \"plan a sprint retro\"; drafts retro\u002Fnotes.md for the team.","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fskill-lint\u002Ftriggering\u002Fskills\u002Ftrigger-shaped\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M759HS3E2T97ZN1ED2Z96WAJ","terse-unguarded","Step 2 — writes docs\u002Fx\u002Foutput.json quietly.","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fskill-lint\u002Ftriggering\u002Fskills\u002Fterse-unguarded\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M759HPZN28VZHKYFR754CVXT","guarded","Summarizes ledger totals into reports\u002Fmonthly.csv.","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fskill-lint\u002Ftriggering\u002Fskills\u002Fguarded\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M759HMFQAZAWFVSS3KWPCCW0","open","Draft a spec. Use when asked to \"draft a spec\" or \"write the RFC\".","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fskill-lint\u002Fdead-hint\u002Fskills\u002Fopen\u002FSKILL.md",[],[],{"skillNo":116,"name":103,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M759HJ3XX74S70PW9AR8NS66","Deploy the thing.","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fskill-lint\u002Fdead-hint\u002Fskills\u002Fguarded\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M759HCWJN9ACRNC1JW76DR1E","working-discipline","Thinking-checkpoint discipline for substantive implementation, debugging, or autonomous work — 21 trigger-gated items (trigger → mandatory question → evidence to produce) that cut agent error and human escalation. Use before an autonomous or long-running run, when asked to \"work carefully\", \"double-check\", \"làm cẩn thận\", \"reduce errors\", \"be more autonomous\", or after looping twice on the same failing fix. NOT a procedure — checkpoints fire on their triggers and demand evidence, with an N\u002FA escape valve so a strong model pays near-zero overhead.","https:\u002F\u002Fgithub.com\u002Fbaodq97\u002Fgovkit\u002Fblob\u002Fmain\u002Fplugins\u002Fswe-flow\u002Fskills\u002Fworking-discipline\u002FSKILL.md",[],[]]