[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MJMHSCEEMSDWMG3EA0NS6":3,"skill-same:01M77MJMHSCEEMSDWMG3EA0NS6":64},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M77MJMHSCEEMSDWMG3EA0NS6","setup",null,"Check or apply the review plugin's repository setup: the standards index, docs\u002Fconventions\u002Freview.yaml settings, and the repository's own design-smell list.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Fsetup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Check or apply the review plugin's repository setup: the standards index, docs\u002Fconventions\u002Freview.yaml settings, and the repository's own design-smell list.\"\nargument-hint: \"[check|apply] [\u003Ckey>=\u003Cvalue> ...]\"\nuser-invocable: true\ndisable-model-invocation: true\n---\n\n## Purpose\n\nSettle where the consumer's **standards** live, the adopted conventions and criteria this\nplugin's review modes resolve through. By implementing the normative \"Setup and migration\"\nsection of the plugin's contract binding\n[`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fstandards-contract.md`](${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fstandards-contract.md).\nThe procedure (state reading via the index presence test, the conforming-index short-circuit, the\nhand-authored-README confirmation gate, interview, skeleton write, row-path validation,\nDIRECTIONAL version-delta detection with guided migration, idempotent re-run) lives there. Implement it by reference; do not restate it.\n\nIdempotent: re-running reads the current state and offers an update rather than overwriting blind;\na re-run against a conforming, current-version index proposes no changes.\n\nAction routing per the uniform setup contract\n([`docs\u002Fplugin-philosophy.md`](https:\u002F\u002Fraw.githubusercontent.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fmain\u002Fdocs\u002Fplugin-philosophy.md)\n\"Setup is explicit and repeatable\"): no argument or `check` runs\nthe binding's state-reading procedure read-only and reports index presence and resolved\nstandards root, per-row path validation, and the DIRECTIONAL version delta as a PASS\u002FFAIL\u002FINFO\ntable with one remediation line per FAIL, writing nothing. `apply` runs `check` first, then the\nbinding's bootstrap \u002F reconfigure \u002F migration flow below; after any write it re-runs the relevant\nprobe and reports the actual result. Non-interactive when the state admits exactly one conforming\naction (the conforming-index short-circuit); the binding's explicit-confirmation gates\n(hand-authored README conversion, bootstrap writes) remain explicit user decisions, never silent.\n\nThe plugin also owns one tracked settings file, `docs\u002Fconventions\u002Freview.yaml`, the repository\nlayer of its settings (keys, values and layers:\n[`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`](..\u002F..\u002Freference\u002Fconfig.md); schema:\n`${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Freview.schema.json`). `check` reports it; `apply` writes it only\nwhen the operator names a key or asks to change a setting, as described under\n[Repository settings](#repository-settings).\n\nThe plugin owns a second tracked file, `docs\u002Fconventions\u002Freview-digest.yaml`, the team layer of the\nreview-digest concern that `\u002Freview:explain-change` reads (schema:\n`${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Freview-digest.schema.json`; keys and layers: the review-digest\nconvention in the marketplace repository). The shared `setup-apply.mjs` writer does not check list\nkeys (`blast_radius`, `risk_paths`), so `apply` writes this file itself, only when the operator asks\nto change a digest setting: create it at `docs\u002Fconventions\u002Freview-digest.yaml`, the one path the\nreader looks at whatever convention home the repository binds, with only the keys the operator\nnames, values taken from the schema's allowed values, list globs in double quotes, or edit the\nnamed lines of the existing file and show the diff first. Then read the written file back from the\nworking tree and check it against the schema: no key the schema does not list, `digest_policy` one\nof its values, the counts unquoted whole numbers, `blast_radius` only its levels, `risk_paths` at\nmost 64 globs of at most 256 characters. Report each value that fails, quoting the key and value.\nDo not read it back through `digest-policy.mjs`: that script reads the team file only from a pull\nrequest's base commit, never the working tree, so it ignores an uncommitted file and warns that it\nis not on the base commit. Tell the operator the setting takes effect once the file is merged into\nthe base branch.\n\n## Repository settings\n\n**`check` row.** Run `node \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" --check` from the project\nroot and add each line it prints to the table with its own INFO, PASS or WARN prefix. INFO when the\nfile is absent (every key comes from `userConfig` or its default); PASS with each key's value when\nit validates; WARN when it does not (a value outside the key's values, a key set\ntwice, an empty value, a key the schema does not list, a file that does not parse, or a map or list\nwhere one value belongs), quoting the file, key and value. A key the schema does not list is\nignored: the other keys keep their PASS lines, so a valid `downstream_probe` floor beside it counts.\nA WARN never stops a review skill: the skill names the value and drops that layer for the key the\nWARN names. Any whole-file problem prints no PASS line and drops the layer for every key: a parse\nerror, an unknown key set twice or holding a map or list, or a refusal of the file itself (a\nsymlink, a hard link, a path outside the\nrepository, a target that is not a regular file, an unreadable file, a committed entry that is not\na regular file). `apply` is the fix.\n\n**`apply`.**\n\n1. **Resolve the values.** With complete `\u003Ckey>=\u003Cvalue>` arguments, use them. Otherwise ask one key\n   at a time, recommendation first, from the table in `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`\n   (`downstream_probe`: `run`, the default, unless the team wants `\u002Freview:quality-gate downstream`\n   to state its probe without running it, in which case `report`; `fanout_diversity`: `lens`, the\n   default, unless the team wants `\u002Freview:fanout run-everything` to run each review prompt on\n   several model tiers, in which case `model`, or to use the Codex reviewer as its model-diversity\n   panel, in which case `codex`; `fanout_act_on_cap`: `2`, the default, unless the team wants\n   more or fewer rows under each `\u002Freview:fanout` `## By axis` heading marked act on;\n   `smell_baseline`: `default`, unless the team wants no smell check (`off`) or its own list, which\n   [Design-smell list](#design-smell-list) writes and points the key at). Never\n   invent a key the schema\n   does not list. `downstream_probe` is a policy floor read from the default branch, so a value\n   written here takes effect once it is merged there.\n2. **Write.** One call with every value:\n\n   ```bash\n   node \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" downstream_probe=report\n   ```\n\n   Pass a key the operator accepts at the plugin default as `--default \u003Ckey>` instead of\n   `\u003Ckey>=\u003Cvalue>`, so a later change to that default reaches it; `\u003Ckey>=\u003Cvalue>` records the\n   team's choice, which the script never changes. The script also records `written_against` and\n   `provenance:`, so a file with no record, or one written against another plugin version, shows a\n   diff even when no value changes.\n\n   The script checks each value against the schema, refuses a key given twice, validates the\n   existing file, and validates the whole resulting document before it writes. In the existing\n   file it overwrites only a value outside the key's values, an empty value or null; it refuses a\n   key set twice, a map or list in block or flow form, an empty quoted string, an unknown key set\n   twice or holding a map or list, or a file that does not parse; any other unknown key is named\n   in one warning and its line kept as written. It writes only\n   `\u003Cgit toplevel>\u002Fdocs\u002Fconventions\u002Freview.yaml`. It resolves a symlinked root first, then\n   refuses a root that is `$HOME` or an ancestor of it, a symlinked `docs`, `docs\u002Fconventions` or\n   target, a hard-linked target, or a `docs\u002Fconventions` that resolves outside the repository,\n   checked again before each directory it creates and right before the write. Every refusal is\n   one line, exits 1 and leaves the file as it\n   was; a failed write removes only its own temp file. A missing file is created; a value already\n   in place prints `already configured`.\n3. **An existing file that would change** exits 3 and prints a unified diff without writing. Show\n   the operator that diff and ask whether to write it. Only on an explicit yes, re-run the same call\n   with `--yes`; on anything else, stop with the file unchanged.\n   When the convention-home offer prints below the diff, ask about it too (the next step) before\n   any re-run, since `--yes` writes both.\n4. **The convention-home offer.** When the repository's `AGENTS.md` or `CLAUDE.md` binds no\n   convention home, the script prints an offer: with the operator's confirmation it adds a\n   convention-home pointer region to that instruction file (creating `AGENTS.md` when neither\n   exists or `CLAUDE.md` only imports it) and the personal override ignore line\n   `docs\u002Fconventions\u002F**\u002F*.local.*` to `.gitignore`, the only files `apply` writes outside\n   `docs\u002Fconventions\u002F`. It prints the offer at the end of an exit 0 run and below the diff of an\n   exit 3 run, so show the operator stdout on exit 0 too. Ask whether to add the region and the\n   ignore line. Only on an explicit yes, re-run the same call with `--yes`, which also writes any\n   diff shown with it. On a no, run `node \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" --decline`\n   alone: it records the decline in the instruction file, and the next run does not offer again.\n   To write a shown diff without the region, run `--decline` first, then the same call with\n   `--yes`. When the instruction file or `.gitignore` is a symlink or hard link the script will\n   not write through, it prints a one-line refusal in place of the offer, with the same exit\n   code: show it, and do not re-run with `--yes`, which that refusal stops with exit 1. A refused\n   instruction file refuses `--decline` too, so the operator fixes the link or adds the region by\n   hand.\n5. **Verify.** Re-run the `check` row and report the value it prints, not the value written. Then\n   the tracked-file pair from the `apply` task below on `docs\u002Fconventions\u002Freview.yaml`.\n\n## Design-smell list\n\nWhen the operator asks for the repository's own design-smell list, or answers `smell_baseline`\nwith one, offer the catalog in `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fdesign-smells.md`: every entry of\nits \"Baseline\" and \"Further candidates\" sections, the baseline ones marked as shipped. Write only\nwhat the operator picks:\n\n1. **Ask** which entries to keep, and where the file goes (recommend `\u003Cstandards_dir>\u002Fdesign-smells.md`,\n   with the root resolved as the `apply` task below does). Never pre-select the further candidates.\n2. **Show, then write.** Show the file text, the chosen entries copied in the catalog's\n   `- Name: sign → remedy` shape, and write it on an explicit yes. An existing file is shown as a\n   diff and never overwritten without a yes.\n3. **Point the reviewer at it.** Set the key through the [Repository settings](#repository-settings)\n   `apply` steps, `smell_baseline=\u003Crepository-relative path>`, diff and confirmation included. When\n   the file sits under the standards root, also offer its index row (the binding's row shape).\n4. **Verify** with the tracked-file pair from the `apply` task below on the written file.\n\n## `apply` task\n\nPlugin-side notes on top of the binding's procedure:\n\n1. **State reading order:** `.claude\u002Fstandards.yaml` → index presence test at the resolved\n   `\u003Cstandards_dir>\u002FREADME.md` → inference sources (existing review docs such as a repo-root\n   `REVIEW.md` or `docs\u002Freview*` directory, other docs directories, ecosystem configs, a root\n   `CODING_STANDARDS.md` and `CONTRIBUTING.md`, ambient `CLAUDE.md` content). Pre-existing review documentation is an inference source for proposing\n   index rows. Converting it requires the binding's explicit-confirmation gate.\n2. **Bootstrap writes** (interactive, user-accepted. No silent writes): the skeleton index with\n   its `standards-contract` frontmatter at the binding's version, and the setup-owned\n   `\u003Cstandards_dir>\u002F.gitignore` containing `*.local.md` (the personal override ignore). Write\n   `.claude\u002Fstandards.yaml` only when the user relocates the root from the documented default.\n   After a bootstrap write, run the tracked-file pair on each written team file:\n   `git check-ignore -v` reports no match (a match is FAIL with the pattern) AND\n   `git ls-files --error-unmatch` exits 0 (non-zero right after a fresh write means \"written but\n   untracked: commit it to share with the team\", never success).\n3. **Validate every index row path** on each run (external-row validation duty); surface broken\n   rows with an offered fix.\n4. **Optional offers, never demands:** reorganizing mixed or spread standards content toward the\n   SRP + index shape.\n5. **Migration is this skill re-run**. No separate action; direction and messaging per the\n   binding.\n\n## Output\n\nA written (or confirmed-healthy) standards index and its personal override `.gitignore`, a one-line summary\nof the effective standards root, the row-validation result, and how to re-run this setup to\nreconfigure or migrate. When repository settings were written: the diff shown, the written path,\nthe value `check` reads back, and whether the file is tracked.\n\n## Next\n\n`\u002Freview:quality-gate`, which resolves review criteria through the index this setup bootstraps.\n\n## What this skill does NOT do\n\n- Run a review. That is `\u002Freview:quality-gate` and this plugin's reviewer agents; they resolve\n  criteria through the index this setup bootstraps.\n- Write the plugin cache, Claude Code user settings, or `pluginConfigs`. The per-user\n  `downstream_probe`, `fanout_diversity`, `fanout_act_on_cap` and `smell_baseline` options are set through\n  `\u002Fplugin configure`, not here.\n- Write any settings file other than `docs\u002Fconventions\u002Freview.yaml` and, when the operator asks\n  to change a digest setting, `docs\u002Fconventions\u002Freview-digest.yaml`. The design-smell list it may\n  write is criteria, not settings.\n- Edit the consumer's root `.gitignore` or any ignore file it did not itself create, the single\n  setup-owned ignore file is the standards root's bootstrap-shipped `\u003Cstandards_dir>\u002F.gitignore`.\n- Write anything into the plugin directory or the plugin data directory\n  (`${CLAUDE_PLUGIN_DATA}` is for caches and generated state only).\n","## Purpose\n\nSettle where the consumer's **standards** live, the adopted conventions and criteria this\nplugin's review modes resolve through. By implementing the normative \"Setup and migration\"\nsection of the plugin's contract binding\n[`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fstandards-contract.md`](${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fstandards-contract.md).\nThe procedure (state reading via the index presence test, the conforming-index short-circuit, the\nhand-authored-README confirmation gate, interview, skeleton write, row-path validation,\nDIRECTIONAL version-delta detection with guided migration, idempotent re-run) lives there. Implement it by reference; do not restate it.\n\nIdempotent: re-running reads the current state and offers an update rather than overwriting blind;\na re-run against a conforming, current-version index proposes no changes.\n\nAction routing per the uniform setup contract\n([`docs\u002Fplugin-philosophy.md`](https:\u002F\u002Fraw.githubusercontent.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fmain\u002Fdocs\u002Fplugin-philosophy.md)\n\"Setup is explicit and repeatable\"): no argument or `check` runs\nthe binding's state-reading procedure read-only and reports index presence and resolved\nstandards root, per-row path validation, and the DIRECTIONAL version delta as a PASS\u002FFAIL\u002FINFO\ntable with one remediation line per FAIL, writing nothing. `apply` runs `check` first, then the\nbinding's bootstrap \u002F reconfigure \u002F migration flow below; after any write it re-runs the relevant\nprobe and reports the actual result. Non-interactive when the state admits exactly one conforming\naction (the conforming-index short-circuit); the binding's explicit-confirmation gates\n(hand-authored README conversion, bootstrap writes) remain explicit user decisions, never silent.\n\nThe plugin also owns one tracked settings file, `docs\u002Fconventions\u002Freview.yaml`, the repository\nlayer of its settings (keys, values and layers:\n[`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`](..\u002F..\u002Freference\u002Fconfig.md); schema:\n`${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Freview.schema.json`). `check` reports it; `apply` writes it only\nwhen the operator names a key or asks to change a setting, as described under\n[Repository settings](#repository-settings).\n\nThe plugin owns a second tracked file, `docs\u002Fconventions\u002Freview-digest.yaml`, the team layer of the\nreview-digest concern that `\u002Freview:explain-change` reads (schema:\n`${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Freview-digest.schema.json`; keys and layers: the review-digest\nconvention in the marketplace repository). The shared `setup-apply.mjs` writer does not check list\nkeys (`blast_radius`, `risk_paths`), so `apply` writes this file itself, only when the operator asks\nto change a digest setting: create it at `docs\u002Fconventions\u002Freview-digest.yaml`, the one path the\nreader looks at whatever convention home the repository binds, with only the keys the operator\nnames, values taken from the schema's allowed values, list globs in double quotes, or edit the\nnamed lines of the existing file and show the diff first. Then read the written file back from the\nworking tree and check it against the schema: no key the schema does not list, `digest_policy` one\nof its values, the counts unquoted whole numbers, `blast_radius` only its levels, `risk_paths` at\nmost 64 globs of at most 256 characters. Report each value that fails, quoting the key and value.\nDo not read it back through `digest-policy.mjs`: that script reads the team file only from a pull\nrequest's base commit, never the working tree, so it ignores an uncommitted file and warns that it\nis not on the base commit. Tell the operator the setting takes effect once the file is merged into\nthe base branch.\n\n## Repository settings\n\n**`check` row.** Run `node \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" --check` from the project\nroot and add each line it prints to the table with its own INFO, PASS or WARN prefix. INFO when the\nfile is absent (every key comes from `userConfig` or its default); PASS with each key's value when\nit validates; WARN when it does not (a value outside the key's values, a key set\ntwice, an empty value, a key the schema does not list, a file that does not parse, or a map or list\nwhere one value belongs), quoting the file, key and value. A key the schema does not list is\nignored: the other keys keep their PASS lines, so a valid `downstream_probe` floor beside it counts.\nA WARN never stops a review skill: the skill names the value and drops that layer for the key the\nWARN names. Any whole-file problem prints no PASS line and drops the layer for every key: a parse\nerror, an unknown key set twice or holding a map or list, or a refusal of the file itself (a\nsymlink, a hard link, a path outside the\nrepository, a target that is not a regular file, an unreadable file, a committed entry that is not\na regular file). `apply` is the fix.\n\n**`apply`.**\n\n1. **Resolve the values.** With complete `\u003Ckey>=\u003Cvalue>` arguments, use them. Otherwise ask one key\n   at a time, recommendation first, from the table in `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`\n   (`downstream_probe`: `run`, the default, unless the team wants `\u002Freview:quality-gate downstream`\n   to state its probe without running it, in which case `report`; `fanout_diversity`: `lens`, the\n   default, unless the team wants `\u002Freview:fanout run-everything` to run each review prompt on\n   several model tiers, in which case `model`, or to use the Codex reviewer as its model-diversity\n   panel, in which case `codex`; `fanout_act_on_cap`: `2`, the default, unless the team wants\n   more or fewer rows under each `\u002Freview:fanout` `## By axis` heading marked act on;\n   `smell_baseline`: `default`, unless the team wants no smell check (`off`) or its own list, which\n   [Design-smell list](#design-smell-list) writes and points the key at). Never\n   invent a key the schema\n   does not list. `downstream_probe` is a policy floor read from the default branch, so a value\n   written here takes effect once it is merged there.\n2. **Write.** One call with every value:\n\n   ```bash\n   node \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" downstream_probe=report\n   ```\n\n   Pass a key the operator accepts at the plugin default as `--default \u003Ckey>` instead of\n   `\u003Ckey>=\u003Cvalue>`, so a later change to that default reaches it; `\u003Ckey>=\u003Cvalue>` records the\n   team's choice, which the script never changes. The script also records `written_against` and\n   `provenance:`, so a file with no record, or one written against another plugin version, shows a\n   diff even when no value changes.\n\n   The script checks each value against the schema, refuses a key given twice, validates the\n   existing file, and validates the whole resulting document before it writes. In the existing\n   file it overwrites only a value outside the key's values, an empty value or null; it refuses a\n   key set twice, a map or list in block or flow form, an empty quoted string, an unknown key set\n   twice or holding a map or list, or a file that does not parse; any other unknown key is named\n   in one warning and its line kept as written. It writes only\n   `\u003Cgit toplevel>\u002Fdocs\u002Fconventions\u002Freview.yaml`. It resolves a symlinked root first, then\n   refuses a root that is `$HOME` or an ancestor of it, a symlinked `docs`, `docs\u002Fconventions` or\n   target, a hard-linked target, or a `docs\u002Fconventions` that resolves outside the repository,\n   checked again before each directory it creates and right before the write. Every refusal is\n   one line, exits 1 and leaves the file as it\n   was; a failed write removes only its own temp file. A missing file is created; a value already\n   in place prints `already configured`.\n3. **An existing file that would change** exits 3 and prints a unified diff without writing. Show\n   the operator that diff and ask whether to write it. Only on an explicit yes, re-run the same call\n   with `--yes`; on anything else, stop with the file unchanged.\n   When the convention-home offer prints below the diff, ask about it too (the next step) before\n   any re-run, since `--yes` writes both.\n4. **The convention-home offer.** When the repository's `AGENTS.md` or `CLAUDE.md` binds no\n   convention home, the script prints an offer: with the operator's confirmation it adds a\n   convention-home pointer region to that instruction file (creating `AGENTS.md` when neither\n   exists or `CLAUDE.md` only imports it) and the personal override ignore line\n   `docs\u002Fconventions\u002F**\u002F*.local.*` to `.gitignore`, the only files `apply` writes outside\n   `docs\u002Fconventions\u002F`. It prints the offer at the end of an exit 0 run and below the diff of an\n   exit 3 run, so show the operator stdout on exit 0 too. Ask whether to add the region and the\n   ignore line. Only on an explicit yes, re-run the same call with `--yes`, which also writes any\n   diff shown with it. On a no, run `node \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" --decline`\n   alone: it records the decline in the instruction file, and the next run does not offer again.\n   To write a shown diff without the region, run `--decline` first, then the same call with\n   `--yes`. When the instruction file or `.gitignore` is a symlink or hard link the script will\n   not write through, it prints a one-line refusal in place of the offer, with the same exit\n   code: show it, and do not re-run with `--yes`, which that refusal stops with exit 1. A refused\n   instruction file refuses `--decline` too, so the operator fixes the link or adds the region by\n   hand.\n5. **Verify.** Re-run the `check` row and report the value it prints, not the value written. Then\n   the tracked-file pair from the `apply` task below on `docs\u002Fconventions\u002Freview.yaml`.\n\n## Design-smell list\n\nWhen the operator asks for the repository's own design-smell list, or answers `smell_baseline`\nwith one, offer the catalog in `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fdesign-smells.md`: every entry of\nits \"Baseline\" and \"Further candidates\" sections, the baseline ones marked as shipped. Write only\nwhat the operator picks:\n\n1. **Ask** which entries to keep, and where the file goes (recommend `\u003Cstandards_dir>\u002Fdesign-smells.md`,\n   with the root resolved as the `apply` task below does). Never pre-select the further candidates.\n2. **Show, then write.** Show the file text, the chosen entries copied in the catalog's\n   `- Name: sign → remedy` shape, and write it on an explicit yes. An existing file is shown as a\n   diff and never overwritten without a yes.\n3. **Point the reviewer at it.** Set the key through the [Repository settings](#repository-settings)\n   `apply` steps, `smell_baseline=\u003Crepository-relative path>`, diff and confirmation included. When\n   the file sits under the standards root, also offer its index row (the binding's row shape).\n4. **Verify** with the tracked-file pair from the `apply` task below on the written file.\n\n## `apply` task\n\nPlugin-side notes on top of the binding's procedure:\n\n1. **State reading order:** `.claude\u002Fstandards.yaml` → index presence test at the resolved\n   `\u003Cstandards_dir>\u002FREADME.md` → inference sources (existing review docs such as a repo-root\n   `REVIEW.md` or `docs\u002Freview*` directory, other docs directories, ecosystem configs, a root\n   `CODING_STANDARDS.md` and `CONTRIBUTING.md`, ambient `CLAUDE.md` content). Pre-existing review documentation is an inference source for proposing\n   index rows. Converting it requires the binding's explicit-confirmation gate.\n2. **Bootstrap writes** (interactive, user-accepted. No silent writes): the skeleton index with\n   its `standards-contract` frontmatter at the binding's version, and the setup-owned\n   `\u003Cstandards_dir>\u002F.gitignore` containing `*.local.md` (the personal override ignore). Write\n   `.claude\u002Fstandards.yaml` only when the user relocates the root from the documented default.\n   After a bootstrap write, run the tracked-file pair on each written team file:\n   `git check-ignore -v` reports no match (a match is FAIL with the pattern) AND\n   `git ls-files --error-unmatch` exits 0 (non-zero right after a fresh write means \"written but\n   untracked: commit it to share with the team\", never success).\n3. **Validate every index row path** on each run (external-row validation duty); surface broken\n   rows with an offered fix.\n4. **Optional offers, never demands:** reorganizing mixed or spread standards content toward the\n   SRP + index shape.\n5. **Migration is this skill re-run**. No separate action; direction and messaging per the\n   binding.\n\n## Output\n\nA written (or confirmed-healthy) standards index and its personal override `.gitignore`, a one-line summary\nof the effective standards root, the row-validation result, and how to re-run this setup to\nreconfigure or migrate. When repository settings were written: the diff shown, the written path,\nthe value `check` reads back, and whether the file is tracked.\n\n## Next\n\n`\u002Freview:quality-gate`, which resolves review criteria through the index this setup bootstraps.\n\n## What this skill does NOT do\n\n- Run a review. That is `\u002Freview:quality-gate` and this plugin's reviewer agents; they resolve\n  criteria through the index this setup bootstraps.\n- Write the plugin cache, Claude Code user settings, or `pluginConfigs`. The per-user\n  `downstream_probe`, `fanout_diversity`, `fanout_act_on_cap` and `smell_baseline` options are set through\n  `\u002Fplugin configure`, not here.\n- Write any settings file other than `docs\u002Fconventions\u002Freview.yaml` and, when the operator asks\n  to change a digest setting, `docs\u002Fconventions\u002Freview-digest.yaml`. The design-smell list it may\n  write is criteria, not settings.\n- Edit the consumer's root `.gitignore` or any ignore file it did not itself create, the single\n  setup-owned ignore file is the standards root's bootstrap-shipped `\u003Cstandards_dir>\u002F.gitignore`.\n- Write anything into the plugin directory or the plugin data directory\n  (`${CLAUDE_PLUGIN_DATA}` is for caches and generated state only).\n",{"description":7,"argument-hint":24,"user-invocable":25,"disable-model-invocation":25},"[check|apply] [\u003Ckey>=\u003Cvalue> ...]",true,"main","4f2dcaaff35e8f9fccc6a9f4d82a5830ab17a5c5","plugins\u002Freview\u002Fskills\u002Fsetup",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":25},[37,40,43],{"tool":38,"command":39},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":41,"command":42},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":44,"command":45},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Fsetup\u002FSKILL.md",[48,54,60],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"evals\u002Fevals.json","REFERENCE","参考文档",5554,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Fsetup\u002Fevals\u002Fevals.json",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fsetup-apply.mjs","SCRIPT","脚本",846,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Fsetup\u002Fscripts\u002Fsetup-apply.mjs",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fsetup-apply.test.sh",38186,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Fsetup\u002Fscripts\u002Fsetup-apply.test.sh",[65,72,79,86,91,98],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":87,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]