[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FCN5SBFYQMMATWXDDFBYE0":3,"skill-same:01M7FCN5SBFYQMMATWXDDFBYE0":45},{"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":29,"updatedAt":30,"install":31,"resources":44},"01M7FCN5SBFYQMMATWXDDFBYE0","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.","bhjia-phys\u002FAITP-agent","bhjia-phys","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F177605027?v=4","01M7FCMB9A3SGB3C2VY4K0RR2P","Bohan Jia","01M7FCMBA57SVVPTA0XRYWTEMK",1,"MIT","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdsh-client-ui-ux\u002FSKILL.md",[],[],"2026-11-16 10:05:34",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},"main","a9ff3d33354e68b485f4e60904cab6a2a2e1e0cd",".agents\u002Fskills\u002Fdsh-client-ui-ux","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent","https:\u002F\u002Fgithub.com\u002Fbhjia-phys","Theoretical Physics","2026-11-12 04:08:49",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add bhjia-phys\u002FAITP-agent --skill dsh-client-ui-ux",{"tool":37,"command":38},"bunx","bunx skills add bhjia-phys\u002FAITP-agent --skill dsh-client-ui-ux",{"tool":40,"command":41},"pnpm","pnpm dlx skills add bhjia-phys\u002FAITP-agent --skill dsh-client-ui-ux","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdsh-client-ui-ux\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7FCT9EVBCHBH5C37QGYJ8DT","user-only-skill","Prove model-disabled skills stay outside the model catalog.","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fuser-only-skill\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FCT7VN5HQCMR2GFQV5VWKB","snapshot-skill","Exercise project skill discovery and loading in snapshot tests.","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fsnapshot-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7FCT4MKQD3SYF2XT5HCB9JH","model-only-skill","Prove user-disabled skills remain available to the model.","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002Fsnapshots\u002Fsession\u002Fskill-load\u002Fworkspace\u002F.dsh\u002Fskills\u002Fmodel-only-skill\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7FCT2CSTVNFJ84EYW3QRE2X","office","Create, edit, inspect, or convert Office documents, spreadsheets, presentations, and PDFs. Load to choose the relevant workflow.","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7FCT0G68CCDKH37R96FMT2T","office-xlsx","Read, create, edit, and validate Excel workbooks, data, and formulas (.xlsx).","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-xlsx\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7FCSWM0FK0F4ZMFNWQF75QC","office-render","Render requested document images or inspect visual layout with LibreOffice Kit.","https:\u002F\u002Fgithub.com\u002Fbhjia-phys\u002FAITP-agent\u002Fblob\u002Fmain\u002Fpackages\u002Fskill\u002Fskill-office\u002Fassets\u002Foffice-render\u002FSKILL.md",[],[]]