[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMBZTP61P22DG5A0EK9CXT":3,"skill-same:01M7EMBZTP61P22DG5A0EK9CXT":64},{"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},"01M7EMBZTP61P22DG5A0EK9CXT","ux-design",null,"Designs the user interface of a program at the lowest rung that serves the job — CLI, filter (dmenu\u002Ffzf style), terminal UI, native GUI or web — with flows, states, a key map, design tokens kept in config.def and numeric gates per rung, so every UI works alone and embeds; avoids generic AI-looking UI. Includes the dl-contrast checker. Writes design.md. Use when building or changing any user interface, screen, TUI, GUI, component or visual style.","VolkovIlia\u002Fdeadlion-studio","VolkovIlia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43730119?v=4","01M7EM9F1A574SS7HEZRWMCA9C","Ilia Volkov","01M7EM9F1Z1DM8DEAT2WYZB6D0",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fux-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ux-design\ndescription: Designs the user interface of a program at the lowest rung that serves the job — CLI, filter (dmenu\u002Ffzf style), terminal UI, native GUI or web — with flows, states, a key map, design tokens kept in config.def and numeric gates per rung, so every UI works alone and embeds; avoids generic AI-looking UI. Includes the dl-contrast checker. Writes design.md. Use when building or changing any user interface, screen, TUI, GUI, component or visual style.\n---\n\n# UX design\n\nOutput: `.dev-docs\u002Ffeatures\u002F\u003Cslug>\u002Fdesign.md`, following the contract in\n`${CLAUDE_SKILL_DIR}\u002F..\u002Fworkflow\u002Freferences\u002Fartifacts.md`. Read `product.md` first if it\nexists; design nothing that its Scope cuts.\n\n## Gates\n\nGates per rung: `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftargets.md`; copy the chosen rung's table\ninto design.md `## Accessibility gates`. WCAG detail: `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwcag.md`.\n\n## Procedure\n\n0. **Target.** Choose the rung via targets.md; record the Target line and the embedding\n   modes from `${CLAUDE_SKILL_DIR}\u002F..\u002Fsuckless-code\u002Freferences\u002Fconventions.md`. Above the\n   CLI rung, the UI is a front end over an engine that runs headless.\n1. **Ground in the subject.** Name the product's domain, its users and the mood the\n   domain earns (a ledger is calm and dense; a kids' game is loud). Derive palette, type\n   and density from that, not from current SaaS fashion.\n2. **Flows.** List each user job as a numbered path: entry → steps → exit. Cut steps that\n   don't serve the job.\n3. **Token plan before code.**\n   - 4–6 named hex colours (background, surface, text, muted, accent, danger) with\n     contrast ratios checked against their backgrounds; a type or attribute scale; a\n     spacing scale on a 4 or 8 px grid, or the cell grid.\n   - C\u002FRust programs keep tokens as constants in `config.def.h`\u002F`config.def.rs` (dwm\n     colour-scheme style); web keeps CSS custom properties in the master token file.\n   - Every fg\u002Fbg pair gets a `dl-contrast: FG BG [MIN]` comment line next to the tokens.\n   - Run `${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdl-contrast \u003Cfile>` until it is silent.\n4. **ASCII wireframes** for each screen. Terminal: 80×24, then 40×12. GUI: 1280×800,\n   then 640×400. Web: 375 first. Mark the primary action.\n5. **Keys.** A table mapping every action to a key (web: tab order and shortcuts).\n6. **Review the plan** against the brief and `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fanti-patterns.md`.\n   Any hit → change the plan, not the excuse.\n7. **One bold choice.** Pick a single distinctive element (a typeface, an accent, a layout\n   move) and keep everything else quiet. Write the choice and its reason in design.md.\n8. **Every state.** For each screen design empty (first use and no results), loading\n   (skeleton, never blank), error (what failed + how to recover) and success.\n9. **Copy.** Real text, not lorem ipsum. Buttons are verbs; errors say what to do next.\n10. Write design.md with `Status: draft`. In the reply, show what the user approves: the\n    Target line, the Keys table, the States per screen and the token names with their\n    contrast pairs and ratios; then ask the user to approve.\n\nAfter implementation, run the `ui-verify` skill against the rung's gates.\n\n## Tokens: master + overrides\n\n- One master token file is the single source of base values (colour, type, spacing):\n  `config.def.*` for C\u002FRust programs, the master CSS file for the web.\n- An override file holds only the keys that differ for one page or feature (e.g. denser\n  dashboard spacing), using the same key paths; the build merges master ← override.\n- Global or permanent changes go in master, never in an override. Never copy master\n  values into overrides.\n\n## Checker: dl-contrast\n```\n${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdl-contrast [PATH...]   # default PATH is .\n```\n- Directive: a line that starts, after an optional comment leader (`\u002F\u002F`, `\u002F*`, `\u003C!--`,\n  `#`, `;`, `*`, `%`, `-`), with `dl-contrast:` then FG, BG and an optional MIN\n  (default 4.5). The marker mid-line (prose, messages) is ignored. Only files holding\n  the marker are parsed; the last definition of a token name wins.\n- Token forms: `pub const FG: &str = \"#rrggbb\";`, `static const char fg[] = \"#rrggbb\";`,\n  `--fg: #rgb;` (several per line), `FG='#rrggbb'`, `\"fg\": \"#rrggbb\"`. In design.md\n  write tokens as `fg: #rrggbb` lines so they are checked too.\n- Output, one line per directive, silent when clean:\n  ```\n  path:LINE: contrast FG\u002FBG is 4.48:1 (min 4.5)\n  path:LINE: unknown token NAME\n  ```\n- Exit: `0` clean, `1` violations, `2` usage\u002FIO error (stderr, prefixed `dl-contrast:`).\n- The plugin's PostToolUse hook runs `dl-contrast --hook` after every Write\u002FEdit and\n  reports violations back. `DL_HOOKS=0` disables hook mode.\n\n## Challenge the request\n\nWhen a requirement breaks a gate, don't silently comply. Name the gate and standard,\nthe impact, and propose an alternative (e.g. \"32 px button fails 44 px target → 48 px,\nor extend hit area with padding\"). Record it in design.md under Accessibility gates.\n\nBefore each screen ask: does it serve the job; can an element be removed; can it be\nchunked or progressively disclosed; how many decisions does the user make here.\n\n## design.md sections\n\n`## Target`, `## Flows`, `## Screens` (ASCII wireframes at the rung's sizes), `## States`\n(empty\u002Floading\u002Ferror\u002Fsuccess per screen), `## Tokens` (4–6 named hex colours with\n`dl-contrast:` pairs, type or attribute scale, spacing scale or cell grid), `## Keys`,\n`## Accessibility gates` (the rung's table from targets.md plus feature gates), `## Copy`.\n","# UX design\n\nOutput: `.dev-docs\u002Ffeatures\u002F\u003Cslug>\u002Fdesign.md`, following the contract in\n`${CLAUDE_SKILL_DIR}\u002F..\u002Fworkflow\u002Freferences\u002Fartifacts.md`. Read `product.md` first if it\nexists; design nothing that its Scope cuts.\n\n## Gates\n\nGates per rung: `${CLAUDE_SKILL_DIR}\u002Freferences\u002Ftargets.md`; copy the chosen rung's table\ninto design.md `## Accessibility gates`. WCAG detail: `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwcag.md`.\n\n## Procedure\n\n0. **Target.** Choose the rung via targets.md; record the Target line and the embedding\n   modes from `${CLAUDE_SKILL_DIR}\u002F..\u002Fsuckless-code\u002Freferences\u002Fconventions.md`. Above the\n   CLI rung, the UI is a front end over an engine that runs headless.\n1. **Ground in the subject.** Name the product's domain, its users and the mood the\n   domain earns (a ledger is calm and dense; a kids' game is loud). Derive palette, type\n   and density from that, not from current SaaS fashion.\n2. **Flows.** List each user job as a numbered path: entry → steps → exit. Cut steps that\n   don't serve the job.\n3. **Token plan before code.**\n   - 4–6 named hex colours (background, surface, text, muted, accent, danger) with\n     contrast ratios checked against their backgrounds; a type or attribute scale; a\n     spacing scale on a 4 or 8 px grid, or the cell grid.\n   - C\u002FRust programs keep tokens as constants in `config.def.h`\u002F`config.def.rs` (dwm\n     colour-scheme style); web keeps CSS custom properties in the master token file.\n   - Every fg\u002Fbg pair gets a `dl-contrast: FG BG [MIN]` comment line next to the tokens.\n   - Run `${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdl-contrast \u003Cfile>` until it is silent.\n4. **ASCII wireframes** for each screen. Terminal: 80×24, then 40×12. GUI: 1280×800,\n   then 640×400. Web: 375 first. Mark the primary action.\n5. **Keys.** A table mapping every action to a key (web: tab order and shortcuts).\n6. **Review the plan** against the brief and `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fanti-patterns.md`.\n   Any hit → change the plan, not the excuse.\n7. **One bold choice.** Pick a single distinctive element (a typeface, an accent, a layout\n   move) and keep everything else quiet. Write the choice and its reason in design.md.\n8. **Every state.** For each screen design empty (first use and no results), loading\n   (skeleton, never blank), error (what failed + how to recover) and success.\n9. **Copy.** Real text, not lorem ipsum. Buttons are verbs; errors say what to do next.\n10. Write design.md with `Status: draft`. In the reply, show what the user approves: the\n    Target line, the Keys table, the States per screen and the token names with their\n    contrast pairs and ratios; then ask the user to approve.\n\nAfter implementation, run the `ui-verify` skill against the rung's gates.\n\n## Tokens: master + overrides\n\n- One master token file is the single source of base values (colour, type, spacing):\n  `config.def.*` for C\u002FRust programs, the master CSS file for the web.\n- An override file holds only the keys that differ for one page or feature (e.g. denser\n  dashboard spacing), using the same key paths; the build merges master ← override.\n- Global or permanent changes go in master, never in an override. Never copy master\n  values into overrides.\n\n## Checker: dl-contrast\n```\n${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdl-contrast [PATH...]   # default PATH is .\n```\n- Directive: a line that starts, after an optional comment leader (`\u002F\u002F`, `\u002F*`, `\u003C!--`,\n  `#`, `;`, `*`, `%`, `-`), with `dl-contrast:` then FG, BG and an optional MIN\n  (default 4.5). The marker mid-line (prose, messages) is ignored. Only files holding\n  the marker are parsed; the last definition of a token name wins.\n- Token forms: `pub const FG: &str = \"#rrggbb\";`, `static const char fg[] = \"#rrggbb\";`,\n  `--fg: #rgb;` (several per line), `FG='#rrggbb'`, `\"fg\": \"#rrggbb\"`. In design.md\n  write tokens as `fg: #rrggbb` lines so they are checked too.\n- Output, one line per directive, silent when clean:\n  ```\n  path:LINE: contrast FG\u002FBG is 4.48:1 (min 4.5)\n  path:LINE: unknown token NAME\n  ```\n- Exit: `0` clean, `1` violations, `2` usage\u002FIO error (stderr, prefixed `dl-contrast:`).\n- The plugin's PostToolUse hook runs `dl-contrast --hook` after every Write\u002FEdit and\n  reports violations back. `DL_HOOKS=0` disables hook mode.\n\n## Challenge the request\n\nWhen a requirement breaks a gate, don't silently comply. Name the gate and standard,\nthe impact, and propose an alternative (e.g. \"32 px button fails 44 px target → 48 px,\nor extend hit area with padding\"). Record it in design.md under Accessibility gates.\n\nBefore each screen ask: does it serve the job; can an element be removed; can it be\nchunked or progressively disclosed; how many decisions does the user make here.\n\n## design.md sections\n\n`## Target`, `## Flows`, `## Screens` (ASCII wireframes at the rung's sizes), `## States`\n(empty\u002Floading\u002Ferror\u002Fsuccess per screen), `## Tokens` (4–6 named hex colours with\n`dl-contrast:` pairs, type or attribute scale, spacing scale or cell grid), `## Keys`,\n`## Accessibility gates` (the rung's table from targets.md plus feature gates), `## Copy`.\n",{"name":5,"description":7},"main","02aa71ce4bc4511265a1469ef79ed215a71f9b2f","plugins\u002Fdeadlion\u002Fskills\u002Fux-design","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio","https:\u002F\u002Fgithub.com\u002FVolkovIlia","2026-10-15 18:45:06",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add VolkovIlia\u002Fdeadlion-studio --skill ux-design",{"tool":36,"command":37},"bunx","bunx skills add VolkovIlia\u002Fdeadlion-studio --skill ux-design",{"tool":39,"command":40},"pnpm","pnpm dlx skills add VolkovIlia\u002Fdeadlion-studio --skill ux-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fux-design\u002FSKILL.md",true,[44,50,54,58],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fanti-patterns.md","REFERENCE","参考文档",3402,"https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fux-design\u002Freferences\u002Fanti-patterns.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Ftargets.md",4209,"https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fux-design\u002Freferences\u002Ftargets.md",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fwcag.md",1886,"https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fux-design\u002Freferences\u002Fwcag.md",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fdl-contrast","SCRIPT","脚本",6225,"https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fux-design\u002Fscripts\u002Fdl-contrast",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7EMCBYGSW1DZJP59294W9NP","write-plan","Turns approved product\u002Fdesign\u002Farchitecture artifacts or a clear request into plan.md: small ordered tasks, each with exact files, a test written first and a verification command. Use before implementing anything larger than a one-file change.","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fwrite-plan\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7EMC7ANMETP06JQ1158G7MS","workflow","Runs the deadlion pipeline (product → design → decompose → architecture → plan → build → review → verify) through plain-text artifacts in .dev-docs\u002F. Use when the user starts a new product, system, feature or multi-step change, or asks what to do next.","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fworkflow\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7EMC46H7411EB9DVQQPHESC","verify","Evidence before claims: before saying work is done, fixed or passing, run the proving command fresh, read its output and the git diff, and report VERIFIED and NOT VERIFIED items separately. Use before declaring any task complete and after any subagent reports success.","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7EMBV6DXFPQ5B7DVJFADTRB","unix-design","Designs the internals of one program or sub-project as small single-purpose modules with plain-text interfaces, separated mechanism and policy, and one build\u002Frun command each, following the Unix philosophy. Writes arch.md. Use when designing a new feature's architecture inside a program, a CLI, module or data flow; for splitting a system into several programs use decompose.","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Funix-design\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7EMBQ2M8RB244K803J257NP","ui-verify","Verifies a running UI against the gates in design.md — web pages in a real browser via the Playwright MCP (screenshots at 375\u002F768\u002F1280 px, console errors, axe scan, touch targets), terminal programs through dl-tui in a headless tmux (screens at 80×24, 40×12 and 20×5, NO_COLOR, key scripts per state, terminal restore, stdout purity), and token contrast with dl-contrast. Use after implementing or changing any UI, or when the user asks to check how a screen looks or works.","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Fui-verify\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7EMBHXM6HQGPJ2J0BEVEEZ3","testing","Test strategy and execution: test-first, isolated unit tests, then integration, then regression; tests assert behaviour, boundaries and errors, never wiring or mock echoes; make test and test.sh for programs, fixture tests for contracts; memory-safe fixtures for large suites. Use when writing tests, choosing what to test, or when a test suite is slow, flaky or runs out of memory.","https:\u002F\u002Fgithub.com\u002FVolkovIlia\u002Fdeadlion-studio\u002Fblob\u002Fmain\u002Fplugins\u002Fdeadlion\u002Fskills\u002Ftesting\u002FSKILL.md",[],[]]