[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DMDG756Q30X5G62CHWD487":3,"skill-same:01M7DMDG756Q30X5G62CHWD487":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7DMDG756Q30X5G62CHWD487","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.","arzvaak\u002FBharatCode-Harness","arzvaak","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F66210729?v=4","01M7DMD1PNVD1R4C473WYBX88X","01M7DMD1QR8H8QQY7FK14KMMRH",0,"MIT","https:\u002F\u002Fgithub.com\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\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},"implementation\u002Fcore-extension-store","091701ca5a621697bf357a7eb654d699468c6200",".agents\u002Fskills\u002Fdsh-client-ui-ux","https:\u002F\u002Fgithub.com\u002Farzvaak\u002FBharatCode-Harness","https:\u002F\u002Farzvaak.github.io\u002FBharatCode-Harness\u002F","https:\u002F\u002Fgithub.com\u002Farzvaak","2026-11-07 04:07:44",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add arzvaak\u002FBharatCode-Harness --skill dsh-client-ui-ux",{"tool":36,"command":37},"bunx","bunx skills add arzvaak\u002FBharatCode-Harness --skill dsh-client-ui-ux",{"tool":39,"command":40},"pnpm","pnpm dlx skills add arzvaak\u002FBharatCode-Harness --skill dsh-client-ui-ux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002F.agents\u002Fskills\u002Fdsh-client-ui-ux\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7DMGTGVNV395QREH8KYS1WJ","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fuser-only-skill\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7DMGRX3R4BGDKH3B6S5XBBC","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fsnapshot-skill\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7DMGNPK8FC86W4PK3WY28JX","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fmodel-only-skill\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7DMGFS8TJQJN069912Q3CAH","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\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-xlsx\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7DMGB0TGZWF0Y857P7803ZB","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\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-pptx\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7DMG6VBMAW4Q5BRDR1PBP03","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\u002Farzvaak\u002FBharatCode-Harness\u002Fblob\u002Fimplementation\u002Fcore-extension-store\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-docx\u002FSKILL.md",[],[]]