[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DFQXWYTX56X700GP4VKG86":3,"skill-same:01M7DFQXWYTX56X700GP4VKG86":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7DFQXWYTX56X700GP4VKG86","dsh-client-ui-ux",null,"Design and review DeepSeek Harness client UI changes — visual token discipline, reuse-before-adding, feedback surfaces (toast vs in-place notice vs empty state), overlay and menu safety, platform window adaptation, loading states, and error copy placement. Use when adding or changing product-user-visible GUI behavior in packages\u002Fclient, or when reviewing such a PR.","Samera2022\u002FTK-DSH","Samera2022","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106940556?v=4","01M7DFQ9J88HHH3ZA4P17A1JQZ","01M7DFQ9KABNM1D2NEAX5CNY31",0,"MIT","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fdsh-client-ui-ux\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dsh-client-ui-ux\ndescription: Design and review DeepSeek Harness client UI changes — visual token discipline, reuse-before-adding, feedback surfaces (toast vs in-place notice vs empty state), overlay and menu safety, platform window adaptation, loading states, and error copy placement. Use when adding or changing product-user-visible GUI behavior in packages\u002Fclient, or when reviewing such a PR.\n---\n\n# DeepSeek Harness Client UI\u002FUX\n\nThis skill is guidance, not a complete checklist. It covers judgment calls that lint, typecheck, and the i18n gate cannot make: where feedback appears, what gets reused, and how surfaces behave at window edges and across platforms. Copy quality itself follows [dsh-prose-standard](..\u002Fdsh-prose-standard\u002FSKILL.md); locale ownership follows the [locale-owned copy decision](..\u002F..\u002Fnotes\u002Fimplemented\u002Farchitecture\u002F2026-08-23-locale-owned-client-ui-copy.md); styling ownership and token rules live in [docs\u002Fweb-styling.md](..\u002F..\u002F..\u002Fdocs\u002Fweb-styling.md) and the [ui-primitives component catalog](..\u002F..\u002F..\u002Fpackages\u002Fclient\u002Fui-primitives\u002FREADME.md#component-catalog) — this skill adds judgment on top of those rules, not a second copy of them.\n\n## Visual foundation\n\n- **Use existing tokens for color, radius, and spacing.** Before introducing a literal value, search the target page and its nearest established sibling (the Plugins page is the usual reference for full-page surfaces) for the token or value already in use, and adopt it. The same applies to whole treatments — toasts, menus, in-message artifact previews, sidebar tab layout, colors, clearance rules, page padding: reuse the established component or rule wherever one exists instead of inventing a parallel one.\n- **Verify every color in both light and dark mode.** An ink\u002Fbackground pair must stay readable under both themes before it ships. Dimmed tones are the standing counter-example: they suit decorative surfaces, but on text they routinely fall below readability in one theme — never put a dimmed color on text without checking both.\n- **Font weight tops out at 500 in feature CSS you add or change.** Do not use 600+ for emphasis; differentiate with size or ink instead. The markdown typography tokens owned by ui-theme are the standing exception.\n- **Pick font sizes from the theme typography variables when an existing role matches, otherwise from the page's existing scale.** Parallel content shares one size; never invent a size for a single element, and keep the number of distinct sizes on a page small (13px is the established row\u002Fdetail size). When the page itself has no precedent, borrow the size and spacing ratios of the most similar existing page or element.\n- **Icons, text, and neighbouring elements stay proportionate and aligned.** Every element lines up with its siblings along a deliberate axis (baseline, vertical center, or shared edge), and an icon's size stays in proportion to the text beside it; never ship an element that aligns to nothing or visibly outweighs its neighbours.\n\n## Reuse before adding\n\n- **Extend an existing component, container, or interaction before creating a new one.** A new capability that fits an existing surface (an extra menu item, a new prop on an existing primitive) beats a parallel element stacked beside it.\n- **Icons come from the existing icon library.** Pick the semantically closest existing icon; a new glyph requires designer approval before it lands — when reviewing a PR that adds one, suggest requesting a designer review.\n- **Right-sidebar content registers a slot in the existing sidebar**, never a separate sidebar. Every sidebar tab declares a tab icon matching its meaning.\n- **Icon-only actions whose meaning is not obvious get a Tooltip.** Informational content the pointer must rest on or select uses HoverCard instead. Prefer these shared primitives over ad-hoc title attributes.\n\n## Feedback surfaces\n\nChoose the surface by the lifetime of the message relative to the surface that produced it:\n\n- **Transient operation outcomes use the app-wide Toast primitive**, not in-place notices, and the toast's state and rendering live in a host that outlives the reporting surface (a `shell.overlay` entry, as RowActionToast does) — a toast rendered by the panel itself unmounts with that panel. A deletion can close the panel or tab that requested it; only a toast held outside that surface survives the close. Report success and failure; do not report still-pending states.\n- **A failed operation keeps the data visible.** A failed deletion keeps its row; the toast announces the failure. Never blank content to show an error for a transient operation.\n- **In-place notices are for states tied to the surface itself**: a query failure with its Retry action, field validation on the form that owns the field. A populated panel keeps a compact notice beside its retained content; only an empty panel centers a full error state.\n- **Error copy is plain language, and short.** No internal jargon or technical nouns unless an error code must be exposed for debugging. Prefer one clear sentence; anything explainable in two sentences must not grow into paragraphs. A Chinese notice of at most two sentences omits the trailing 句号（。）. The notice must not break the existing layout — reserve its space or overlay it; never shift neighbouring elements.\n\n## Loading states\n\n- Lists use their skeleton; every other page-level load centers a bare spinner. Never place a spinner in a corner of the page.\n- One loading treatment per page\u002Fcomponent — concurrent regions must not each flash their own style.\n- No loading text unless the context needs it (narrow sidebars almost never do).\n\n## Overlays and menus\n\nEvery menu, popover, and tooltip must be verified for all three before merge:\n\n- **Dismissable**: outside click (and Escape where focusable) closes it.\n- **Viewport-fitting**: it slides or flips to stay inside the window with an edge margin, and flips only into a side that actually fits (no oscillation when neither side fits).\n- **Unclipped**: it escapes `overflow` ancestors and containing blocks (portal to body where needed) and is never covered by neighbouring elements.\n\nScrollbars stay inside their container: use the shared scrollbar styles rather than component-specific selectors, and verify the bar neither overflows the container nor gets clipped by its rounded corners or edges — keep a small inset instead of letting it sit flush against the container edge.\n\n## Platform window adaptation\n\n- Any new header element or full page must account for macOS and Windows window chrome. On macOS the titlebar clearance is `--dsh-frame-top-clearance`, consumed by Menu, Modal, and overlay primitives as their top safe margin — **never change the global variable to fix one page**. Add a scoped `[data-platform='darwin']` override on the page's own inset instead, and assert the override in the page's stylesheet spec.\n- State the intended total offset (clearance + page inset) when reviewing, so two pages aligning to \"the same top spacing\" agree on the sum, not just one addend.\n\n## Spacing review\n\n- Review every changed region for gaps: nothing sits flush against its neighbour without an intentional gap, and adjacent icons and elements keep the region's established spacing.\n- Prefer symmetry for parallel elements; an unexplained one-off gap or offset usually signals a missed shared value.\n\n## Design review escalation\n\n- A PR with extensive UI changes, or any clearly user-perceivable change to UI or interaction, must get a designer or product review. When no approver holds that role, suggest requesting one from the design\u002Fproduct reviewers (roster as of 2026-09: yx zhang, yifffan, zhangziya, gaokaige; update this list here when membership changes).\n","# DeepSeek Harness Client UI\u002FUX\n\nThis skill is guidance, not a complete checklist. It covers judgment calls that lint, typecheck, and the i18n gate cannot make: where feedback appears, what gets reused, and how surfaces behave at window edges and across platforms. Copy quality itself follows [dsh-prose-standard](..\u002Fdsh-prose-standard\u002FSKILL.md); locale ownership follows the [locale-owned copy decision](..\u002F..\u002Fnotes\u002Fimplemented\u002Farchitecture\u002F2026-08-23-locale-owned-client-ui-copy.md); styling ownership and token rules live in [docs\u002Fweb-styling.md](..\u002F..\u002F..\u002Fdocs\u002Fweb-styling.md) and the [ui-primitives component catalog](..\u002F..\u002F..\u002Fpackages\u002Fclient\u002Fui-primitives\u002FREADME.md#component-catalog) — this skill adds judgment on top of those rules, not a second copy of them.\n\n## Visual foundation\n\n- **Use existing tokens for color, radius, and spacing.** Before introducing a literal value, search the target page and its nearest established sibling (the Plugins page is the usual reference for full-page surfaces) for the token or value already in use, and adopt it. The same applies to whole treatments — toasts, menus, in-message artifact previews, sidebar tab layout, colors, clearance rules, page padding: reuse the established component or rule wherever one exists instead of inventing a parallel one.\n- **Verify every color in both light and dark mode.** An ink\u002Fbackground pair must stay readable under both themes before it ships. Dimmed tones are the standing counter-example: they suit decorative surfaces, but on text they routinely fall below readability in one theme — never put a dimmed color on text without checking both.\n- **Font weight tops out at 500 in feature CSS you add or change.** Do not use 600+ for emphasis; differentiate with size or ink instead. The markdown typography tokens owned by ui-theme are the standing exception.\n- **Pick font sizes from the theme typography variables when an existing role matches, otherwise from the page's existing scale.** Parallel content shares one size; never invent a size for a single element, and keep the number of distinct sizes on a page small (13px is the established row\u002Fdetail size). When the page itself has no precedent, borrow the size and spacing ratios of the most similar existing page or element.\n- **Icons, text, and neighbouring elements stay proportionate and aligned.** Every element lines up with its siblings along a deliberate axis (baseline, vertical center, or shared edge), and an icon's size stays in proportion to the text beside it; never ship an element that aligns to nothing or visibly outweighs its neighbours.\n\n## Reuse before adding\n\n- **Extend an existing component, container, or interaction before creating a new one.** A new capability that fits an existing surface (an extra menu item, a new prop on an existing primitive) beats a parallel element stacked beside it.\n- **Icons come from the existing icon library.** Pick the semantically closest existing icon; a new glyph requires designer approval before it lands — when reviewing a PR that adds one, suggest requesting a designer review.\n- **Right-sidebar content registers a slot in the existing sidebar**, never a separate sidebar. Every sidebar tab declares a tab icon matching its meaning.\n- **Icon-only actions whose meaning is not obvious get a Tooltip.** Informational content the pointer must rest on or select uses HoverCard instead. Prefer these shared primitives over ad-hoc title attributes.\n\n## Feedback surfaces\n\nChoose the surface by the lifetime of the message relative to the surface that produced it:\n\n- **Transient operation outcomes use the app-wide Toast primitive**, not in-place notices, and the toast's state and rendering live in a host that outlives the reporting surface (a `shell.overlay` entry, as RowActionToast does) — a toast rendered by the panel itself unmounts with that panel. A deletion can close the panel or tab that requested it; only a toast held outside that surface survives the close. Report success and failure; do not report still-pending states.\n- **A failed operation keeps the data visible.** A failed deletion keeps its row; the toast announces the failure. Never blank content to show an error for a transient operation.\n- **In-place notices are for states tied to the surface itself**: a query failure with its Retry action, field validation on the form that owns the field. A populated panel keeps a compact notice beside its retained content; only an empty panel centers a full error state.\n- **Error copy is plain language, and short.** No internal jargon or technical nouns unless an error code must be exposed for debugging. Prefer one clear sentence; anything explainable in two sentences must not grow into paragraphs. A Chinese notice of at most two sentences omits the trailing 句号（。）. The notice must not break the existing layout — reserve its space or overlay it; never shift neighbouring elements.\n\n## Loading states\n\n- Lists use their skeleton; every other page-level load centers a bare spinner. Never place a spinner in a corner of the page.\n- One loading treatment per page\u002Fcomponent — concurrent regions must not each flash their own style.\n- No loading text unless the context needs it (narrow sidebars almost never do).\n\n## Overlays and menus\n\nEvery menu, popover, and tooltip must be verified for all three before merge:\n\n- **Dismissable**: outside click (and Escape where focusable) closes it.\n- **Viewport-fitting**: it slides or flips to stay inside the window with an edge margin, and flips only into a side that actually fits (no oscillation when neither side fits).\n- **Unclipped**: it escapes `overflow` ancestors and containing blocks (portal to body where needed) and is never covered by neighbouring elements.\n\nScrollbars stay inside their container: use the shared scrollbar styles rather than component-specific selectors, and verify the bar neither overflows the container nor gets clipped by its rounded corners or edges — keep a small inset instead of letting it sit flush against the container edge.\n\n## Platform window adaptation\n\n- Any new header element or full page must account for macOS and Windows window chrome. On macOS the titlebar clearance is `--dsh-frame-top-clearance`, consumed by Menu, Modal, and overlay primitives as their top safe margin — **never change the global variable to fix one page**. Add a scoped `[data-platform='darwin']` override on the page's own inset instead, and assert the override in the page's stylesheet spec.\n- State the intended total offset (clearance + page inset) when reviewing, so two pages aligning to \"the same top spacing\" agree on the sum, not just one addend.\n\n## Spacing review\n\n- Review every changed region for gaps: nothing sits flush against its neighbour without an intentional gap, and adjacent icons and elements keep the region's established spacing.\n- Prefer symmetry for parallel elements; an unexplained one-off gap or offset usually signals a missed shared value.\n\n## Design review escalation\n\n- A PR with extensive UI changes, or any clearly user-perceivable change to UI or interaction, must get a designer or product review. When no approver holds that role, suggest requesting one from the design\u002Fproduct reviewers (roster as of 2026-09: yx zhang, yifffan, zhangziya, gaokaige; update this list here when membership changes).\n",{"name":5,"description":7},"master","ab90337f410e7454ca9dc530eec914c57ca103d3",".agents\u002Fskills\u002Fdsh-client-ui-ux","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH","https:\u002F\u002Fgithub.com\u002FSamera2022","2026-10-03 09:38:24",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Samera2022\u002FTK-DSH --skill dsh-client-ui-ux",{"tool":35,"command":36},"bunx","bunx skills add Samera2022\u002FTK-DSH --skill dsh-client-ui-ux",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Samera2022\u002FTK-DSH --skill dsh-client-ui-ux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fdsh-client-ui-ux\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7DFTJFTENNMHWBT60MYX3MQ","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fuser-only-skill\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7DFTGYDSEYVE815K96HDJ56","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fsnapshot-skill\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7DFTFDW90RPJR51X1RE265N","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fmodel-only-skill\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7DFT8W3RAFSK5WX339F21ZE","office-xlsx","Read, create, and modify Excel workbooks (.xlsx), including data, formulas, formatting, and pandas analysis. Use for Excel inputs or deliverables. Load before running Office commands. Data and formula tasks skip visual inspection; inspect only for formatting or layout needs. Use only bundled LibreOffice unless the user explicitly opts out; without that opt-out, do not search for another LibreOffice executable.","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-xlsx\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7DFT4SKPXDT3Z0RRVNDS25G","office-pptx","Create, read, edit, and check PowerPoint presentations (.pptx), including slide text, tables, images, and charts. Use when a PPTX file is an input or requested deliverable. Load this skill before running Office commands. Use only bundled LibreOffice unless the user explicitly opts out; without that opt-out, do not search for another LibreOffice executable.","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-pptx\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7DFT0ZW6N4818N6W4JZWK09","office-docx","Create, read, edit, and check Word documents (.docx), including reports, letters, and formatted tables. Use when a DOCX file is an input or requested deliverable. Load this skill before running Office commands. Use only bundled LibreOffice unless the user explicitly opts out; without that opt-out, do not search for another LibreOffice executable.","https:\u002F\u002Fgithub.com\u002FSamera2022\u002FTK-DSH\u002Fblob\u002Fmaster\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-docx\u002FSKILL.md",[],[]]