[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B4718WWZE47TPWVTPX8V43":3,"skill-same:01M7B4718WWZE47TPWVTPX8V43":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":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7B4718WWZE47TPWVTPX8V43","ds-build",null,"Use when writing, changing or reviewing any UI in this project, which has a design system: the Material 3 (MD3) components copied into the ds folder under its ui folder (src\u002Fcomponents\u002Fui\u002Fds). Load it before adding a screen, a table, a form or a button, before choosing a colour, type or shape class, and before editing a file in ds\u002F. Gives the rules for the role utilities, the type primitives and state layers, where the project's real values are, and what a project may change.","emyann\u002Fnemia","emyann","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4748419?v=4","01M7B458J23KJ5S5AEBR86G7RN","Yann RENAUDIN","01M7B458JPM0CCBDP4KCR6NATT",3,"MIT","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fapps\u002Fweb\u002F.claude\u002Fskills\u002Fds-build\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ds-build\ndescription: \"Use when writing, changing or reviewing any UI in this project, which has a design system: the Material 3 (MD3) components copied into the ds folder under its ui folder (src\u002Fcomponents\u002Fui\u002Fds). Load it before adding a screen, a table, a form or a button, before choosing a colour, type or shape class, and before editing a file in ds\u002F. Gives the rules for the role utilities, the type primitives and state layers, where the project's real values are, and what a project may change.\"\n---\n\n# ds-build: building with the kit\n\nThe kit is Material Design 3 components on React Aria and Tailwind v4, copied\ninto this project. Its files are in the project's tree: an edit of one is\nallowed, has a price at every update, and is rarely needed. The rule is the\nlast section.\n\n`\u003Ckit>` below is the kit's folder in this project: the `ds` folder under the\n`ui` alias of `components.json` (`src\u002Fcomponents\u002Fui\u002Fds` in most projects).\n\n| To know                                   | Read                                                                 |\n| :---------------------------------------- | :------------------------------------------------------------------- |\n| What exists and what it exports           | `\u003Ckit>\u002Findex.ts`                                                     |\n| A component's props, variants and slots   | its file in `\u003Ckit>\u002Fcomponents\u002F`, doc comment first                   |\n| The project's real values                 | `theme\u002FDESIGN.resolved.md` if the project generated a theme, else `\u003Ckit>\u002Ftokens\u002FDESIGN.resolved.md` |\n| Which utilities exist                     | `\u003Ckit>\u002Ftokens\u002Ftheme.v4.css`                                          |\n| What Material says a component should do  | the `ds-spec` skill (`.claude\u002Fskills\u002Fds-spec\u002FSKILL.md`)            |\n| How to change the look                    | the `ds-theme` skill (`.claude\u002Fskills\u002Fds-theme\u002FSKILL.md`)          |\n\n## Read values from the resolved file, never guess them\n\n`DESIGN.resolved.md` is the complete design, generated: every colour role of\nboth schemes as hex and `hsl()`, the whole type scale, the six corners, the\nelevation, motion and state values, how dark is switched, and the generator's\nwarnings. It is the reference for \"what colour is `primary-container` in\ndark\" or \"how big is `title-medium`\". Never edit it, and never copy a value\nout of it into a class: name the role.\n\n## Use what exists\n\nImport from the barrel, or deep-import one file:\n\n```tsx\nimport { Button, Card, CardContent, Title } from \"@\u002Fcomponents\u002Fui\u002Fds\";\nimport Button from \"@\u002Fcomponents\u002Fui\u002Fds\u002Fcomponents\u002FButton\";\n```\n\nLook in `\u003Ckit>\u002Findex.ts` before writing a control. The router adapters and the\nreact-hook-form adapter are not part of the whole-kit install: add\n`@ds\u002Fnext-adapter`, `@ds\u002Freact-router-adapter` or\n`@ds\u002Freact-hook-form-adapter` when the project needs one. Without a router\nadapter, `href` on a `Button`, `Chip` or menu item does a full page load.\n\nThe kit holds what Material 3's specification describes, and a named group\nof components of its own: each of those says \"Material 3 does not describe\nthis component.\" in its doc comment and cites, beside it, the Material page\nof each thing it borrows. A React Aria component that Material 3 does not\ndescribe joins that group when a project needs it, asked of the kit and\nbuilt there from Material's foundations and the nearest Material component.\nUntil then, and for anything neither Material nor React Aria describes, a\ncomponent the kit does not have is the project's: it is written beside the\nkit, not inside it, on `react-aria-components`, following the rules below.\n\nWhat the project's own component follows:\n\n- **Its measures and its look are Material's**, where Material describes the\n  component: its sizes, its states, its colour roles and its Do and Don't are\n  read on Material's pages with the `ds-spec` skill\n  (`.claude\u002Fskills\u002Fds-spec\u002FSKILL.md`), which the install brought. Where\n  Material describes nothing like it, it follows the rules below and the\n  nearest kit component.\n- **Its behaviour is React Aria's**: keyboard, focus, selection, overlays and\n  the names assistive technology reads. Adobe publishes a skill that holds\n  the library's whole documentation; the kit does not ship it. Install it\n  with\n\n  ```bash\n  npx skills add https:\u002F\u002Freact-aria.adobe.com\n  ```\n\n  and refresh it with `npx skills update`. Without it, every page of React\n  Aria's documentation is served as markdown at its own address with `.md`\n  added (`https:\u002F\u002Freact-aria.adobe.com\u002FButton.md`).\n\n## Colour: role utilities, in pairs\n\nWrite colours as the role's utility. Never a hex, never a palette class\n(`bg-blue-600`), never an arbitrary value.\n\n    bg-primary text-on-primary                            filled\n    bg-secondary-container text-on-secondary-container    tonal\n    bg-surface-container-low                              a raised surface\n    border-outline-variant                                hairlines\n    text-on-surface-variant                               supporting text\n\n- **Pairing.** A `bg-\u003Crole>` carries its `text-on-\u003Crole>`. The pair on the\n  container colours everything inside it, so children do not restate it.\n- **Content colour is inherited.** The theme sets `on-surface` as the ambient\n  colour in both schemes. `Display`, `Headline`, `Title`, `Body` and `Label`\n  assert no colour: pass `colorRole=\"on-surface-variant\"` (or another role)\n  only where inheritance is not what is wanted.\n- **Surfaces come in tiers**: `surface-container-lowest`, `-low`,\n  `surface-container`, `-high`, `-highest`. Pick a tier for depth; do not add\n  a border to fake it.\n- **Dark is free.** A role has a value in each scheme. Do not write `dark:`\n  variants for colour.\n\nIf the project also has stock shadcn components, their `bg-background`,\n`bg-card`, `bg-muted`, `border-border` read the same roles through the bridge\nfile, `\u003Ckit>\u002Ftokens\u002Fbridge-shadcn.css`, where the entry CSS imports it. `bg-primary` and `bg-secondary` are the Material roles.\n\n## Type, shape, elevation, motion\n\n- **Type**: prefer the primitives, `\u003CTitle size=\"medium\">`,\n  `\u003CBody size=\"small\">`. They carry the role's family and follow the theme's\n  roles, weight included: a role's weight or family set in `DESIGN.md` is\n  the one they draw. A raw `text-title-medium` sets size, line height,\n  tracking and weight, and no family: write `font-title-medium` beside it,\n  as the kit's own components do, and the text is in the role's family (the\n  one `DESIGN.md` writes on it, else its face). The faces themselves remain,\n  `font-brand` (display, headline, title) and `font-plain` (body, label). Write no weight class beside a role: it\n  would win over the theme's.\n  `font-mono` is the project's mono face, the one its `DESIGN.md` names or\n  else the system's: write it where the project wants one (an identifier, a\n  time, an amount). No kit component uses it.\n- **Shape**: `rounded-shape-extra-small`, `-small`, `-medium`, `-large`,\n  `-large-increased`, `-extra-large`, `-full`. Never `rounded-lg`: it does not follow the theme.\n- **Elevation**: `shadow-elevation-1` to `shadow-elevation-5`.\n- **Motion**: `duration-short-1` to `duration-long-4`, `ease-standard`,\n  `ease-emphasized` and their `-accelerate` \u002F `-decelerate` forms. Enter with\n  `ease-emphasized-decelerate`, exit with `ease-emphasized-accelerate`.\n\n## Interaction states\n\nEvery pressable shows a state layer: an overlay in the content colour whose\nopacity follows the state.\n\n- Use `StateLayer` from the kit with React Aria's render props (`isHovered`,\n  `isFocusVisible`, `isPressed`), or the utilities\n  `state-opacity-hover`, `state-opacity-focus`, `state-opacity-pressed`,\n  `state-opacity-dragged`.\n- Never Tailwind's numeric `opacity-8` for a state: it compiles to a literal\n  and the theme cannot move it.\n- Focus is `focus-visible`, never plain focus. The ring is `focusRing` from\n  `\u003Ckit>\u002Futils.ts`; extend it, do not invent another. It is an outline with\n  an unpainted 2px gap: never paint the gap, it shows the ground under it.\n- Disabled content is `on-surface` at 38 %, disabled containers at 12 %.\n- Variants are Tailwind's own (`hover:`, `focus-visible:`, `disabled:`) and\n  the data attributes React Aria emits (`data-pressed:`, `data-selected:`,\n  `data-entering:`, `data-exiting:`). No Tailwind plugin.\n\n## Classes and parts\n\n- Merge classes with `cn` from `\u003Ckit>\u002Futils.ts`, and build styles with its\n  `tv`. They know the kit's scales, so a `className` passed by a caller wins\n  over the kit's own utility. A second merge function in the project must be\n  built from the kit's `twMergeConfig`, or overrides produce two competing\n  classes.\n- Every kit root carries `data-slot=\"\u003Ccomponent>\"`. Target a part by its slot,\n  never by a class name.\n- Anything backed by React Aria is a client component. `Card`, `ListItem`,\n  `MenuItem`, `Tag`, `Badge`, `Divider`, `TopAppBar`, `EmptyState`,\n  `DialogContent` and the type primitives render on the server.\n- Icons are any component taking `{ size, className }`. The kit ships no icon\n  library.\n\n## What a project may change\n\nOne rule: **an edit of a kit file is allowed, priced and rarely needed.**\n\n- **Allowed.** The kit's files are in the project's tree, and the project may\n  edit any of them.\n- **Priced.** An update replaces every kit file that differs, edited or not:\n  the CLI cannot tell the two apart. So each edit is put back by hand, from\n  the diff, at every update, and an edit nobody wrote down is lost there.\n  `node \u003Ckit>\u002Fchanged.mjs`, run before the update, lists the kit files the\n  project changed; it puts nothing back.\n- **Rarely needed.** First try, in order: a token in `DESIGN.md` (the\n  `ds-theme` skill), a `className` on the component, a class on one of its\n  named parts through `classNames` (on a component whose doc comment lists\n  its parts: `Tooltip`, `Card`, `Carousel` and `CarouselItem`, `Table`'s\n  `Column` and `Cell`, `IconButton`;\n  a part's name is a prop, and a release that renames one lists it as a\n  break), a wrapper component in the project, a new component beside the\n  kit. Edit a kit file last, and write\n  the edit down where the project keeps its notes for agents, with the file's\n  path.\n\nWhat an update promises depends on the layer a file is in. There are three,\nand the project's identity lives in the first two.\n\n| Layer             | Files                                                                                         | The project may                                              | A kit update                                                  |\n| :---------------- | :-------------------------------------------------------------------------------------------- | :----------------------------------------------------------- | :------------------------------------------------------------ |\n| **Tokens**        | the project's `DESIGN.md` and its generated `theme\u002F`                                          | change anything, through `DESIGN.md` (the `ds-theme` skill) | never touches them                                            |\n| **Style modules** | `\u003Ckit>\u002Fcomponents\u002Ffield-styles.ts`, the field container behind every text-like field          | edit the file                                                | replaces it, keeping slot and variant names; the edit is put back by hand |\n| **Behaviour**     | every other kit file: the components, `\u003Ckit>\u002Futils.ts`, `\u003Ckit>\u002Frender-props.ts`, `\u003Ckit>\u002Ficons.tsx` | edit a file, at the price above                              | replaces them, with Material's and accessibility's fixes, keeping no name; the edit is put back by hand |\n\n- **A token change is free.** Colours, type, corners, elevation, motion,\n  state opacities and dark mode all come from `DESIGN.md`. If a look can be\n  reached there, reach it there.\n- **A style-module edit costs one merge per update.** Edit\n  `\u003Ckit>\u002Fcomponents\u002Ffield-styles.ts` when the field anatomy itself must change\n  (stacked labels instead of floating ones). Its slot and variant names are\n  kept across updates; what a slot contains may change. An update replaces\n  the file, and the project's edit is put back by hand from the diff.\n- **An edit of any other kit file costs one merge per file per update**, and\n  an update promises nothing about what is inside it.\n- **The kit's own theme files are the wrong place for a look**:\n  `\u003Ckit>\u002Ftokens\u002Ftheme.css`, `\u003Ckit>\u002Ftokens\u002Ftheme.v4.css`,\n  `\u003Ckit>\u002Ftokens\u002FDESIGN.resolved.md`, `\u003Ckit>\u002FDESIGN.md`. They are the kit's\n  default, an update rewrites them, and a token reaches the same look for\n  free: the project's look is its own `DESIGN.md`.\n- What tokens cannot reach today: the disabled alphas (38 % and 12 % are\n  written into the components) and each component's own anatomy.\n\n## Adding and updating\n\n```bash\nnpx shadcn add @ds\u002Fds       # the whole kit, the first time\nnpx shadcn add @ds\u002Fbutton    # one component and what it needs\n```\n\n`@ds\u002Fds` writes nothing into the project's CSS, and no `add` writes a colour\nthere or touches `DESIGN.md` or `theme\u002F`.\n\n**Updating is not the same command.** Over an existing install, a plain `add`\nasks about the first kit file that differs, defaulting to No, even under\n`-y`; with no one to answer it writes nothing, or waits for ever. First ask\nthe kit which of its files the project changed, since the update replaces\nthem:\n\n```bash\nnode \u003Ckit>\u002Fchanged.mjs\n```\n\nIt lists them and writes nothing (exit 0: none; 1: the files listed, changed\nor missing; 2: it cannot tell, as for a kit installed before 0.3.0). Its\nlast line is the update command for what the project holds: an adapter or a\npreset the project added by name is named in it, since `@ds\u002Fds` alone leaves\nit at the old release. Then update from a clean working tree with that\ncommand, which for a project with no adapter and no preset is\n\n```bash\nnpx shadcn add @ds\u002Fds --overwrite -y\n```\n\nthen read `git diff`, put back the project's edits, and regenerate the\nproject's theme where it has one. The steps are in the `ds-theme` skill, \"Taking a kit\nupdate\": steps 1 to 3 for every project, steps 4 and 5 (regenerate, lint)\nonly when the project generated a theme of its own.\n","# ds-build: building with the kit\n\nThe kit is Material Design 3 components on React Aria and Tailwind v4, copied\ninto this project. Its files are in the project's tree: an edit of one is\nallowed, has a price at every update, and is rarely needed. The rule is the\nlast section.\n\n`\u003Ckit>` below is the kit's folder in this project: the `ds` folder under the\n`ui` alias of `components.json` (`src\u002Fcomponents\u002Fui\u002Fds` in most projects).\n\n| To know                                   | Read                                                                 |\n| :---------------------------------------- | :------------------------------------------------------------------- |\n| What exists and what it exports           | `\u003Ckit>\u002Findex.ts`                                                     |\n| A component's props, variants and slots   | its file in `\u003Ckit>\u002Fcomponents\u002F`, doc comment first                   |\n| The project's real values                 | `theme\u002FDESIGN.resolved.md` if the project generated a theme, else `\u003Ckit>\u002Ftokens\u002FDESIGN.resolved.md` |\n| Which utilities exist                     | `\u003Ckit>\u002Ftokens\u002Ftheme.v4.css`                                          |\n| What Material says a component should do  | the `ds-spec` skill (`.claude\u002Fskills\u002Fds-spec\u002FSKILL.md`)            |\n| How to change the look                    | the `ds-theme` skill (`.claude\u002Fskills\u002Fds-theme\u002FSKILL.md`)          |\n\n## Read values from the resolved file, never guess them\n\n`DESIGN.resolved.md` is the complete design, generated: every colour role of\nboth schemes as hex and `hsl()`, the whole type scale, the six corners, the\nelevation, motion and state values, how dark is switched, and the generator's\nwarnings. It is the reference for \"what colour is `primary-container` in\ndark\" or \"how big is `title-medium`\". Never edit it, and never copy a value\nout of it into a class: name the role.\n\n## Use what exists\n\nImport from the barrel, or deep-import one file:\n\n```tsx\nimport { Button, Card, CardContent, Title } from \"@\u002Fcomponents\u002Fui\u002Fds\";\nimport Button from \"@\u002Fcomponents\u002Fui\u002Fds\u002Fcomponents\u002FButton\";\n```\n\nLook in `\u003Ckit>\u002Findex.ts` before writing a control. The router adapters and the\nreact-hook-form adapter are not part of the whole-kit install: add\n`@ds\u002Fnext-adapter`, `@ds\u002Freact-router-adapter` or\n`@ds\u002Freact-hook-form-adapter` when the project needs one. Without a router\nadapter, `href` on a `Button`, `Chip` or menu item does a full page load.\n\nThe kit holds what Material 3's specification describes, and a named group\nof components of its own: each of those says \"Material 3 does not describe\nthis component.\" in its doc comment and cites, beside it, the Material page\nof each thing it borrows. A React Aria component that Material 3 does not\ndescribe joins that group when a project needs it, asked of the kit and\nbuilt there from Material's foundations and the nearest Material component.\nUntil then, and for anything neither Material nor React Aria describes, a\ncomponent the kit does not have is the project's: it is written beside the\nkit, not inside it, on `react-aria-components`, following the rules below.\n\nWhat the project's own component follows:\n\n- **Its measures and its look are Material's**, where Material describes the\n  component: its sizes, its states, its colour roles and its Do and Don't are\n  read on Material's pages with the `ds-spec` skill\n  (`.claude\u002Fskills\u002Fds-spec\u002FSKILL.md`), which the install brought. Where\n  Material describes nothing like it, it follows the rules below and the\n  nearest kit component.\n- **Its behaviour is React Aria's**: keyboard, focus, selection, overlays and\n  the names assistive technology reads. Adobe publishes a skill that holds\n  the library's whole documentation; the kit does not ship it. Install it\n  with\n\n  ```bash\n  npx skills add https:\u002F\u002Freact-aria.adobe.com\n  ```\n\n  and refresh it with `npx skills update`. Without it, every page of React\n  Aria's documentation is served as markdown at its own address with `.md`\n  added (`https:\u002F\u002Freact-aria.adobe.com\u002FButton.md`).\n\n## Colour: role utilities, in pairs\n\nWrite colours as the role's utility. Never a hex, never a palette class\n(`bg-blue-600`), never an arbitrary value.\n\n    bg-primary text-on-primary                            filled\n    bg-secondary-container text-on-secondary-container    tonal\n    bg-surface-container-low                              a raised surface\n    border-outline-variant                                hairlines\n    text-on-surface-variant                               supporting text\n\n- **Pairing.** A `bg-\u003Crole>` carries its `text-on-\u003Crole>`. The pair on the\n  container colours everything inside it, so children do not restate it.\n- **Content colour is inherited.** The theme sets `on-surface` as the ambient\n  colour in both schemes. `Display`, `Headline`, `Title`, `Body` and `Label`\n  assert no colour: pass `colorRole=\"on-surface-variant\"` (or another role)\n  only where inheritance is not what is wanted.\n- **Surfaces come in tiers**: `surface-container-lowest`, `-low`,\n  `surface-container`, `-high`, `-highest`. Pick a tier for depth; do not add\n  a border to fake it.\n- **Dark is free.** A role has a value in each scheme. Do not write `dark:`\n  variants for colour.\n\nIf the project also has stock shadcn components, their `bg-background`,\n`bg-card`, `bg-muted`, `border-border` read the same roles through the bridge\nfile, `\u003Ckit>\u002Ftokens\u002Fbridge-shadcn.css`, where the entry CSS imports it. `bg-primary` and `bg-secondary` are the Material roles.\n\n## Type, shape, elevation, motion\n\n- **Type**: prefer the primitives, `\u003CTitle size=\"medium\">`,\n  `\u003CBody size=\"small\">`. They carry the role's family and follow the theme's\n  roles, weight included: a role's weight or family set in `DESIGN.md` is\n  the one they draw. A raw `text-title-medium` sets size, line height,\n  tracking and weight, and no family: write `font-title-medium` beside it,\n  as the kit's own components do, and the text is in the role's family (the\n  one `DESIGN.md` writes on it, else its face). The faces themselves remain,\n  `font-brand` (display, headline, title) and `font-plain` (body, label). Write no weight class beside a role: it\n  would win over the theme's.\n  `font-mono` is the project's mono face, the one its `DESIGN.md` names or\n  else the system's: write it where the project wants one (an identifier, a\n  time, an amount). No kit component uses it.\n- **Shape**: `rounded-shape-extra-small`, `-small`, `-medium`, `-large`,\n  `-large-increased`, `-extra-large`, `-full`. Never `rounded-lg`: it does not follow the theme.\n- **Elevation**: `shadow-elevation-1` to `shadow-elevation-5`.\n- **Motion**: `duration-short-1` to `duration-long-4`, `ease-standard`,\n  `ease-emphasized` and their `-accelerate` \u002F `-decelerate` forms. Enter with\n  `ease-emphasized-decelerate`, exit with `ease-emphasized-accelerate`.\n\n## Interaction states\n\nEvery pressable shows a state layer: an overlay in the content colour whose\nopacity follows the state.\n\n- Use `StateLayer` from the kit with React Aria's render props (`isHovered`,\n  `isFocusVisible`, `isPressed`), or the utilities\n  `state-opacity-hover`, `state-opacity-focus`, `state-opacity-pressed`,\n  `state-opacity-dragged`.\n- Never Tailwind's numeric `opacity-8` for a state: it compiles to a literal\n  and the theme cannot move it.\n- Focus is `focus-visible`, never plain focus. The ring is `focusRing` from\n  `\u003Ckit>\u002Futils.ts`; extend it, do not invent another. It is an outline with\n  an unpainted 2px gap: never paint the gap, it shows the ground under it.\n- Disabled content is `on-surface` at 38 %, disabled containers at 12 %.\n- Variants are Tailwind's own (`hover:`, `focus-visible:`, `disabled:`) and\n  the data attributes React Aria emits (`data-pressed:`, `data-selected:`,\n  `data-entering:`, `data-exiting:`). No Tailwind plugin.\n\n## Classes and parts\n\n- Merge classes with `cn` from `\u003Ckit>\u002Futils.ts`, and build styles with its\n  `tv`. They know the kit's scales, so a `className` passed by a caller wins\n  over the kit's own utility. A second merge function in the project must be\n  built from the kit's `twMergeConfig`, or overrides produce two competing\n  classes.\n- Every kit root carries `data-slot=\"\u003Ccomponent>\"`. Target a part by its slot,\n  never by a class name.\n- Anything backed by React Aria is a client component. `Card`, `ListItem`,\n  `MenuItem`, `Tag`, `Badge`, `Divider`, `TopAppBar`, `EmptyState`,\n  `DialogContent` and the type primitives render on the server.\n- Icons are any component taking `{ size, className }`. The kit ships no icon\n  library.\n\n## What a project may change\n\nOne rule: **an edit of a kit file is allowed, priced and rarely needed.**\n\n- **Allowed.** The kit's files are in the project's tree, and the project may\n  edit any of them.\n- **Priced.** An update replaces every kit file that differs, edited or not:\n  the CLI cannot tell the two apart. So each edit is put back by hand, from\n  the diff, at every update, and an edit nobody wrote down is lost there.\n  `node \u003Ckit>\u002Fchanged.mjs`, run before the update, lists the kit files the\n  project changed; it puts nothing back.\n- **Rarely needed.** First try, in order: a token in `DESIGN.md` (the\n  `ds-theme` skill), a `className` on the component, a class on one of its\n  named parts through `classNames` (on a component whose doc comment lists\n  its parts: `Tooltip`, `Card`, `Carousel` and `CarouselItem`, `Table`'s\n  `Column` and `Cell`, `IconButton`;\n  a part's name is a prop, and a release that renames one lists it as a\n  break), a wrapper component in the project, a new component beside the\n  kit. Edit a kit file last, and write\n  the edit down where the project keeps its notes for agents, with the file's\n  path.\n\nWhat an update promises depends on the layer a file is in. There are three,\nand the project's identity lives in the first two.\n\n| Layer             | Files                                                                                         | The project may                                              | A kit update                                                  |\n| :---------------- | :-------------------------------------------------------------------------------------------- | :----------------------------------------------------------- | :------------------------------------------------------------ |\n| **Tokens**        | the project's `DESIGN.md` and its generated `theme\u002F`                                          | change anything, through `DESIGN.md` (the `ds-theme` skill) | never touches them                                            |\n| **Style modules** | `\u003Ckit>\u002Fcomponents\u002Ffield-styles.ts`, the field container behind every text-like field          | edit the file                                                | replaces it, keeping slot and variant names; the edit is put back by hand |\n| **Behaviour**     | every other kit file: the components, `\u003Ckit>\u002Futils.ts`, `\u003Ckit>\u002Frender-props.ts`, `\u003Ckit>\u002Ficons.tsx` | edit a file, at the price above                              | replaces them, with Material's and accessibility's fixes, keeping no name; the edit is put back by hand |\n\n- **A token change is free.** Colours, type, corners, elevation, motion,\n  state opacities and dark mode all come from `DESIGN.md`. If a look can be\n  reached there, reach it there.\n- **A style-module edit costs one merge per update.** Edit\n  `\u003Ckit>\u002Fcomponents\u002Ffield-styles.ts` when the field anatomy itself must change\n  (stacked labels instead of floating ones). Its slot and variant names are\n  kept across updates; what a slot contains may change. An update replaces\n  the file, and the project's edit is put back by hand from the diff.\n- **An edit of any other kit file costs one merge per file per update**, and\n  an update promises nothing about what is inside it.\n- **The kit's own theme files are the wrong place for a look**:\n  `\u003Ckit>\u002Ftokens\u002Ftheme.css`, `\u003Ckit>\u002Ftokens\u002Ftheme.v4.css`,\n  `\u003Ckit>\u002Ftokens\u002FDESIGN.resolved.md`, `\u003Ckit>\u002FDESIGN.md`. They are the kit's\n  default, an update rewrites them, and a token reaches the same look for\n  free: the project's look is its own `DESIGN.md`.\n- What tokens cannot reach today: the disabled alphas (38 % and 12 % are\n  written into the components) and each component's own anatomy.\n\n## Adding and updating\n\n```bash\nnpx shadcn add @ds\u002Fds       # the whole kit, the first time\nnpx shadcn add @ds\u002Fbutton    # one component and what it needs\n```\n\n`@ds\u002Fds` writes nothing into the project's CSS, and no `add` writes a colour\nthere or touches `DESIGN.md` or `theme\u002F`.\n\n**Updating is not the same command.** Over an existing install, a plain `add`\nasks about the first kit file that differs, defaulting to No, even under\n`-y`; with no one to answer it writes nothing, or waits for ever. First ask\nthe kit which of its files the project changed, since the update replaces\nthem:\n\n```bash\nnode \u003Ckit>\u002Fchanged.mjs\n```\n\nIt lists them and writes nothing (exit 0: none; 1: the files listed, changed\nor missing; 2: it cannot tell, as for a kit installed before 0.3.0). Its\nlast line is the update command for what the project holds: an adapter or a\npreset the project added by name is named in it, since `@ds\u002Fds` alone leaves\nit at the old release. Then update from a clean working tree with that\ncommand, which for a project with no adapter and no preset is\n\n```bash\nnpx shadcn add @ds\u002Fds --overwrite -y\n```\n\nthen read `git diff`, put back the project's edits, and regenerate the\nproject's theme where it has one. The steps are in the `ds-theme` skill, \"Taking a kit\nupdate\": steps 1 to 3 for every project, steps 4 and 5 (regenerate, lint)\nonly when the project generated a theme of its own.\n",{"name":5,"description":7},"main","2c3b65dc5afd9cba060388bacf97f24a7208d1ee","apps\u002Fweb\u002F.claude\u002Fskills\u002Fds-build",0,"https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia","https:\u002F\u002Fgithub.com\u002Femyann","Senior Software Engineer","2026-11-15 05:55:45",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add emyann\u002Fnemia --skill ds-build",{"tool":38,"command":39},"bunx","bunx skills add emyann\u002Fnemia --skill ds-build",{"tool":41,"command":42},"pnpm","pnpm dlx skills add emyann\u002Fnemia --skill ds-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fapps\u002Fweb\u002F.claude\u002Fskills\u002Fds-build\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},"01M7BGEY7EKSRDFAB7B9567QKJ","groom-the-inbox","Read each card in play in the inbox against the repository and say, per card, done (the commit on the base that landed it), replaced (the decision or card that did), stale (each fact that moved, what it said and what it says now) or standing, reading closely only what the period touched. For the janitor's step, which proposes and never acts: a person removes or amends each card by the command the check writes.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fgroom-the-inbox\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},"01M7B4AD0ZJYZ3HAJCCBM4CPTY","write-a-spec","Turn an accepted intent into a spec an engineer can build from in this repository: the goal restated, the approach and why, every path it touches, the steps, the tests that prove it, the risks, and what is still open. For a step that designs a change before anyone builds it.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fwrite-a-spec\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},"01M7B4A88P2FKWCS1RND507WHE","review-a-change","Review a change in this repository as a second engineer would: against its intent and spec, by reading the diff and the suite's verdict, with findings that name the file, the line and what goes wrong. For a read-only step that decides whether the work goes round again.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Freview-a-change\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},"01M7B4A2HFW8F53E390A2KM0R8","read-the-stats","Read a factory's stats since the janitor's last run, against the same length of time before it, write a short report, and propose one correction per card — an allow or deny by name, a line in an agent's body or a skill, or a refusal kept on purpose — each with the numbers behind it, never one already in the inbox. For the janitor's step, which proposes and never acts.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fread-the-stats\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},"01M7B49Z4GJ2G8T76X744YHAAN","land-a-branch","Land a run's result on the base branch in this repository's own checkout, the way the step says it lands: make that one act, read its result, and write the message that records what landed — or change nothing and say why it refused. For a gated ending step (workspace: base).","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fland-a-branch\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},"01M7B49TMM0QAWF5WQ0QBXM9BG","implement-a-change","Build a change from its spec in this repository: tests first where a rule is claimed, small commits, the tests of what changed green for the right reason, and each review finding answered in the next round. For a step that writes the code.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fimplement-a-change\u002FSKILL.md",[],[]]