[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74K6HZXGP77RF5WK6XDHWAJ":3,"skill-same:01M74K6HZXGP77RF5WK6XDHWAJ":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M74K6HZXGP77RF5WK6XDHWAJ","polish-ui",null,"Acauhi99\u002Fopencode-agent-system","Acauhi99","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109399110?v=4","01M74JTV4VH2YAER6TABE78RKF","Acauhi","01M74JTV5CXNC5DEV2XR5SBFG3",1,"MIT","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fpolish-ui\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: polish-ui\ndescription: Run a UX polish checklist against any UI change in this project — new components, new buttons\u002Fmodals, or edits to existing UI — and auto-fix gaps before reporting done. The skill judges which items apply to the specific change, then fixes them inline (not as a follow-up). Trigger phrases and scenarios — adding\u002Fediting a button, dialog, modal, popover, sheet, drawer, command palette, form submit, confirmation prompt, keyboard-driven action; \"add a button\", \"build this modal\", \"wire up this dialog\", \"new form\", any UI\u002FUX work in .tsx\u002F.jsx files. Skip for: pure backend, copy-only edits with no interaction change, type-only refactors.\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  source: \"Adapted from AgentSystemLabs\u002Fcore (MIT)\"\n  requires_codegraph: true\n---\n\n> **Tool mapping (OpenCode):** This skill uses:\n> - `question` tool for user prompts (not `AskUserQuestion`)\n> - `task` tool for subagents (not `Agent` or `Task` subagent syntax)\n> - `skill({ name: \"...\" })` to load other skills (not `Skill(skill=\"...\", args=\"...\")`)\n> - `codegraph_explore`, `codegraph_search`, `codegraph_context` for codebase exploration (preferred)\n> - `todowrite` for phase\u002Fprogress tracking\n> - `grep`, `glob`, `read`, `bash` as fallback when `.codegraph\u002F` not initialized\n>\n> **Context rule:** This skill supersedes any prior skill instructions. Follow ONLY these instructions now. Read the user's goal and any mode\u002Finclude\u002Fskip from the conversation context.\n\n# UX Checklist\n\nYou just changed UI. Before reporting done, walk this checklist, decide which items apply to **this specific change**, and fix gaps inline.\n\nUse `todowrite` to track checklist items as you evaluate them.\n\nThe list is designed to grow. Treat every item as load-bearing — each one exists because the user had to re-prompt for it.\n\n---\n\n## Checklist\n\n> **Growth contract:** When appending an item, give it three things — (1) the rule, (2) when it applies, (3) the fix. Items missing any of the three get skipped during evaluation.\n\n### 1. Action buttons display their keyboard shortcut\n\nIf a button triggers an action that has (or should have) a keyboard shortcut, the shortcut must appear **in the visible button text**, not just as a `title`\u002F`aria-keyshortcuts`.\n\n**Convention:** mac glyphs, trailing the label, separated by a space.\n\n- `Save ⌘S`\n- `Submit ⌘↵`\n- `Cancel ⎋`\n- `Delete ⌫`\n\nGlyph reference: `⌘` cmd · `⌥` opt · `⇧` shift · `⌃` ctrl · `↵` enter · `⎋` esc · `⌫` delete · `→ ← ↑ ↓` arrows.\n\n**Applies when:** the button is a primary\u002Fsecondary action with a clear shortcut (Save, Submit, Confirm, Cancel, Delete, Search, New). A button qualifies when its label is a verb and it triggers a single discrete action. Skip for icon-only buttons in toolbars where the label is already a tooltip, and for buttons inside a list row where per-row shortcuts don't make sense.\n\n**Fix:** add the glyph to the label AND wire the actual key handler (the visible shortcut must work — a label without a binding is a lie).\n\n**Conflicts:** if two visible actions on the same view want the same shortcut, the more frequent action wins; the other gets a modifier (`⇧⌘S`) or no shortcut.\n\n### 2. Modals close on Esc\n\nAny modal\u002Fdialog\u002Fsheet\u002Fdrawer\u002Fpopover that traps attention must close on `Esc`.\n\n**Fix:** if using a primitive (Radix Dialog, shadcn Dialog, HeadlessUI, etc.), Esc-to-close is usually built in — verify it isn't disabled (`onEscapeKeyDown` preventing default, `closeOnEscape={false}`). If hand-rolled, add a `keydown` listener on `Escape` that calls the close handler, scoped to the modal's lifetime.\n\nAlso verify: focus returns to the trigger element after close. If the modal hijacks focus and never returns it, that's a bug even if Esc works.\n\n---\n\n## How to use this skill\n\nFor each item, decide if it applies to this change; if yes, fix in the same edit pass and report one line per fix. Skip silent items — no \"N\u002FA\" padding.\n\n---\n\n## NEVER\n\n- **NEVER add a shortcut glyph to a label without binding the key handler**\n  **Instead:** Wire the `keydown` listener (or framework equivalent) in the same edit. If you can't bind it, don't show it.\n  **Why:** A visible `⌘S` that does nothing is worse than no hint — users press it, nothing happens, trust drops.\n\n- **NEVER report a UI change as done while skipping this checklist**\n  **Instead:** Run the filter step before your final message. Even a one-line button change qualifies.\n  **Why:** The checklist exists because the user had to re-prompt. Skipping it reproduces the exact failure mode the skill was created to prevent.\n\n- **NEVER list checklist gaps as \"follow-up work\"**\n  **Instead:** Fix them in the same turn. If a gap is genuinely out of scope (e.g., requires a new dependency), surface it explicitly and ask — don't silently defer.\n  **Why:** Deferred UX polish never gets done; it accumulates as the same re-prompt the user is trying to eliminate.\n\n- **NEVER render mac glyphs without detecting platform** (when the app ships to non-mac users)\n  **Instead:** Detect platform once (`navigator.platform`, `userAgent`, or a `usePlatform()` hook if the project has one) and swap to `Ctrl+S` \u002F `Alt` \u002F `Esc` text on Windows\u002FLinux. If the project is mac-only, state that here and skip the swap.\n  **Why:** `⌘` and `⌥` render as unfamiliar symbols (or boxes in missing fonts) on Windows\u002FLinux, turning a hint into noise. The bind still works; the *label* lies about which key to press.\n\n- **NEVER force items that don't apply**\n  **Instead:** Skip an item when the change has no surface for it (e.g., a backend-only tweak that touched a `.tsx` import). Padding with \"N\u002FA\" wastes the user's attention.\n  **Why:** Mechanical compliance erodes trust in the checklist's signal — every reported item should be a real fix.\n","> **Tool mapping (OpenCode):** This skill uses:\n> - `question` tool for user prompts (not `AskUserQuestion`)\n> - `task` tool for subagents (not `Agent` or `Task` subagent syntax)\n> - `skill({ name: \"...\" })` to load other skills (not `Skill(skill=\"...\", args=\"...\")`)\n> - `codegraph_explore`, `codegraph_search`, `codegraph_context` for codebase exploration (preferred)\n> - `todowrite` for phase\u002Fprogress tracking\n> - `grep`, `glob`, `read`, `bash` as fallback when `.codegraph\u002F` not initialized\n>\n> **Context rule:** This skill supersedes any prior skill instructions. Follow ONLY these instructions now. Read the user's goal and any mode\u002Finclude\u002Fskip from the conversation context.\n\n# UX Checklist\n\nYou just changed UI. Before reporting done, walk this checklist, decide which items apply to **this specific change**, and fix gaps inline.\n\nUse `todowrite` to track checklist items as you evaluate them.\n\nThe list is designed to grow. Treat every item as load-bearing — each one exists because the user had to re-prompt for it.\n\n---\n\n## Checklist\n\n> **Growth contract:** When appending an item, give it three things — (1) the rule, (2) when it applies, (3) the fix. Items missing any of the three get skipped during evaluation.\n\n### 1. Action buttons display their keyboard shortcut\n\nIf a button triggers an action that has (or should have) a keyboard shortcut, the shortcut must appear **in the visible button text**, not just as a `title`\u002F`aria-keyshortcuts`.\n\n**Convention:** mac glyphs, trailing the label, separated by a space.\n\n- `Save ⌘S`\n- `Submit ⌘↵`\n- `Cancel ⎋`\n- `Delete ⌫`\n\nGlyph reference: `⌘` cmd · `⌥` opt · `⇧` shift · `⌃` ctrl · `↵` enter · `⎋` esc · `⌫` delete · `→ ← ↑ ↓` arrows.\n\n**Applies when:** the button is a primary\u002Fsecondary action with a clear shortcut (Save, Submit, Confirm, Cancel, Delete, Search, New). A button qualifies when its label is a verb and it triggers a single discrete action. Skip for icon-only buttons in toolbars where the label is already a tooltip, and for buttons inside a list row where per-row shortcuts don't make sense.\n\n**Fix:** add the glyph to the label AND wire the actual key handler (the visible shortcut must work — a label without a binding is a lie).\n\n**Conflicts:** if two visible actions on the same view want the same shortcut, the more frequent action wins; the other gets a modifier (`⇧⌘S`) or no shortcut.\n\n### 2. Modals close on Esc\n\nAny modal\u002Fdialog\u002Fsheet\u002Fdrawer\u002Fpopover that traps attention must close on `Esc`.\n\n**Fix:** if using a primitive (Radix Dialog, shadcn Dialog, HeadlessUI, etc.), Esc-to-close is usually built in — verify it isn't disabled (`onEscapeKeyDown` preventing default, `closeOnEscape={false}`). If hand-rolled, add a `keydown` listener on `Escape` that calls the close handler, scoped to the modal's lifetime.\n\nAlso verify: focus returns to the trigger element after close. If the modal hijacks focus and never returns it, that's a bug even if Esc works.\n\n---\n\n## How to use this skill\n\nFor each item, decide if it applies to this change; if yes, fix in the same edit pass and report one line per fix. Skip silent items — no \"N\u002FA\" padding.\n\n---\n\n## NEVER\n\n- **NEVER add a shortcut glyph to a label without binding the key handler**\n  **Instead:** Wire the `keydown` listener (or framework equivalent) in the same edit. If you can't bind it, don't show it.\n  **Why:** A visible `⌘S` that does nothing is worse than no hint — users press it, nothing happens, trust drops.\n\n- **NEVER report a UI change as done while skipping this checklist**\n  **Instead:** Run the filter step before your final message. Even a one-line button change qualifies.\n  **Why:** The checklist exists because the user had to re-prompt. Skipping it reproduces the exact failure mode the skill was created to prevent.\n\n- **NEVER list checklist gaps as \"follow-up work\"**\n  **Instead:** Fix them in the same turn. If a gap is genuinely out of scope (e.g., requires a new dependency), surface it explicitly and ask — don't silently defer.\n  **Why:** Deferred UX polish never gets done; it accumulates as the same re-prompt the user is trying to eliminate.\n\n- **NEVER render mac glyphs without detecting platform** (when the app ships to non-mac users)\n  **Instead:** Detect platform once (`navigator.platform`, `userAgent`, or a `usePlatform()` hook if the project has one) and swap to `Ctrl+S` \u002F `Alt` \u002F `Esc` text on Windows\u002FLinux. If the project is mac-only, state that here and skip the swap.\n  **Why:** `⌘` and `⌥` render as unfamiliar symbols (or boxes in missing fonts) on Windows\u002FLinux, turning a hint into noise. The bind still works; the *label* lies about which key to press.\n\n- **NEVER force items that don't apply**\n  **Instead:** Skip an item when the change has no surface for it (e.g., a backend-only tweak that touched a `.tsx` import). Padding with \"N\u002FA\" wastes the user's attention.\n  **Why:** Mechanical compliance erodes trust in the checklist's signal — every reported item should be a real fix.\n",{},"main","a40966cd3b7323e693a9fd665ab9c720d8bf9634","skills\u002Fpolish-ui",0,"https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@acauhi\u002Fopencode-agent-system","https:\u002F\u002Fgithub.com\u002FAcauhi99","@github Backend Engineer","2026-07-07 22:24:45",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Acauhi99\u002Fopencode-agent-system --skill polish-ui",{"tool":38,"command":39},"bunx","bunx skills add Acauhi99\u002Fopencode-agent-system --skill polish-ui",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Acauhi99\u002Fopencode-agent-system --skill polish-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fpolish-ui\u002FSKILL.md",true,[],[47,53,59,66,72,79],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M74KEHKFCSF2H23R44MR5DN8","write-tests","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M74KEEXZW2185BZ3VJCM7AF6","update-changelog","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fupdate-changelog\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M74KDVH470SS6WPS8WK3VSW3","triage","Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M74KDKGNY0MQXQ0ZHAGYSJJ4","to-prd","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fto-prd\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M74KD9YN0K59GWMWDT5YHBKY","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M74KD14VJAJZ8E4ENN0KP9GV","testing-plan","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-plan\u002FSKILL.md",[],[]]