[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CXK6MP96X25469MQSX8ZRF":3,"skill-same:01M7CXK6MP96X25469MQSX8ZRF":56},{"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":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7CXK6MP96X25469MQSX8ZRF","dsh-ui",null,"Use when building, styling, or reviewing in-harness UI — the BotHarness client plugin inside the DeepSeek Harness Web Client. Trigger on new or changed components under `packages\u002Fclient`, layout or padding alignment with native DSH, tokens\u002Fprimitives or theme questions, slot and shadow wiring, and any \"match the native shell\" request.","BotHarness\u002FDeepSeekBot","BotHarness","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F330270786?v=4","01M7CX37EXWM53FHAQ28JNKZTZ","01M7CX37FHA8NY5D2KXFZWV63Y",852,"MIT","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdsh-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dsh-ui\ndescription: Use when building, styling, or reviewing in-harness UI — the BotHarness client plugin inside the DeepSeek Harness Web Client. Trigger on new or changed components under `packages\u002Fclient`, layout or padding alignment with native DSH, tokens\u002Fprimitives or theme questions, slot and shadow wiring, and any \"match the native shell\" request.\n---\n\n# DSH-native UI\n\nThe in-harness UI is part of the shell, not a standalone app (ADR-0028): style with `--dsw-*` tokens, compose with `ui-primitives`, and copy the native layout contract instead of inventing spacing. **Measure the running shell; do not guess.**\n\nBefore designing or reviewing a changed surface, apply the shared [UI design standard](..\u002F..\u002F..\u002Fdocs\u002Fagents\u002Fui-design.md) and its review gate: layout, icons and interaction carry the task; prose supplies only necessary context.\n\n## Build order\n\n1. **Slot wiring** — register through the documented seams: `sidebar.footer.action` for the persistent entry; shadow `sidebar.workspaces` and `main key=conversation` only while a mode is active, reconciling from one store and disposing on exit. Desktop Bot mode also shadows the whole `sidebar` slot at `-1` to draw the Bot mode sidebar (ADR-0203); a shadow cannot re-render the native `sidebar.*` sub-slots, so it must provide its own way out of Bot mode. Keep one entry per concept. Done when the entry appears in the running shell and the shipped UI returns intact when the mode is off.\n2. **Tokens** — every colour, font, and radius reads from `--dsw-*` (static\u002Falias\u002Fspecific layers); dark arrives through `body[data-ds-dark-theme]`. Brand accents stay inside the ≤3-entry alias block. Done when the `styles-tokens` guard passes and a dark pass shows no unreadable text.\n3. **Design system** — build Bot-mode surfaces from `packages\u002Fclient\u002Fsrc\u002Fclient\u002Fds\u002F` (ADR-0194): `SettingsDialog`, `SettingsSection`, `SettingsRow`, `Select`, `NumberStepper`, `Note`, `EmptyState`, styled with StyleX and the tokens in `ds\u002Ftokens.stylex.ts`. Follow its content rules: one title and one control per row, with an optional short description only when it adds a needed fact; switches, choices and steppers apply on change; one text field saves on Enter or blur; at most one primary button; internal ids and revisions stay out of the default view. Visible text follows [UI copy](..\u002F..\u002F..\u002Fdocs\u002Fagents\u002Fui-copy.md). Done when the `design-system-tokens` guard passes and no new `bh-` rule duplicates a component.\n4. **Composition** — for a net-new surface or control, pick the closest precedent in `references\u002Fdesign-references.md` before choosing layout; borrow composition, hierarchy, and states, not styling. Done when the PR names the borrowed pattern and every deliberate deviation.\n5. **Layout** — apply the native inset contract in `references\u002Fnative-contract.md`. Done when top-level content measures 16px from both sidebar edges and list-row backgrounds reach the scrollbar gutter.\n6. **Primitives & icons** — use the exported set (`Input`, `Tag`, `Pill`, `StateDot`, `Tooltip`, …) and `Icon*Outline16` glyphs where geometry matches; keep a custom icon only where the set has no analogue. Done when controls sit on the shell's grid; record every deliberate omission (for example the 36px capsule `Button`) in the PR.\n7. **Verify & ship** — `pnpm format && pnpm lint && pnpm typecheck && pnpm test && pnpm build`; confirm the client bundle requires only react-family plus declared baseline modules; check the `web-dev` profile in light and dark. Done when the bundle revision changed and both themes pass by eye.\n\n## Rules\n\n- **Native lookups beat intuition**: extract the shipped CSS from the installed packages before adding spacing or a control (`references\u002Fnative-contract.md` has the recipe).\n- **One authority per concept**: one mode entry, one projection of state; a second entry point reads as a second feature.\n- **Tokens over literals**; `design-system-tokens.test.ts` enforces it. StyleX styles and the plain CSS stylesheets (`styles.ts`, `*-styles.ts`, the Browser and Computer sheets) read spacing, type, radius, size, edge width and colour from `ds\u002Ftokens.stylex.ts`, interpolating the constants into CSS strings; no feature-local alias tables. The scale is small on purpose: three type sizes (12\u002F16, 13\u002F20, 14\u002F20) at weights 400 and 500, radii `xs`\u002F`sm`\u002F`md`\u002F`lg`\u002F`panel` that read `--dsw-radius-*`, edges `hairline` and `focus`, and three edge colours (`divider` inside a surface, `border` for outer edges and inputs, `borderStrong` for hover and emphasis). Separate with spacing and background before reaching for a border. A value off the scale either snaps to it (≤2px) or gets a named allowlist entry with a reason in that test; content-fixed colours (video letterbox) live in a separate delimited block with rationale.\n- **Layers match mobile** (`apps\u002Fmobile\u002FDESIGN.md`, \"Layers and states\"): Bot bubbles and cards are `color.surface` with no edge, a recessed area inside them (option lists, command previews) is `color.well`, and the Human's pick on a well is `color.accentTint`. A DM's Human bubble takes the Bot's primary colour through `humanBubbleColors`, the same rule as the mobile `withAccent`. Action-card buttons are borderless pills: primary is `fg` with a `base` label (`bh-request-primary`), secondary is the opaque `--bh-surface-selected`, and danger is `--bh-on-surface-danger` on `--bh-surface-danger`; never a translucent role as a fill.\n- **Baseline externals only** in the client bundle; adding one updates the bundle contract test in the same commit.\n- **Modes unwind**: shadows and listeners reconcile from a single store and dispose cleanly.\n\n- **Pointer menus have one positioning owner**: use `ds\u002FPointerMenu` for every application right-click menu. Pass unmodified `clientX\u002FclientY`; never add feature-local offsets or construct a coordinate proxy anchor. See the coordinate contract in `references\u002Fnative-contract.md`. Native anchored dropdowns continue to use `Menu`, except the measured compact Settings picker and shared `ds\u002FSelect` under whole-window zoom; its owning-Modal container contract is recorded in the native-contract reference.\n\n## Reference\n\n- `references\u002Fnative-contract.md` — measured sidebar geometry, the shipped-CSS extraction recipe, and the headless measurement script.\n- `references\u002Fdesign-references.md` — external precedents (coss.com\u002Fui, Beautiful UI, shadcn\u002Fui, Lucide): what to borrow and what stays out.\n- `docs\u002Fadr\u002F0194-deepseekbot-design-system-is-stylex-tokens-over-dsh.md` records the design system, its content rules and why tokens are `defineConsts`.\n- `docs\u002Fadr\u002F0028-in-harness-ui-uses-dsh-design-system.md` and `docs\u002Fresearch\u002F2026-09-18-dsh-design-tokens-vs-coss.md` hold the decision and the token inventory.\n","# DSH-native UI\n\nThe in-harness UI is part of the shell, not a standalone app (ADR-0028): style with `--dsw-*` tokens, compose with `ui-primitives`, and copy the native layout contract instead of inventing spacing. **Measure the running shell; do not guess.**\n\nBefore designing or reviewing a changed surface, apply the shared [UI design standard](..\u002F..\u002F..\u002Fdocs\u002Fagents\u002Fui-design.md) and its review gate: layout, icons and interaction carry the task; prose supplies only necessary context.\n\n## Build order\n\n1. **Slot wiring** — register through the documented seams: `sidebar.footer.action` for the persistent entry; shadow `sidebar.workspaces` and `main key=conversation` only while a mode is active, reconciling from one store and disposing on exit. Desktop Bot mode also shadows the whole `sidebar` slot at `-1` to draw the Bot mode sidebar (ADR-0203); a shadow cannot re-render the native `sidebar.*` sub-slots, so it must provide its own way out of Bot mode. Keep one entry per concept. Done when the entry appears in the running shell and the shipped UI returns intact when the mode is off.\n2. **Tokens** — every colour, font, and radius reads from `--dsw-*` (static\u002Falias\u002Fspecific layers); dark arrives through `body[data-ds-dark-theme]`. Brand accents stay inside the ≤3-entry alias block. Done when the `styles-tokens` guard passes and a dark pass shows no unreadable text.\n3. **Design system** — build Bot-mode surfaces from `packages\u002Fclient\u002Fsrc\u002Fclient\u002Fds\u002F` (ADR-0194): `SettingsDialog`, `SettingsSection`, `SettingsRow`, `Select`, `NumberStepper`, `Note`, `EmptyState`, styled with StyleX and the tokens in `ds\u002Ftokens.stylex.ts`. Follow its content rules: one title and one control per row, with an optional short description only when it adds a needed fact; switches, choices and steppers apply on change; one text field saves on Enter or blur; at most one primary button; internal ids and revisions stay out of the default view. Visible text follows [UI copy](..\u002F..\u002F..\u002Fdocs\u002Fagents\u002Fui-copy.md). Done when the `design-system-tokens` guard passes and no new `bh-` rule duplicates a component.\n4. **Composition** — for a net-new surface or control, pick the closest precedent in `references\u002Fdesign-references.md` before choosing layout; borrow composition, hierarchy, and states, not styling. Done when the PR names the borrowed pattern and every deliberate deviation.\n5. **Layout** — apply the native inset contract in `references\u002Fnative-contract.md`. Done when top-level content measures 16px from both sidebar edges and list-row backgrounds reach the scrollbar gutter.\n6. **Primitives & icons** — use the exported set (`Input`, `Tag`, `Pill`, `StateDot`, `Tooltip`, …) and `Icon*Outline16` glyphs where geometry matches; keep a custom icon only where the set has no analogue. Done when controls sit on the shell's grid; record every deliberate omission (for example the 36px capsule `Button`) in the PR.\n7. **Verify & ship** — `pnpm format && pnpm lint && pnpm typecheck && pnpm test && pnpm build`; confirm the client bundle requires only react-family plus declared baseline modules; check the `web-dev` profile in light and dark. Done when the bundle revision changed and both themes pass by eye.\n\n## Rules\n\n- **Native lookups beat intuition**: extract the shipped CSS from the installed packages before adding spacing or a control (`references\u002Fnative-contract.md` has the recipe).\n- **One authority per concept**: one mode entry, one projection of state; a second entry point reads as a second feature.\n- **Tokens over literals**; `design-system-tokens.test.ts` enforces it. StyleX styles and the plain CSS stylesheets (`styles.ts`, `*-styles.ts`, the Browser and Computer sheets) read spacing, type, radius, size, edge width and colour from `ds\u002Ftokens.stylex.ts`, interpolating the constants into CSS strings; no feature-local alias tables. The scale is small on purpose: three type sizes (12\u002F16, 13\u002F20, 14\u002F20) at weights 400 and 500, radii `xs`\u002F`sm`\u002F`md`\u002F`lg`\u002F`panel` that read `--dsw-radius-*`, edges `hairline` and `focus`, and three edge colours (`divider` inside a surface, `border` for outer edges and inputs, `borderStrong` for hover and emphasis). Separate with spacing and background before reaching for a border. A value off the scale either snaps to it (≤2px) or gets a named allowlist entry with a reason in that test; content-fixed colours (video letterbox) live in a separate delimited block with rationale.\n- **Layers match mobile** (`apps\u002Fmobile\u002FDESIGN.md`, \"Layers and states\"): Bot bubbles and cards are `color.surface` with no edge, a recessed area inside them (option lists, command previews) is `color.well`, and the Human's pick on a well is `color.accentTint`. A DM's Human bubble takes the Bot's primary colour through `humanBubbleColors`, the same rule as the mobile `withAccent`. Action-card buttons are borderless pills: primary is `fg` with a `base` label (`bh-request-primary`), secondary is the opaque `--bh-surface-selected`, and danger is `--bh-on-surface-danger` on `--bh-surface-danger`; never a translucent role as a fill.\n- **Baseline externals only** in the client bundle; adding one updates the bundle contract test in the same commit.\n- **Modes unwind**: shadows and listeners reconcile from a single store and dispose cleanly.\n\n- **Pointer menus have one positioning owner**: use `ds\u002FPointerMenu` for every application right-click menu. Pass unmodified `clientX\u002FclientY`; never add feature-local offsets or construct a coordinate proxy anchor. See the coordinate contract in `references\u002Fnative-contract.md`. Native anchored dropdowns continue to use `Menu`, except the measured compact Settings picker and shared `ds\u002FSelect` under whole-window zoom; its owning-Modal container contract is recorded in the native-contract reference.\n\n## Reference\n\n- `references\u002Fnative-contract.md` — measured sidebar geometry, the shipped-CSS extraction recipe, and the headless measurement script.\n- `references\u002Fdesign-references.md` — external precedents (coss.com\u002Fui, Beautiful UI, shadcn\u002Fui, Lucide): what to borrow and what stays out.\n- `docs\u002Fadr\u002F0194-deepseekbot-design-system-is-stylex-tokens-over-dsh.md` records the design system, its content rules and why tokens are `defineConsts`.\n- `docs\u002Fadr\u002F0028-in-harness-ui-uses-dsh-design-system.md` and `docs\u002Fresearch\u002F2026-09-18-dsh-design-tokens-vs-coss.md` hold the decision and the token inventory.\n",{"name":5,"description":7},"main","d922e716d0801fbdf6c27f023b245c8da7e4c804",".agents\u002Fskills\u002Fdsh-ui",63,"https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot","https:\u002F\u002Ftobs.app","https:\u002F\u002Fgithub.com\u002FBotHarness","https:\u002F\u002Fdeepseekbot.app\u002F","2026-11-15 06:17:31",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add BotHarness\u002FDeepSeekBot --skill dsh-ui",{"tool":38,"command":39},"bunx","bunx skills add BotHarness\u002FDeepSeekBot --skill dsh-ui",{"tool":41,"command":42},"pnpm","pnpm dlx skills add BotHarness\u002FDeepSeekBot --skill dsh-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdsh-ui\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fdesign-references.md","REFERENCE","参考文档",2793,"https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdsh-ui\u002Freferences\u002Fdesign-references.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fnative-contract.md",12468,"https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdsh-ui\u002Freferences\u002Fnative-contract.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7CY5WHFGASZATK5CQF05G0A","slide-authoring","Technical reference for writing or editing open-slide pages — file contract, 1920×1080 canvas, type scale, layout, palette\u002Fvisual direction, assets, speaker notes, stepped reveals, page transitions, and morph transitions. Consult this whenever you are about to write or modify any file under `slides\u002F\u003Cid>\u002F`, including from inside the `create-slide` or `apply-comments` workflows, or for any ad-hoc slide edit. Triggers on phrases like \"edit slide\", \"tweak this page\", \"fix the layout\", \"change the palette\", \"reveal one by one\", \"add a transition\", \"morph transition\", \"write the speaker notes\", \"generate the script \u002F talk track\", \"investigate the slide framework\", \"how do slides work here\".","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002Fapps\u002Fpresentations\u002F.agents\u002Fskills\u002Fslide-authoring\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7CY5NMS099ZRH9ECYS47ZKG","current-slide","Resolve which slide, page, and (optionally) selected element the user is currently viewing in the open-slide dev server. Consult this whenever the user references \"this page\", \"this slide\", \"this element\", \"the slide I'm on\", \"the current page\", or any deictic reference to slide content without naming it. Re-read `node_modules\u002F.open-slide\u002Fcurrent.json` at the start of every such turn — the user navigates between turns, so a value you read earlier in the conversation is almost certainly stale.","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002Fapps\u002Fpresentations\u002F.agents\u002Fskills\u002Fcurrent-slide\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7CY5G6XHNY7Y8KVGGKF654E","create-theme","Use this skill when the user wants to create, draft, author, or extract a slide theme in this open-slide repo. Triggers on phrases like \"create a theme\", \"make a theme called X\", \"extract a theme from \u003Cslide>\", \"build a theme from these images\". Produces two paired files under `themes\u002F` — `\u003Cid>.md` (palette, typography, layout, fixed Title\u002FFooter components, motion) and `\u003Cid>.demo.tsx` (a runnable demo slide that the dev-UI Themes panel previews). Do NOT use for editing real slides — only for authoring the theme bundle.","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002Fapps\u002Fpresentations\u002F.agents\u002Fskills\u002Fcreate-theme\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7CY5B0DZNEVRY95X3QEKW3C","create-slide","Use this skill when the user wants to create, draft, author, or generate new slides \u002F a presentation in this open-slide repo. Triggers on phrases like \"make slides about X\", \"make a deck about X\", \"create a presentation\", \"draft slides for\", \"new slide\", \"a deck with speaker notes \u002F a script\", or when the user asks to add content under `slides\u002F`. Do NOT use for editing the framework itself — only for authoring content inside `slides\u002F\u003Cid>\u002F`.","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002Fapps\u002Fpresentations\u002F.agents\u002Fskills\u002Fcreate-slide\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7CY57ED279GA6QC3BFMPXG5","apply-comments","Apply pending @slide-comment markers written by the open-slide inspector tool. Use when the user asks to \"apply comments\", \"process slide comments\", \"apply the inspector comments\", or references markers left inside `slides\u002F\u003Cid>\u002Findex.tsx`.","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002Fapps\u002Fpresentations\u002F.agents\u002Fskills\u002Fapply-comments\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7CY53ZCYB0P3GYM2V3MEN1N","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002FBotHarness\u002FDeepSeekBot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[]]