[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X7JZ3WTY6HAJ89PZ03WCHH":3,"skill-same:01M6X7JZ3WTY6HAJ89PZ03WCHH":107},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":70,"ownerHtmlUrl":71,"ownerBlogUrl":70,"ownerDescription":72,"updatedAt":73,"install":74,"resources":86},"01M6X7JZ3WTY6HAJ89PZ03WCHH","react-shadcn-ui",null,"Building React UI on shadcn\u002Fui primitives + Tailwind — the apply\u002Freview\u002Fpolish skill dispatched by `directives\u002Fui\u002F*` for the `react-shadcn` stack; idiom from tailwind-engineer.","event4u-app\u002Fagent-config","event4u-app","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199339632?v=4","01M6X5TWBNCQCE1VDKT4E9KF7N","event4u.app","01M6X5TWF4HRM266RG2Q5VVH1X",19,"MIT","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Freact-shadcn-ui\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"react","react shadcn ui","shadcn ui","ui","shadcn","run","create","Tailwind","polish","react ui","stack","json","component","write","engineer","dry","for","apply","directives","components","2026-11-10 10:12:30",false,"---\nmodel_tier: medium\nname: react-shadcn-ui\ndescription: \"Building React UI on shadcn\u002Fui primitives + Tailwind — the apply\u002Freview\u002Fpolish skill dispatched by `directives\u002Fui\u002F*` for the `react-shadcn` stack; idiom from tailwind-engineer.\"\ndomain: engineering\nworkspaces:\n  - engineering\npacks:\n  - react\ntrust:\n  level: professional\ninstall:\n  default: false\n  removable: true\nscope:\n  write:\n    - pattern: \"components\u002Fui\u002F**\"\n      access: \"create\"\n    - pattern: \"components.json\"\n      access: \"write\"\n  verification_command: \"npx shadcn@latest add \u003Ccomponent> --dry-run\"\nexecution:\n  type: assisted\n  handler: shell\n  safety_mode: strict\n  allowed_tools:\n    - Bash(npx:*)\n---\n\n# react-shadcn-ui\n\n> **Grounded stack guidance:** pull idiomatic Do\u002FDon't + docs URLs via\n> `node \u003Cskills-root>\u002Fcorpus-grounding\u002Fscripts\u002Fground.mjs search\n> --manifest \u003Cskills-root>\u002Fdesign-intelligence\u002Fdata\u002Fmanifest.json\n> --stack shadcn \"\u003Ctopic>\"` (also `--stack react`, `--stack nextjs`). See\n> [`design-intelligence`](..\u002Fdesign-intelligence\u002FSKILL.md).\n\n## Component installer — `scripts\u002Fshadcn_add.ts` (gated, assisted)\n\n```bash\nnode \u003Cskills-root>\u002Freact-shadcn-ui\u002Fscripts\u002Fshadcn_add.mjs [--list] [--dry-run] [\u003Ccomponent> …]\n```\n\nBundled installer (Apache-2.0-derived, see header + `design-intelligence\u002FATTRIBUTION.md`)\nwraps `npx shadcn@latest add \u003Ccomponents>` — **the only subprocess+network\nsurface in the adopted suite**. Per `runtime-safety` + the `execution`\nblock above:\n\n1. **Propose, never silent-run** — always show the exact `npx` command +\n   component list first (use `--dry-run`); the user confirms before any\n   live run.\n2. **Missing tool** → per `missing-tool-handling`: if `npx`\u002FNode is\n   absent, STOP and ask (install vs. manual component copy) — never\n   silently work around.\n3. **Verify after run** — confirm the component landed\n   (`components\u002Fui\u002F\u003Cname>.tsx` exists, `components.json` unchanged or\n   sanely updated) before reporting success.\n\n## Compatibility\n\n- **Tested against:** `shadcn@4`, Tailwind CSS `4.x`, React `19`, primitives from\n  `@base-ui\u002Freact@1`, `components.json` style `base-nova` — every major read out\n  of `tests\u002Ffixtures\u002Fstack\u002Fshadcn-current\u002Fpackage.json`, the verbatim output of\n  `npx shadcn@latest init -d --template vite` on 2026-08-24. No version on this\n  line may be stated from prose; move it only by re-running that scaffold and\n  re-committing the fixture.\n- Tailwind `3.x` and Radix primitives stay supported through the **v3 branch**\n  under § Gotcha — the CLI moved on, existing projects did not.\n- The audit step (`directives\u002Fui\u002Faudit.ts`) reads the line above and\n  compares it with `state.ui_audit.shadcn_inventory.version`; a major\n  mismatch triggers a soft halt before this skill runs.\n\n## When to use\n\nUse when `state.stack.frontend == \"react-shadcn\"` and `directives\u002Fui\u002Fapply.ts`,\n`review.ts`, or `polish.ts` dispatches to this skill, or when a React project\nclearly uses shadcn\u002Fui (presence of `components.json`, a `@base-ui\u002Freact` or\n`@radix-ui\u002F*` dependency, a `components\u002Fui\u002F` folder of generated primitives).\n\nDo NOT use when:\n- Project is Blade + Livewire + Flux (use `flux` \u002F `livewire` \u002F `blade-ui`).\n- Project is Vue (use the Vue stack skills).\n- Plain React without shadcn\u002Fui — fall back to manual composition; this skill\n  assumes the primitive set exists.\n\n## Gotcha\n\n- shadcn\u002Fui is **not** an npm package. Primitives are copied into\n  `components\u002Fui\u002F` and edited in-place. Do not `npm install shadcn-ui`.\n  Run `npx shadcn@latest add \u003Cprimitive>` to scaffold; then edit.\n- Major-version drift between this skill's `## Compatibility` line and\n  the project's installed primitives is a real risk. The audit step\n  writes `state.ui_audit.shadcn_inventory` with the detected version —\n  when it diverges by a major, audit emits a soft halt before this\n  skill runs.\n- shadcn\u002Fui composes a primitive vendor — `@base-ui\u002Freact` in a CLI-4 scaffold,\n  `@radix-ui\u002F*` in older projects. Accessibility is built in either way, but\n  only when the wrapper components are used correctly (`asChild`,\n  `\u003CDialogTrigger>` instead of a bare `\u003Cbutton>`).\n- **Tailwind tokens: branch on the `css` axis, never guess.** `detect_stack()`\n  emits `axes.css` as `tailwind-v4` or `tailwind-v3`\n  (`work_engine\u002Fstack\u002Fdetect.ts:521-524`); `existing-ui-audit` reads tokens on\n  the same key.\n  - `tailwind-v4` — **no config file exists.** Tokens live in the `@theme` block\n    of the entry CSS named by `components.json` → `tailwind.css`, and that file's\n    `\"tailwind\": {\"config\": \"\"}` — an empty `config` string — IS the v4 marker.\n    Never write `tailwind.config.{js,ts}` in a v4 project.\n  - `tailwind-v3` — tokens come from `tailwind.config.{js,ts}`\n    (`theme.extend.colors`).\n  - Either branch — CSS custom properties on `:root` and `.dark`\n    (`--background`, `--foreground`, `--primary`, `--ring`, …). Audit writes them\n    into `state.ui_audit.design_tokens`. Use those tokens; never hardcode values.\n- Dark mode is class-based (`\u003Chtml class=\"dark\">`). Every color must come\n  from `bg-background`, `text-foreground`, etc. — never raw `bg-white`.\n- Every interactive primitive must declare a focus-visible state via\n  `focus-visible:ring-2 focus-visible:ring-ring`; that comes for free with\n  the generated primitives but is easy to remove during a refactor.\n- **Anti-AI-slop: shadcn-default look.** The out-of-the-box shadcn\n  theme + `Inter`-as-system-fallback + neutral grays reads as\n  template across projects (catalog T7\u002FT8 + C5). Unless\n  `state.ui_audit.design_tokens` pins the neutral palette as the\n  project's identity, the polish step should match typography and color\n  tokens to the design brief's `aesthetic:` line (from `fe-design`\n  aesthetic-direction). Theme\u002Ffont drift within a single audited project\n  breaks consistency — variation lives between projects, not between\n  components in the same surface.\n- **Anti-AI-slop catalog + linter.** Pull\n  [`docs\u002Fguidelines\u002Fdesign-antipatterns.md`](..\u002F..\u002F..\u002Fdocs\u002Fguidelines\u002Fdesign-antipatterns.md)\n  before the polish step (Visual V1–V8, Layout L1–L10 are the React-component\n  slop tells); the objective quality floors (WCAG contrast, focus-visible,\n  reduced-motion) are validated via `accessibility-auditor`'s checklist —\n  cite its verdict rather than eyeballing.\n\n## Covered primitives\n\nThis skill is validated against the following shadcn primitives at the\ndeclared version:\n\n- **Form \u002F inputs:** `Button`, `Input`, `Textarea`, `Checkbox`,\n  `RadioGroup`, `Select`, `Switch`, `Label`, `Form` (react-hook-form\n  wrapper + `zodResolver`).\n- **Overlay:** `Dialog`, `Sheet`, `Popover`, `Tooltip`, `DropdownMenu`,\n  `AlertDialog`.\n- **Layout:** `Card`, `Separator`, `Tabs`, `Accordion`, `ScrollArea`.\n- **Data display:** `Table` (with `@tanstack\u002Freact-table`), `Badge`,\n  `Avatar`, `Skeleton`, `Progress`.\n- **Feedback:** `Toast` (sonner), `Alert`.\n\n## Not covered — fall back to manual composition\n\n- Marketing-only components (Hero, Pricing, Features) — outside shadcn\u002Fui.\n- `Calendar` \u002F `DatePicker` — composition skill required, not generated.\n- `Combobox` — built from `Command` + `Popover`; case-by-case.\n- Streaming \u002F partial-prerender boundaries — use the project's framework\n  patterns (Next.js \u002F Remix), not shadcn\u002Fui.\n\n## Registry & MCP awareness (opt-in)\n\nThe default path is the bundled `scripts\u002Fshadcn_add.ts` CLI wrapper + reading\n`components.json` — it works on most shadcn projects and stays the default.\nThe modern registry model is an **opt-in enhancement**; do not add round-trips\nto every component op. Full JSON-schema + namespace detail is lazy-loaded from\n[`references\u002Fregistry.md`](references\u002Fregistry.md) — read it only on this path,\nnot on the vanilla `add`.\n\n**`shadcn info --json` handshake** — run it as the grounding step **when** the\nproject declares custom\u002Fnamespaced `registries` in `components.json`, OR when\ntheme-alignment is in scope. It returns framework, aliases, installed\ncomponents, icon lib, and base settings. Do NOT make it a forced first action\non every `add` (over-gating; low ROI on vanilla projects).\n\n- **Precedence vs our own audit:** prefer a live `shadcn info --json` when\n  available; fall back to `state.ui_audit.shadcn_inventory` (from\n  `existing-ui-audit`) when the CLI\u002FMCP is not reachable. They answer the same\n  question (project context) — the live read wins.\n\n**Namespaced installs** — `@ns\u002Fitem` resolves via the `registries` map to a\n`registry-item.json` URL (see the reference). Run `view @ns\u002Fitem` to inspect\nthe JSON before `add`. Honour `registryDependencies` (install the graph,\nincluding version-pinned GitHub refs like `acme\u002Fui\u002Fbutton#v1.2.0`); keep\npropose-never-silent-run + `--dry-run`.\n\n**Token-aware scaffolding** — when a `registry-item.json` carries `cssVars`\n(OKLCH, light\u002Fdark\u002Ftheme), align additions to the project's existing tokens\n(from `info --json` \u002F `components.json` \u002F `state.ui_audit.design_tokens`) —\n**never inject the default shadcn neutral theme** (it is a flagged anti-slop\ntell: default theme + Inter fallback + neutral grays).\n\n**MCP path (opt-in)** — the shadcn MCP server exposes browse \u002F search-across-\nregistries \u002F install-with-natural-language over MCP; configure per the\n[`mcp-tool-use`](..\u002Fmcp-tool-use\u002FSKILL.md) skill. It is an alternative to the CLI, never a hard\ndependency. Decision note: **CLI path = default + universal; MCP path = opt-in\nwhen the user has it configured; registry-JSON literacy underpins both.**\n\n## Publish a registry — the library as a source others install from\n\nThe sections above **consume** a registry. This one **publishes** one: a component library in\nthis repository can expose its own components the same way, so a consumer installs them with\nthe tool they already use instead of copying files.\n\n1. **Author `registry.json`** at the library root — the index — and one\n   `registry-item.json` per exposed component, each naming its files, its\n   `registryDependencies`, and its `cssVars` when it carries token requirements.\n2. **Build** to `public\u002Fr` with the registry build command. **The installer gate applies\n   here exactly as it does to `add`**: propose it, run `--dry-run` first, and let the user\n   confirm. A build writes files, so nothing about it being \"our own\" registry lifts the\n   gate.\n3. **The consumer adds a `registries` map entry** pointing at the published index; from then\n   on `@ns\u002Fitem` resolves through it.\n\n**Two registry item types are FORBIDDEN**, deprecated in v4: `registry:build` and\n`registry:mcp`. Use **`registry:base`** and **`registry:font`** instead. Writing either\ndeprecated type produces an item the current CLI does not understand, and the failure surfaces\nat the consumer rather than at authoring time.\n\n**`dependencies` in a registry item never names `react` or `react-dom`.** They are peers of\nthe consuming app, and a registry item that installs its own copy reproduces the \"invalid hook\ncall\" failure one layer up — see\n[`js-library-packaging`](..\u002Fjs-library-packaging\u002FSKILL.md). `check_package_surface` enforces\nthis over a registry file.\n\n> **Provenance.** The registry-publishing shape and the deprecated-type list come from an\n> external plugin reference's component-CLI skill, read at a pinned revision. The source is\n> deliberately not named here, per this package's source-confidentiality policy: a shipped\n> artifact does not carry derivation attribution to a named external project. The identifier and revision\n> stay with the maintainer-side record.\n\n## Procedure: render a shadcn\u002Fui component for the design brief\n\n### Step 0: Inspect\n\n1. Read `state.ui_audit.shadcn_inventory.version` and confirm it matches\n   the version in `## Compatibility` within the same major. If audit\n   flagged a mismatch, the user already chose to proceed — note that\n   in `state.changes`.\n2. Read `state.ui_audit.design_tokens` — every color, spacing, and radius\n   in the rendered output must reference a token from this map.\n3. Read `state.ui_design`:\n   - `components` → the primitive list to compose.\n   - `microcopy` → button labels, empty-state text, validation messages.\n     **Lock — render verbatim.**\n   - `states` → empty \u002F loading \u002F error \u002F success \u002F disabled coverage.\n   - `a11y` → ARIA labels, keyboard nav, focus order.\n\n### Step 1: Compose primitives\n\n1. Import primitives from the project's `components\u002Fui\u002F` path\n   (`@\u002Fcomponents\u002Fui\u002Fbutton`, …) — never from `shadcn` or `radix-ui`.\n2. Compose Radix-style: `\u003CDialog>` → `\u003CDialogTrigger asChild>` →\n   `\u003CDialogContent>` → `\u003CDialogHeader>` → `\u003CDialogTitle>`. Never wrap\n   `DialogTrigger` around a pre-styled `\u003Cbutton>`; pass `asChild`.\n3. Use the variant API of `Button` (`variant=\"default\" | \"destructive\" |\n   \"outline\" | \"secondary\" | \"ghost\" | \"link\"`); do not override with\n   raw Tailwind for the variant set.\n4. Forms: `useForm` (react-hook-form) + `zodResolver(schema)` →\n   `\u003CForm>` → `\u003CFormField>` → `\u003CFormItem>` → `\u003CFormLabel>` →\n   `\u003CFormControl>` → `\u003CFormMessage>`. Validation messages come from\n   the zod schema, mirrored to the design-brief microcopy.\n\n### Step 2: Apply tokens, dark mode, a11y\n\n1. Colors via semantic classes: `bg-background`, `text-foreground`,\n   `bg-primary text-primary-foreground`, `text-muted-foreground`. No\n   `bg-white` \u002F `text-black` \u002F hardcoded `#fff`.\n2. Spacing \u002F radius from theme tokens (`rounded-lg` mapped to `--radius`\n   — in the `@theme` block on `tailwind-v4`, in `tailwind.config.{js,ts}` on\n   `tailwind-v3`). Polish refactors hardcoded values when a token exists.\n3. Dark mode: never branch on a `dark` prop; rely on the `.dark` class\n   on the root and semantic tokens.\n4. Every interactive primitive: keyboard trigger present (Enter\u002FSpace\n   on buttons, Esc on dialogs — free from the primitive vendor), focus ring,\n   `aria-label` from `state.ui_design.a11y` when icon-only.\n\n### Step 3: State coverage\n\n1. Empty: render the design-brief empty-state copy in a `Card` or\n   inline placeholder; never `null`.\n2. Loading: `Skeleton` rows for tables; `Button` `disabled` +\n   `Loader2` icon for submit-in-flight.\n3. Error: `Alert variant=\"destructive\"` with the design-brief message;\n   `FormMessage` for field-level errors.\n4. Success: `toast.success(...)` from `sonner` with the design-brief\n   confirmation copy.\n5. Disabled: `disabled` prop on the trigger plus the design-brief\n   reason as `aria-describedby` text.\n\n### Step 4: Validate\n\n1. No raw `\u003Cinput>` \u002F `\u003Cbutton>` \u002F `\u003Cselect>` outside the primitive set.\n   **Control roles.** For every control you add, look up its role in the `control_roles` of `agent-config ui:audit` (re-run it when the artifact is older than your last UI edit): use the canonical implementation and the siblings' box metrics. Role missing or tied → ask before inventing a control kind; a native control beside an existing primitive needs a stated `native_control_reason`.\n2. No hardcoded colors \u002F spacing — every value is a token.\n3. Microcopy matches `state.ui_design.microcopy` byte-for-byte.\n4. Dark mode: toggle `.dark` on `\u003Chtml>`, render the component, every\n   surface still legible (no `text-white on bg-white`).\n5. Keyboard: Tab through every focusable element; focus ring visible.\n\n## Output format\n\n1. React component file(s) under the project's `components\u002F` (or `app\u002F`)\n   tree, importing primitives from `@\u002Fcomponents\u002Fui\u002F*`.\n2. Per file, one entry recorded in `state.changes` with `kind=\"ui\"`,\n   `stack=\"react-shadcn\"`, and the design-brief summary.\n\n### Review pass — a11y findings + preview envelope\n\nWhen this skill is dispatched by `directives\u002Fui\u002Freview.ts` (test slot)\nor `directives\u002Fui\u002Fpolish.ts` (verify slot) — i.e. a review\u002Fpolish run,\nnot the initial apply — it also emits:\n\n- `state.ui_review.a11y` — `{violations: [{rule, selector, severity}, ...],\n  severity_floor?, accepted_violations?}`. Run an a11y tool against the\n  rendered output (e.g. `axe-core` via Playwright, `@axe-core\u002Freact`,\n  `jest-axe`) and translate hits into this shape. Use the same\n  `(rule, selector)` shape as `state.ui_audit.a11y_baseline` so the\n  engine's de-dup matches pre-existing entries on replay. Omit the\n  envelope on apply passes; the engine's `_apply_a11y_gate` only fires\n  when a baseline is present.\n- `state.ui_review.preview` — `{render_ok: bool, screenshot_path?,\n  dom_dump_path?, error?, skipped?, skip_reason?}`. **Render evidence is\n  required, not optional** on a review\u002Fpolish pass: you MUST drive the\n  headless browser (Playwright + axe-core) against the rendered output and\n  write `render_ok`. Omitting it now triggers the `preview_render_required`\n  halt — a render-capable stack can no longer claim success without\n  rendering. `render_ok: false` with `error` populated triggers the\n  `preview_render_failed` halt; `render_ok: true` with `screenshot_path`\n  threads the screenshot into the delivery report's `artifacts` list. The\n  only no-render path is an **explicit, reasoned skip**: set `skipped: true`\n  plus a `skip_reason` (e.g. no Playwright runner in this env). Browser\n  tooling (Playwright\u002FCypress\u002F…) is a consumer-project dependency — this\n  package does not ship one.\n\nPolish dispatch: when the dispatcher skips `review` because a previous\nreview pass already returned `SUCCESS`, this skill MUST itself\nsynthesise the updated `state.ui_review.findings` (including any\nremaining `a11y_violation` entries) so the engine's gate sees the\ncurrent state on the next polish round.\n\n## Taste Dials\n\nWhen `DESIGN.md` declares `## Taste Dials`, honour them: Variance → layout-family spread + asymmetry tolerance; Motion → animation budget + reduced-motion posture; Density → spacing scale + information-per-viewport. Absent → follow the design brief's inferred dials.\n\n## Component workshop (Storybook) — pointer\n\nThe workshop discipline (one concept per story, `@summary` on every export, stories run as\ntests, the `!manifest` tag, the opt-in MCP channel) lives in\n[`storybook-workshop`](..\u002Fstorybook-workshop\u002FSKILL.md). It is stack-agnostic and was lifted\nout of here rather than duplicated beside it.\n\nWhat stays React-specific and therefore stays here: the state-coverage matrix in Step 3 that\nthe story set is derived from, the token discipline of Step 2 that stories render under, and\nthe `(rule, selector, severity)` a11y shape in § Review pass that the workshop's validate\nstep writes into.\n\n## Security constraints\n\n`scripts\u002Fshadcn_add.ts` is the only shipped script, and it is the single\nsubprocess-plus-network surface in this suite — treat it accordingly.\n\n- **What it may touch** — the project rooted at `--project-root` (default\n  `cwd`): it reads `components.json` there and lets the upstream CLI write\n  the generated primitives under that root. Nothing outside it.\n- **What it must never do** — run without the exact `npx` command and the\n  component list having been shown to the user first, per the gate above.\n  Never pass `--overwrite` unprompted; never treat a non-zero exit as\n  success; never work around a missing `npx` silently\n  ([`missing-tool-handling`](..\u002F..\u002Frules\u002Fmissing-tool-handling.md)).\n- **Default invocation** — mutating. A bare `shadcn_add \u003Ccomponent>`\n  spawns `npx shadcn@latest add \u003Ccomponent>` and writes into the project.\n  `--dry-run` is the read-only path and prints the command it would run;\n  `--list` is read-only too. Use `--dry-run` for the proposal step.\n- **Outbound** — yes, and this is the point of the gate: `npx` resolves\n  `shadcn@latest` from the public npm registry on every live run, so both\n  the code fetched and the components written are chosen upstream, at run\n  time, not pinned here. That is the egress leg of the lethal trifecta\n  ([`lethal-trifecta-guard`](..\u002F..\u002Frules\u002Flethal-trifecta-guard.md)); the\n  human confirmation is what keeps it off an autonomous path.\n\n## Do NOT\n\n- Do NOT install `shadcn-ui` from npm — primitives are scaffolded.\n- Do NOT hardcode colors \u002F spacing \u002F radii — use the token map.\n- Do NOT branch on a `dark` prop — use semantic tokens + the `.dark` class.\n- Do NOT rewrite microcopy — it is locked by `state.ui_design`.\n- Do NOT skip `asChild` on `DialogTrigger` \u002F `SheetTrigger` \u002F similar\n  Radix wrappers — it breaks the accessibility contract.\n- Do NOT introduce a non-shadcn UI library (MUI, Chakra) into the same\n  surface — pick one system per surface.\n\n## Auto-trigger keywords\n\n- shadcn \u002F shadcn ui \u002F shadcn\u002Fui\n- React component (when the project uses shadcn)\n- Radix primitive\n- Tailwind dark mode\n- React Hook Form + zod\n","# react-shadcn-ui\n\n> **Grounded stack guidance:** pull idiomatic Do\u002FDon't + docs URLs via\n> `node \u003Cskills-root>\u002Fcorpus-grounding\u002Fscripts\u002Fground.mjs search\n> --manifest \u003Cskills-root>\u002Fdesign-intelligence\u002Fdata\u002Fmanifest.json\n> --stack shadcn \"\u003Ctopic>\"` (also `--stack react`, `--stack nextjs`). See\n> [`design-intelligence`](..\u002Fdesign-intelligence\u002FSKILL.md).\n\n## Component installer — `scripts\u002Fshadcn_add.ts` (gated, assisted)\n\n```bash\nnode \u003Cskills-root>\u002Freact-shadcn-ui\u002Fscripts\u002Fshadcn_add.mjs [--list] [--dry-run] [\u003Ccomponent> …]\n```\n\nBundled installer (Apache-2.0-derived, see header + `design-intelligence\u002FATTRIBUTION.md`)\nwraps `npx shadcn@latest add \u003Ccomponents>` — **the only subprocess+network\nsurface in the adopted suite**. Per `runtime-safety` + the `execution`\nblock above:\n\n1. **Propose, never silent-run** — always show the exact `npx` command +\n   component list first (use `--dry-run`); the user confirms before any\n   live run.\n2. **Missing tool** → per `missing-tool-handling`: if `npx`\u002FNode is\n   absent, STOP and ask (install vs. manual component copy) — never\n   silently work around.\n3. **Verify after run** — confirm the component landed\n   (`components\u002Fui\u002F\u003Cname>.tsx` exists, `components.json` unchanged or\n   sanely updated) before reporting success.\n\n## Compatibility\n\n- **Tested against:** `shadcn@4`, Tailwind CSS `4.x`, React `19`, primitives from\n  `@base-ui\u002Freact@1`, `components.json` style `base-nova` — every major read out\n  of `tests\u002Ffixtures\u002Fstack\u002Fshadcn-current\u002Fpackage.json`, the verbatim output of\n  `npx shadcn@latest init -d --template vite` on 2026-08-24. No version on this\n  line may be stated from prose; move it only by re-running that scaffold and\n  re-committing the fixture.\n- Tailwind `3.x` and Radix primitives stay supported through the **v3 branch**\n  under § Gotcha — the CLI moved on, existing projects did not.\n- The audit step (`directives\u002Fui\u002Faudit.ts`) reads the line above and\n  compares it with `state.ui_audit.shadcn_inventory.version`; a major\n  mismatch triggers a soft halt before this skill runs.\n\n## When to use\n\nUse when `state.stack.frontend == \"react-shadcn\"` and `directives\u002Fui\u002Fapply.ts`,\n`review.ts`, or `polish.ts` dispatches to this skill, or when a React project\nclearly uses shadcn\u002Fui (presence of `components.json`, a `@base-ui\u002Freact` or\n`@radix-ui\u002F*` dependency, a `components\u002Fui\u002F` folder of generated primitives).\n\nDo NOT use when:\n- Project is Blade + Livewire + Flux (use `flux` \u002F `livewire` \u002F `blade-ui`).\n- Project is Vue (use the Vue stack skills).\n- Plain React without shadcn\u002Fui — fall back to manual composition; this skill\n  assumes the primitive set exists.\n\n## Gotcha\n\n- shadcn\u002Fui is **not** an npm package. Primitives are copied into\n  `components\u002Fui\u002F` and edited in-place. Do not `npm install shadcn-ui`.\n  Run `npx shadcn@latest add \u003Cprimitive>` to scaffold; then edit.\n- Major-version drift between this skill's `## Compatibility` line and\n  the project's installed primitives is a real risk. The audit step\n  writes `state.ui_audit.shadcn_inventory` with the detected version —\n  when it diverges by a major, audit emits a soft halt before this\n  skill runs.\n- shadcn\u002Fui composes a primitive vendor — `@base-ui\u002Freact` in a CLI-4 scaffold,\n  `@radix-ui\u002F*` in older projects. Accessibility is built in either way, but\n  only when the wrapper components are used correctly (`asChild`,\n  `\u003CDialogTrigger>` instead of a bare `\u003Cbutton>`).\n- **Tailwind tokens: branch on the `css` axis, never guess.** `detect_stack()`\n  emits `axes.css` as `tailwind-v4` or `tailwind-v3`\n  (`work_engine\u002Fstack\u002Fdetect.ts:521-524`); `existing-ui-audit` reads tokens on\n  the same key.\n  - `tailwind-v4` — **no config file exists.** Tokens live in the `@theme` block\n    of the entry CSS named by `components.json` → `tailwind.css`, and that file's\n    `\"tailwind\": {\"config\": \"\"}` — an empty `config` string — IS the v4 marker.\n    Never write `tailwind.config.{js,ts}` in a v4 project.\n  - `tailwind-v3` — tokens come from `tailwind.config.{js,ts}`\n    (`theme.extend.colors`).\n  - Either branch — CSS custom properties on `:root` and `.dark`\n    (`--background`, `--foreground`, `--primary`, `--ring`, …). Audit writes them\n    into `state.ui_audit.design_tokens`. Use those tokens; never hardcode values.\n- Dark mode is class-based (`\u003Chtml class=\"dark\">`). Every color must come\n  from `bg-background`, `text-foreground`, etc. — never raw `bg-white`.\n- Every interactive primitive must declare a focus-visible state via\n  `focus-visible:ring-2 focus-visible:ring-ring`; that comes for free with\n  the generated primitives but is easy to remove during a refactor.\n- **Anti-AI-slop: shadcn-default look.** The out-of-the-box shadcn\n  theme + `Inter`-as-system-fallback + neutral grays reads as\n  template across projects (catalog T7\u002FT8 + C5). Unless\n  `state.ui_audit.design_tokens` pins the neutral palette as the\n  project's identity, the polish step should match typography and color\n  tokens to the design brief's `aesthetic:` line (from `fe-design`\n  aesthetic-direction). Theme\u002Ffont drift within a single audited project\n  breaks consistency — variation lives between projects, not between\n  components in the same surface.\n- **Anti-AI-slop catalog + linter.** Pull\n  [`docs\u002Fguidelines\u002Fdesign-antipatterns.md`](..\u002F..\u002F..\u002Fdocs\u002Fguidelines\u002Fdesign-antipatterns.md)\n  before the polish step (Visual V1–V8, Layout L1–L10 are the React-component\n  slop tells); the objective quality floors (WCAG contrast, focus-visible,\n  reduced-motion) are validated via `accessibility-auditor`'s checklist —\n  cite its verdict rather than eyeballing.\n\n## Covered primitives\n\nThis skill is validated against the following shadcn primitives at the\ndeclared version:\n\n- **Form \u002F inputs:** `Button`, `Input`, `Textarea`, `Checkbox`,\n  `RadioGroup`, `Select`, `Switch`, `Label`, `Form` (react-hook-form\n  wrapper + `zodResolver`).\n- **Overlay:** `Dialog`, `Sheet`, `Popover`, `Tooltip`, `DropdownMenu`,\n  `AlertDialog`.\n- **Layout:** `Card`, `Separator`, `Tabs`, `Accordion`, `ScrollArea`.\n- **Data display:** `Table` (with `@tanstack\u002Freact-table`), `Badge`,\n  `Avatar`, `Skeleton`, `Progress`.\n- **Feedback:** `Toast` (sonner), `Alert`.\n\n## Not covered — fall back to manual composition\n\n- Marketing-only components (Hero, Pricing, Features) — outside shadcn\u002Fui.\n- `Calendar` \u002F `DatePicker` — composition skill required, not generated.\n- `Combobox` — built from `Command` + `Popover`; case-by-case.\n- Streaming \u002F partial-prerender boundaries — use the project's framework\n  patterns (Next.js \u002F Remix), not shadcn\u002Fui.\n\n## Registry & MCP awareness (opt-in)\n\nThe default path is the bundled `scripts\u002Fshadcn_add.ts` CLI wrapper + reading\n`components.json` — it works on most shadcn projects and stays the default.\nThe modern registry model is an **opt-in enhancement**; do not add round-trips\nto every component op. Full JSON-schema + namespace detail is lazy-loaded from\n[`references\u002Fregistry.md`](references\u002Fregistry.md) — read it only on this path,\nnot on the vanilla `add`.\n\n**`shadcn info --json` handshake** — run it as the grounding step **when** the\nproject declares custom\u002Fnamespaced `registries` in `components.json`, OR when\ntheme-alignment is in scope. It returns framework, aliases, installed\ncomponents, icon lib, and base settings. Do NOT make it a forced first action\non every `add` (over-gating; low ROI on vanilla projects).\n\n- **Precedence vs our own audit:** prefer a live `shadcn info --json` when\n  available; fall back to `state.ui_audit.shadcn_inventory` (from\n  `existing-ui-audit`) when the CLI\u002FMCP is not reachable. They answer the same\n  question (project context) — the live read wins.\n\n**Namespaced installs** — `@ns\u002Fitem` resolves via the `registries` map to a\n`registry-item.json` URL (see the reference). Run `view @ns\u002Fitem` to inspect\nthe JSON before `add`. Honour `registryDependencies` (install the graph,\nincluding version-pinned GitHub refs like `acme\u002Fui\u002Fbutton#v1.2.0`); keep\npropose-never-silent-run + `--dry-run`.\n\n**Token-aware scaffolding** — when a `registry-item.json` carries `cssVars`\n(OKLCH, light\u002Fdark\u002Ftheme), align additions to the project's existing tokens\n(from `info --json` \u002F `components.json` \u002F `state.ui_audit.design_tokens`) —\n**never inject the default shadcn neutral theme** (it is a flagged anti-slop\ntell: default theme + Inter fallback + neutral grays).\n\n**MCP path (opt-in)** — the shadcn MCP server exposes browse \u002F search-across-\nregistries \u002F install-with-natural-language over MCP; configure per the\n[`mcp-tool-use`](..\u002Fmcp-tool-use\u002FSKILL.md) skill. It is an alternative to the CLI, never a hard\ndependency. Decision note: **CLI path = default + universal; MCP path = opt-in\nwhen the user has it configured; registry-JSON literacy underpins both.**\n\n## Publish a registry — the library as a source others install from\n\nThe sections above **consume** a registry. This one **publishes** one: a component library in\nthis repository can expose its own components the same way, so a consumer installs them with\nthe tool they already use instead of copying files.\n\n1. **Author `registry.json`** at the library root — the index — and one\n   `registry-item.json` per exposed component, each naming its files, its\n   `registryDependencies`, and its `cssVars` when it carries token requirements.\n2. **Build** to `public\u002Fr` with the registry build command. **The installer gate applies\n   here exactly as it does to `add`**: propose it, run `--dry-run` first, and let the user\n   confirm. A build writes files, so nothing about it being \"our own\" registry lifts the\n   gate.\n3. **The consumer adds a `registries` map entry** pointing at the published index; from then\n   on `@ns\u002Fitem` resolves through it.\n\n**Two registry item types are FORBIDDEN**, deprecated in v4: `registry:build` and\n`registry:mcp`. Use **`registry:base`** and **`registry:font`** instead. Writing either\ndeprecated type produces an item the current CLI does not understand, and the failure surfaces\nat the consumer rather than at authoring time.\n\n**`dependencies` in a registry item never names `react` or `react-dom`.** They are peers of\nthe consuming app, and a registry item that installs its own copy reproduces the \"invalid hook\ncall\" failure one layer up — see\n[`js-library-packaging`](..\u002Fjs-library-packaging\u002FSKILL.md). `check_package_surface` enforces\nthis over a registry file.\n\n> **Provenance.** The registry-publishing shape and the deprecated-type list come from an\n> external plugin reference's component-CLI skill, read at a pinned revision. The source is\n> deliberately not named here, per this package's source-confidentiality policy: a shipped\n> artifact does not carry derivation attribution to a named external project. The identifier and revision\n> stay with the maintainer-side record.\n\n## Procedure: render a shadcn\u002Fui component for the design brief\n\n### Step 0: Inspect\n\n1. Read `state.ui_audit.shadcn_inventory.version` and confirm it matches\n   the version in `## Compatibility` within the same major. If audit\n   flagged a mismatch, the user already chose to proceed — note that\n   in `state.changes`.\n2. Read `state.ui_audit.design_tokens` — every color, spacing, and radius\n   in the rendered output must reference a token from this map.\n3. Read `state.ui_design`:\n   - `components` → the primitive list to compose.\n   - `microcopy` → button labels, empty-state text, validation messages.\n     **Lock — render verbatim.**\n   - `states` → empty \u002F loading \u002F error \u002F success \u002F disabled coverage.\n   - `a11y` → ARIA labels, keyboard nav, focus order.\n\n### Step 1: Compose primitives\n\n1. Import primitives from the project's `components\u002Fui\u002F` path\n   (`@\u002Fcomponents\u002Fui\u002Fbutton`, …) — never from `shadcn` or `radix-ui`.\n2. Compose Radix-style: `\u003CDialog>` → `\u003CDialogTrigger asChild>` →\n   `\u003CDialogContent>` → `\u003CDialogHeader>` → `\u003CDialogTitle>`. Never wrap\n   `DialogTrigger` around a pre-styled `\u003Cbutton>`; pass `asChild`.\n3. Use the variant API of `Button` (`variant=\"default\" | \"destructive\" |\n   \"outline\" | \"secondary\" | \"ghost\" | \"link\"`); do not override with\n   raw Tailwind for the variant set.\n4. Forms: `useForm` (react-hook-form) + `zodResolver(schema)` →\n   `\u003CForm>` → `\u003CFormField>` → `\u003CFormItem>` → `\u003CFormLabel>` →\n   `\u003CFormControl>` → `\u003CFormMessage>`. Validation messages come from\n   the zod schema, mirrored to the design-brief microcopy.\n\n### Step 2: Apply tokens, dark mode, a11y\n\n1. Colors via semantic classes: `bg-background`, `text-foreground`,\n   `bg-primary text-primary-foreground`, `text-muted-foreground`. No\n   `bg-white` \u002F `text-black` \u002F hardcoded `#fff`.\n2. Spacing \u002F radius from theme tokens (`rounded-lg` mapped to `--radius`\n   — in the `@theme` block on `tailwind-v4`, in `tailwind.config.{js,ts}` on\n   `tailwind-v3`). Polish refactors hardcoded values when a token exists.\n3. Dark mode: never branch on a `dark` prop; rely on the `.dark` class\n   on the root and semantic tokens.\n4. Every interactive primitive: keyboard trigger present (Enter\u002FSpace\n   on buttons, Esc on dialogs — free from the primitive vendor), focus ring,\n   `aria-label` from `state.ui_design.a11y` when icon-only.\n\n### Step 3: State coverage\n\n1. Empty: render the design-brief empty-state copy in a `Card` or\n   inline placeholder; never `null`.\n2. Loading: `Skeleton` rows for tables; `Button` `disabled` +\n   `Loader2` icon for submit-in-flight.\n3. Error: `Alert variant=\"destructive\"` with the design-brief message;\n   `FormMessage` for field-level errors.\n4. Success: `toast.success(...)` from `sonner` with the design-brief\n   confirmation copy.\n5. Disabled: `disabled` prop on the trigger plus the design-brief\n   reason as `aria-describedby` text.\n\n### Step 4: Validate\n\n1. No raw `\u003Cinput>` \u002F `\u003Cbutton>` \u002F `\u003Cselect>` outside the primitive set.\n   **Control roles.** For every control you add, look up its role in the `control_roles` of `agent-config ui:audit` (re-run it when the artifact is older than your last UI edit): use the canonical implementation and the siblings' box metrics. Role missing or tied → ask before inventing a control kind; a native control beside an existing primitive needs a stated `native_control_reason`.\n2. No hardcoded colors \u002F spacing — every value is a token.\n3. Microcopy matches `state.ui_design.microcopy` byte-for-byte.\n4. Dark mode: toggle `.dark` on `\u003Chtml>`, render the component, every\n   surface still legible (no `text-white on bg-white`).\n5. Keyboard: Tab through every focusable element; focus ring visible.\n\n## Output format\n\n1. React component file(s) under the project's `components\u002F` (or `app\u002F`)\n   tree, importing primitives from `@\u002Fcomponents\u002Fui\u002F*`.\n2. Per file, one entry recorded in `state.changes` with `kind=\"ui\"`,\n   `stack=\"react-shadcn\"`, and the design-brief summary.\n\n### Review pass — a11y findings + preview envelope\n\nWhen this skill is dispatched by `directives\u002Fui\u002Freview.ts` (test slot)\nor `directives\u002Fui\u002Fpolish.ts` (verify slot) — i.e. a review\u002Fpolish run,\nnot the initial apply — it also emits:\n\n- `state.ui_review.a11y` — `{violations: [{rule, selector, severity}, ...],\n  severity_floor?, accepted_violations?}`. Run an a11y tool against the\n  rendered output (e.g. `axe-core` via Playwright, `@axe-core\u002Freact`,\n  `jest-axe`) and translate hits into this shape. Use the same\n  `(rule, selector)` shape as `state.ui_audit.a11y_baseline` so the\n  engine's de-dup matches pre-existing entries on replay. Omit the\n  envelope on apply passes; the engine's `_apply_a11y_gate` only fires\n  when a baseline is present.\n- `state.ui_review.preview` — `{render_ok: bool, screenshot_path?,\n  dom_dump_path?, error?, skipped?, skip_reason?}`. **Render evidence is\n  required, not optional** on a review\u002Fpolish pass: you MUST drive the\n  headless browser (Playwright + axe-core) against the rendered output and\n  write `render_ok`. Omitting it now triggers the `preview_render_required`\n  halt — a render-capable stack can no longer claim success without\n  rendering. `render_ok: false` with `error` populated triggers the\n  `preview_render_failed` halt; `render_ok: true` with `screenshot_path`\n  threads the screenshot into the delivery report's `artifacts` list. The\n  only no-render path is an **explicit, reasoned skip**: set `skipped: true`\n  plus a `skip_reason` (e.g. no Playwright runner in this env). Browser\n  tooling (Playwright\u002FCypress\u002F…) is a consumer-project dependency — this\n  package does not ship one.\n\nPolish dispatch: when the dispatcher skips `review` because a previous\nreview pass already returned `SUCCESS`, this skill MUST itself\nsynthesise the updated `state.ui_review.findings` (including any\nremaining `a11y_violation` entries) so the engine's gate sees the\ncurrent state on the next polish round.\n\n## Taste Dials\n\nWhen `DESIGN.md` declares `## Taste Dials`, honour them: Variance → layout-family spread + asymmetry tolerance; Motion → animation budget + reduced-motion posture; Density → spacing scale + information-per-viewport. Absent → follow the design brief's inferred dials.\n\n## Component workshop (Storybook) — pointer\n\nThe workshop discipline (one concept per story, `@summary` on every export, stories run as\ntests, the `!manifest` tag, the opt-in MCP channel) lives in\n[`storybook-workshop`](..\u002Fstorybook-workshop\u002FSKILL.md). It is stack-agnostic and was lifted\nout of here rather than duplicated beside it.\n\nWhat stays React-specific and therefore stays here: the state-coverage matrix in Step 3 that\nthe story set is derived from, the token discipline of Step 2 that stories render under, and\nthe `(rule, selector, severity)` a11y shape in § Review pass that the workshop's validate\nstep writes into.\n\n## Security constraints\n\n`scripts\u002Fshadcn_add.ts` is the only shipped script, and it is the single\nsubprocess-plus-network surface in this suite — treat it accordingly.\n\n- **What it may touch** — the project rooted at `--project-root` (default\n  `cwd`): it reads `components.json` there and lets the upstream CLI write\n  the generated primitives under that root. Nothing outside it.\n- **What it must never do** — run without the exact `npx` command and the\n  component list having been shown to the user first, per the gate above.\n  Never pass `--overwrite` unprompted; never treat a non-zero exit as\n  success; never work around a missing `npx` silently\n  ([`missing-tool-handling`](..\u002F..\u002Frules\u002Fmissing-tool-handling.md)).\n- **Default invocation** — mutating. A bare `shadcn_add \u003Ccomponent>`\n  spawns `npx shadcn@latest add \u003Ccomponent>` and writes into the project.\n  `--dry-run` is the read-only path and prints the command it would run;\n  `--list` is read-only too. Use `--dry-run` for the proposal step.\n- **Outbound** — yes, and this is the point of the gate: `npx` resolves\n  `shadcn@latest` from the public npm registry on every live run, so both\n  the code fetched and the components written are chosen upstream, at run\n  time, not pinned here. That is the egress leg of the lethal trifecta\n  ([`lethal-trifecta-guard`](..\u002F..\u002Frules\u002Flethal-trifecta-guard.md)); the\n  human confirmation is what keeps it off an autonomous path.\n\n## Do NOT\n\n- Do NOT install `shadcn-ui` from npm — primitives are scaffolded.\n- Do NOT hardcode colors \u002F spacing \u002F radii — use the token map.\n- Do NOT branch on a `dark` prop — use semantic tokens + the `.dark` class.\n- Do NOT rewrite microcopy — it is locked by `state.ui_design`.\n- Do NOT skip `asChild` on `DialogTrigger` \u002F `SheetTrigger` \u002F similar\n  Radix wrappers — it breaks the accessibility contract.\n- Do NOT introduce a non-shadcn UI library (MUI, Chakra) into the same\n  surface — pick one system per surface.\n\n## Auto-trigger keywords\n\n- shadcn \u002F shadcn ui \u002F shadcn\u002Fui\n- React component (when the project uses shadcn)\n- Radix primitive\n- Tailwind dark mode\n- React Hook Form + zod\n",{"name":5,"packs":44,"scope":45,"trust":52,"domain":54,"install":55,"execution":57,"model_tier":63,"workspaces":64,"description":7},[19],{"write":46,"verification_command":51},[47,49],{"access":25,"pattern":48},"components\u002Fui\u002F**",{"access":32,"pattern":50},"components.json","npx shadcn@latest add \u003Ccomponent> --dry-run",{"level":53},"professional","engineering",{"default":40,"removable":56},true,{"type":58,"handler":59,"safety_mode":60,"allowed_tools":61},"assisted","shell","strict",[62],"Bash(npx:*)","medium",[54],"main","12bd765ce1d800501d45dfb8232102793af01290","src\u002Fskills\u002Freact-shadcn-ui",1,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config","https:\u002F\u002Fevent4u.app","https:\u002F\u002Fgithub.com\u002Fevent4u-app","Your events in your hand","2026-11-14 02:29:41",{"source":8,"skillName":5,"commands":75,"prompt":85,"zipAvailable":56},[76,79,82],{"tool":77,"command":78},"npx","npx skills add event4u-app\u002Fagent-config --skill react-shadcn-ui",{"tool":80,"command":81},"bunx","bunx skills add event4u-app\u002Fagent-config --skill react-shadcn-ui",{"tool":83,"command":84},"pnpm","pnpm dlx skills add event4u-app\u002Fagent-config --skill react-shadcn-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Freact-shadcn-ui\u002FSKILL.md",[87,93,97,103],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"evals\u002Ftriggers.json","REFERENCE","参考文档",3658,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Freact-shadcn-ui\u002Fevals\u002Ftriggers.json",{"path":94,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fregistry.md",3483,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Freact-shadcn-ui\u002Freferences\u002Fregistry.md",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fshadcn_add.mjs","SCRIPT","脚本",9657,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Freact-shadcn-ui\u002Fscripts\u002Fshadcn_add.mjs",{"path":104,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fshadcn_add.ts",14133,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Freact-shadcn-ui\u002Fscripts\u002Fshadcn_add.ts",[108,121,132,143,154,163],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6X84PK96XBPENXH66JCTSD1","unknown-key-fixture","Declares a key the schema does not know.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Funknown-key\u002FSKILL.md",[],[115,116,117,118,119,120],"unknown key fixture","Unknown key","fixture","unknown","schema","package",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"01M6X84HW7NAHZ7GZMQ9RXK1XJ","portable-fixture","Declares only semantics the MCP-lite carrier transports whole.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Fportable\u002FSKILL.md",[],[117,128,129,33,130,120,131],"portable","portable fixture","only","MCP",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M6X84F29FE0RGGZ1ZTFGZTX2","non-portable-fixture","Declares a runtime semantic the carrier drops.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Fnon-portable\u002FSKILL.md",[],[129,139,128,117,140,141,142,120],"non portable fixture","semantic","high","runtime",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":39},"01M6X848F706PT9MDCX75JKJ6B","candidate-zero-width","A candidate whose prose carries an invisible joiner.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fzero-width-injection\u002FSKILL.md",[],[150,151,152,153],"candidate zero width","candidate","ZeRO","prose",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":39},"01M6X841SSC2T31VDF41SA6DG1","candidate-disclosure-suppression","A candidate whose prose tells the agent to withhold from the user.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fdisclosure-suppression\u002FSKILL.md",[],[161,151,153,162],"candidate disclosure suppression","user",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":39},"01M6X83TFS5AGPBPVTQNWP0BB3","candidate-dangerous-frontmatter","A candidate claiming an unscoped tool grant and a permission bypass.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fdangerous-frontmatter\u002FSKILL.md",[],[170,151,171,59,172,173],"candidate dangerous frontmatter","frontmatter","permission","tool"]