[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AH449ZNKATY9S4VPRPRWGN":3,"skill-same:01M7AH449ZNKATY9S4VPRPRWGN":46},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7AH449ZNKATY9S4VPRPRWGN","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.","cherrchen\u002FRivetdeck","cherrchen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113243001?v=4","01M7AH3EC0EWB5GRQMBPX46VN1","Cherry Chen","01M7AH3ED2YG2JDE7EWABXK4YA",2,"MIT","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\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## Architecture prerequisites\n\nComponent structure, state flow, and effect usage follow the architecture rules; read them before redesigning a component:\n\n- [packages\u002Fclient\u002FAGENTS.md](..\u002F..\u002F..\u002Fpackages\u002Fclient\u002FAGENTS.md) — Slot and props discipline, reactive read, export, ctx, and layering rules.\n- [Client component rules](..\u002F..\u002F..\u002Fdocs\u002Fdefensive-patterns\u002Fclient-components.md) — those requirements stated with the defects they prevent.\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\nApply [dsh-error-handling](..\u002Fdsh-error-handling\u002FSKILL.md#localized-actionable-visible-reports) to failure reports. Choose 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## Responsive layouts\n\nUse [dsh-responsive-ui](..\u002Fdsh-responsive-ui\u002FSKILL.md) for responsive layouts, text truncation, title wrapping, icon-only controls, and focus during width changes.\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## Architecture prerequisites\n\nComponent structure, state flow, and effect usage follow the architecture rules; read them before redesigning a component:\n\n- [packages\u002Fclient\u002FAGENTS.md](..\u002F..\u002F..\u002Fpackages\u002Fclient\u002FAGENTS.md) — Slot and props discipline, reactive read, export, ctx, and layering rules.\n- [Client component rules](..\u002F..\u002F..\u002Fdocs\u002Fdefensive-patterns\u002Fclient-components.md) — those requirements stated with the defects they prevent.\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\nApply [dsh-error-handling](..\u002Fdsh-error-handling\u002FSKILL.md#localized-actionable-visible-reports) to failure reports. Choose 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## Responsive layouts\n\nUse [dsh-responsive-ui](..\u002Fdsh-responsive-ui\u002FSKILL.md) for responsive layouts, text truncation, title wrapping, icon-only controls, and focus during width changes.\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},"develop","fcb5706cc453a698b2523fd0da2f4b0d2a219a77",".agents\u002Fskills\u002Fdsh-client-ui-ux",0,"https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck","https:\u002F\u002Fcherrchen.github.io\u002Frivetdeck-website","https:\u002F\u002Fgithub.com\u002Fcherrchen","2026-10-31 22:25:44",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add cherrchen\u002FRivetdeck --skill dsh-client-ui-ux",{"tool":38,"command":39},"bunx","bunx skills add cherrchen\u002FRivetdeck --skill dsh-client-ui-ux",{"tool":41,"command":42},"pnpm","pnpm dlx skills add cherrchen\u002FRivetdeck --skill dsh-client-ui-ux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdsh-client-ui-ux\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7AH7JP2AYE3M7P1YPATS12Z","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fuser-only-skill\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7AH7GMX5T090G1KX1951VR8","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fsnapshot-skill\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7AH7F07FQGHVX8FDD65VF8F","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fmodel-only-skill\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7AH7CRT84GJQ7BAS6XRCT7J","office","Create, edit, inspect, or convert Office documents, spreadsheets, presentations, and PDFs. Load to choose the relevant workflow.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AH7AY6691M35XHSNX8SGH7","office-xlsx","Read, create, edit, and validate Excel workbooks, data, and formulas (.xlsx).","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-xlsx\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7AH78Y7SNJA5KS9S18TE9ST","office-render","Render requested document images or inspect visual layout with LibreOffice Kit.","https:\u002F\u002Fgithub.com\u002Fcherrchen\u002FRivetdeck\u002Fblob\u002Fdevelop\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-render\u002FSKILL.md",[],[]]