[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77M07JB6Y58Z6V61SFHCV4N":3,"skill-same:01M77M07JB6Y58Z6V61SFHCV4N":60},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":53},"01M77M07JB6Y58Z6V61SFHCV4N","setup",null,"Verify instruction-placement's prerequisites, resolve its effective configuration for this repository, and register its rules-index git pre-commit entry. Confirm that the index target exists AND that nothing in the repository stops Claude Code loading it (a root CLAUDE.md is read instead of the AGENTS.md beside it, so an unimported AGENTS.md index is inert while every other gate reports green), that `git` backs tracked-file discovery, and that the Claude Code CLI plus `jq` are present for the optional empirical load probe. Reports the resolved index target, breadth ceiling, and index row cap, naming which came from configuration and which from a default. Use when: 'set up instruction-placement', 'configure instruction-placement', 'where will the index go', 'why is my index not loading', 'is instruction-placement working', or before a first audit on a new repository. Actions: check (read-only, default) | apply (point at each remediation) | apply install-git-hooks [scope=local|shared]. Re-runnable.","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\u002Finstruction-placement\u002Fskills\u002Fsetup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Verify instruction-placement's prerequisites, resolve its effective configuration for this repository, and register its rules-index git pre-commit entry. Confirm that the index target exists AND that nothing in the repository stops Claude Code loading it (a root CLAUDE.md is read instead of the AGENTS.md beside it, so an unimported AGENTS.md index is inert while every other gate reports green), that `git` backs tracked-file discovery, and that the Claude Code CLI plus `jq` are present for the optional empirical load probe. Reports the resolved index target, breadth ceiling, and index row cap, naming which came from configuration and which from a default. Use when: 'set up instruction-placement', 'configure instruction-placement', 'where will the index go', 'why is my index not loading', 'is instruction-placement working', or before a first audit on a new repository. Actions: check (read-only, default) | apply (point at each remediation) | apply install-git-hooks [scope=local|shared]. Re-runnable.\"\nargument-hint: \"[check|apply [install-git-hooks [scope=local|shared]]]\"\nuser-invocable: true\ndisable-model-invocation: true\nallowed-tools:\n  - \"Bash(node \\\"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\\\" verify:*)\"\n  - \"Bash(node ${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs verify:*)\"\n  - \"Bash(node \\\"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\\\" plan:*)\"\n  - \"Bash(node ${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs plan:*)\"\nshell: bash\n---\n\n## Pre-computed context\n\n!`\"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fprecompute.sh\" audit 2>\u002Fdev\u002Fnull || echo \"- Orientation unavailable\"`\n\n## Purpose\n\nThin check-centric setup per the uniform setup contract (`docs\u002Fplugin-philosophy.md`, \"Setup is\nexplicit and repeatable\"): `check` inspects and reports, `apply` points at what it found.\n\nThe warrant is all three criteria, but one carries the weight. **The index target is an external\nreferent whose validity cannot be established by a configuration prompt.** A prompt stores the path\nyou typed; it cannot tell you that Claude Code will never read it. A `CLAUDE.md`, `.claude\u002FCLAUDE.md`\nor `CLAUDE.local.md` at the root is read *instead of* the `AGENTS.md` beside it, so a repository\ncarrying both with no import between them gets a perfectly generated, perfectly in-sync index that\nnever enters context, with every other gate green. Verifying that before a first audit is this\nskill's job; `\u002Finstruction-placement:check` asks the same question again on every gate run.\n\nThis skill treats the root `AGENTS.md` as shadowed wherever a `CLAUDE.md`, `.claude\u002FCLAUDE.md` or\n`CLAUDE.local.md` sits in the working directory or above it, and treats direct `AGENTS.md` reading\nas dependent on the CLI floor and session recorded in `skills\u002Fmigrate\u002Freference\u002Fsources.md`, \"The\nminimum CLI version\". Canary runs on Claude Code 2.1.278 observed the shadowing.\n\n- **Pointer**: for when Claude Code reads `AGENTS.md` and when that support is unavailable, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmemory#when-claude-code-reads-agents-md> and\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmemory#when-agents-md-support-is-unavailable>.\n\nSecondary warrants: `git` backs tracked-file discovery for nested instruction files, `node` runs the\ngit-hook installer and the session-start drift probe, and the optional empirical load probe needs\nthe Claude Code CLI plus `jq`. The only consumer-project files this plugin owns are its git-hook\nentry copies, which `apply install-git-hooks` writes.\n\n## Action: check (default)\n\nRead-only. Report each item with a verdict, and never repair anything.\n\n**1. Index target, the one that matters.** Resolve it the way `check` does (explicit argument,\nthen root `AGENTS.md`, then root `CLAUDE.md`), then verify reachability:\n\n```bash\n\"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Frender-index.sh\" reachable --file \u003Cresolved target>\n```\n\n| Verdict | Meaning | Say |\n|---|---|---|\n| `LOADED` | Claude Code reaches it | Name the file and the path it was reached by |\n| `NATIVE` | nothing in the repository blocks it | Report it as **unblocked, never as loaded**: no `CLAUDE.md` on its path displaces it, and whether Claude Code read it also depends on version and session kind, which no static check sees. `verify-load.sh` is the only thing that proves it loaded |\n| `UNREACHABLE` | it exists and is never read | **The headline finding.** Name the missing import |\n| target absent | no index home yet | Not a failure. Say which file `apply` would propose |\n\n**2. `git`.** Present and this is a work tree? Nested-instruction discovery is tracked-only, so\nwithout git it falls back to a plain walk and cannot honor the tracked-only corpus rule. Report the\ndegradation rather than implying full behavior.\n\n**3. `node`.** Probe it through the Bash tool: `command -v node && node --version`. The\ngit-hook installer and the session-start probe run on it, so without `node` on `PATH` the\npre-commit entry cannot be installed or verified. FAIL when absent, with that consequence. The\nskills and scripts still work, and an already-installed entry keeps running at commit.\n\n**4. Empirical probe prerequisites.** `jq` on `PATH`, and a Claude Code CLI. Both are optional: the\nstatic gates work without them and only `verify-load.sh` degrades. Say \"optional, absent\" rather\nthan \"missing\". An absent optional prerequisite is not a failure.\n\n**5. Git pre-commit entry.** Run `node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" verify`\nfrom the repository. Each line is `\u003Cstate>\\t\u003Centry>[\\t\u003Cdetail>]`: `ok` is PASS, `declined` is INFO\n(this clone said no; silent at session start), and `missing`, `stale`, `modified` or `superseded` is a FAIL\nwhose remediation is `apply install-git-hooks`; a `superseded` detail lists what an install under an earlier plugin name left, which that action removes on the user's yes. The entry needs no external tool. Outside a git\nrepository, report INFO and skip the step.\n\n**6. Effective configuration.** Print each value with its **source**, so a surprising number is\ntraceable:\n\n| Setting | Default | Source to report |\n|---|---|---|\n| index target | root `AGENTS.md`, else root `CLAUDE.md` | resolved-from |\n| `breadth_max` | 75 | `user_config` or default |\n| `index_max_rows` | 40 | `user_config` or default |\n\nA value equal to the default is still reported with its source. \"40 (default)\" and \"40 (configured)\"\nare different facts about a repository.\n\n## Action: apply\n\n**Writes nothing on its own.** Every remediation here edits a file that steers agent behavior, and\nthat is the operator's call, not a setup skill's. `apply` presents the exact change and asks. The\none write path is `apply install-git-hooks`, which writes only files this plugin owns.\n\n| Finding | Proposed remediation |\n|---|---|\n| Index target `UNREACHABLE` | Add `@AGENTS.md` as the first line of the root `CLAUDE.md`, or symlink `CLAUDE.md` → `AGENTS.md`. Show the exact line and its position. Removing the root `CLAUDE.md` instead is a repository-wide decision, not a setup remediation: route it to `\u002Finstruction-placement:migrate` |\n| Index target `NATIVE` | Nothing to do. No root `CLAUDE.md` blocks the target, so Claude Code reads it where `AGENTS.md` support is available. Report it as unblocked, never as verified loaded: run the empirical probe if the operator wants proof |\n| No index home | Name the file `render-index.sh write` would target, and offer to create the block |\n| `git` absent | State the degradation; there is nothing to install on the consumer's behalf |\n| `node` absent | Name it and the consequence (the git-hook entry cannot be installed or verified); install nothing |\n| Git entry `missing`, `stale`, `modified` or `superseded` | `apply install-git-hooks` |\n| `jq` or CLI absent | Name the tool and that only `verify-load.sh` is affected |\n\nAfter an accepted change, re-run the reachability check and report the new verdict. An `apply` that\ndoes not re-verify has not finished.\n\n## Action: apply install-git-hooks [scope=local|shared]\n\nRegisters the plugin's git-hook entry (`git-hooks\u002Fentries.json`) with the repository's hook manager.\nThe installer script only detects, renders and writes files the plugin owns; every step that needs\njudgment comes back to you as a `decisions[]` item, which you reason about and apply with your own\nedit tools.\n\n1. **Scope.** Use the argument when given. Otherwise, when the user is present, ask: `local` (this\n   clone only, nothing committed) or `shared` (committed under `.githooks\u002Finstruction-placement\u002F`,\n   so every teammate and agent gets it). When nobody can answer, use `local`.\n2. **Plan.** Run `node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" plan --scope \u003Cscope>` and\n   read the JSON: `manager`, `actions[]`, `decisions[]`.\n3. **Manager conflict.** A `manager-conflict` decision lists the evidence (two managers, or one this\n   installer does not drive, such as the pre-commit framework). Show it and ask which manager should\n   carry the entry; rerun `plan` with `--manager lefthook|husky|plain`. Without an answer, stop here\n   and report.\n4. **Actions.** When `actions[]` holds `copy` items, run\n   `node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" copy --scope \u003Cscope>` (plus the same\n   `--manager` when you passed one). It prints `installed`, `refreshed`, `unchanged`, `refused` or\n   `blocked` per entry; `refused` means a locally edited copy, which the `modified` decision covers,\n   and `blocked` means another tool owns the local hooks directory, which the `hooks-path-owned`\n   decision covers.\n5. **Decisions.** Read [reference\u002Fgit-hook-decisions.md](reference\u002Fgit-hook-decisions.md) for what\n   each kind asks of you, apply each one, then rerun `plan` until only the decisions you chose to\n   leave remain.\n6. **Verify.** Run `verify` and report its lines as `check` step 5 does.\n\nThe entry rewrites nothing: at commit it fails when a staged path is under `.claude\u002Frules\u002F` or is\nthe index file and the generated rules index no longer matches, and prints the regenerate command.\nA repository with no index block is never failed.\n\nWhen the user does not want the entry in this clone, run\n`node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" decline --entry index-check`; the\nsession-start drift line then stays silent until `verify` runs by hand, and `--undo` reverses it.\nAdd `--global` (with or without `--undo`) to decline the entry in every clone;\n`git config --global checks.git-hooks.declined true` declines every entry of every plugin, and an\nentry's own key set to `false` in a clone opts that entry back in. The [adoption\npath](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fcheck-placement\u002Fadopting-git-hooks.md) explains each install scope to the user.\n\n## Hard rules\n\n- **Idempotent.** Re-running changes nothing that is already correct, and says so rather than\n  reporting work it did not do.\n- **`check` never writes.** Not settings, not `CLAUDE.md`, not the index.\n- **Never install anything.** Name the tool and the reason; the operator's machine is theirs.\n- **Never report a prerequisite verified without probing it.** An absent probe is `unknown`, and\n  `unknown` is never reported as `ok`.\n- **An optional prerequisite's absence is not a failure.** Only the index-target verdict can make\n  this skill report a problem with the repository itself.\n\n## Next\n\n- Prerequisites report ready: `\u002Finstruction-placement:audit`.\n- `UNREACHABLE`, and the repository wants `AGENTS.md` to be the content home rather than another\n  import: `\u002Finstruction-placement:migrate`.\n- Rules or an index already exist and only need gating: `\u002Finstruction-placement:check`.\n\n## Gotchas\n\n- **`UNREACHABLE` is the finding people do not expect.** Everything else can be green while the\n  index does nothing. Lead with it when it fires; it is the reason this skill exists. It fires only\n  where a root `CLAUDE.md` is read instead of the target; `NATIVE` is the other outcome and is not a\n  finding.\n- **A target that does not exist yet is not unreachable.** Those are different states with different\n  remedies. Do not collapse them into one verdict.\n- **Reachability is not sync.** A reachable index can still be stale, and a stale index can still be\n  reachable. `\u002Finstruction-placement:check` gates both on every run. This skill asks only the\n  reachability question, as a prerequisite before the first audit.\n- **The plugin works with no configuration.** Every setting has a default that behaves. Do not\n  present configuration as a prerequisite to a first audit.\n","## Pre-computed context\n\n!`\"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fprecompute.sh\" audit 2>\u002Fdev\u002Fnull || echo \"- Orientation unavailable\"`\n\n## Purpose\n\nThin check-centric setup per the uniform setup contract (`docs\u002Fplugin-philosophy.md`, \"Setup is\nexplicit and repeatable\"): `check` inspects and reports, `apply` points at what it found.\n\nThe warrant is all three criteria, but one carries the weight. **The index target is an external\nreferent whose validity cannot be established by a configuration prompt.** A prompt stores the path\nyou typed; it cannot tell you that Claude Code will never read it. A `CLAUDE.md`, `.claude\u002FCLAUDE.md`\nor `CLAUDE.local.md` at the root is read *instead of* the `AGENTS.md` beside it, so a repository\ncarrying both with no import between them gets a perfectly generated, perfectly in-sync index that\nnever enters context, with every other gate green. Verifying that before a first audit is this\nskill's job; `\u002Finstruction-placement:check` asks the same question again on every gate run.\n\nThis skill treats the root `AGENTS.md` as shadowed wherever a `CLAUDE.md`, `.claude\u002FCLAUDE.md` or\n`CLAUDE.local.md` sits in the working directory or above it, and treats direct `AGENTS.md` reading\nas dependent on the CLI floor and session recorded in `skills\u002Fmigrate\u002Freference\u002Fsources.md`, \"The\nminimum CLI version\". Canary runs on Claude Code 2.1.278 observed the shadowing.\n\n- **Pointer**: for when Claude Code reads `AGENTS.md` and when that support is unavailable, see\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmemory#when-claude-code-reads-agents-md> and\n  \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmemory#when-agents-md-support-is-unavailable>.\n\nSecondary warrants: `git` backs tracked-file discovery for nested instruction files, `node` runs the\ngit-hook installer and the session-start drift probe, and the optional empirical load probe needs\nthe Claude Code CLI plus `jq`. The only consumer-project files this plugin owns are its git-hook\nentry copies, which `apply install-git-hooks` writes.\n\n## Action: check (default)\n\nRead-only. Report each item with a verdict, and never repair anything.\n\n**1. Index target, the one that matters.** Resolve it the way `check` does (explicit argument,\nthen root `AGENTS.md`, then root `CLAUDE.md`), then verify reachability:\n\n```bash\n\"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Frender-index.sh\" reachable --file \u003Cresolved target>\n```\n\n| Verdict | Meaning | Say |\n|---|---|---|\n| `LOADED` | Claude Code reaches it | Name the file and the path it was reached by |\n| `NATIVE` | nothing in the repository blocks it | Report it as **unblocked, never as loaded**: no `CLAUDE.md` on its path displaces it, and whether Claude Code read it also depends on version and session kind, which no static check sees. `verify-load.sh` is the only thing that proves it loaded |\n| `UNREACHABLE` | it exists and is never read | **The headline finding.** Name the missing import |\n| target absent | no index home yet | Not a failure. Say which file `apply` would propose |\n\n**2. `git`.** Present and this is a work tree? Nested-instruction discovery is tracked-only, so\nwithout git it falls back to a plain walk and cannot honor the tracked-only corpus rule. Report the\ndegradation rather than implying full behavior.\n\n**3. `node`.** Probe it through the Bash tool: `command -v node && node --version`. The\ngit-hook installer and the session-start probe run on it, so without `node` on `PATH` the\npre-commit entry cannot be installed or verified. FAIL when absent, with that consequence. The\nskills and scripts still work, and an already-installed entry keeps running at commit.\n\n**4. Empirical probe prerequisites.** `jq` on `PATH`, and a Claude Code CLI. Both are optional: the\nstatic gates work without them and only `verify-load.sh` degrades. Say \"optional, absent\" rather\nthan \"missing\". An absent optional prerequisite is not a failure.\n\n**5. Git pre-commit entry.** Run `node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" verify`\nfrom the repository. Each line is `\u003Cstate>\\t\u003Centry>[\\t\u003Cdetail>]`: `ok` is PASS, `declined` is INFO\n(this clone said no; silent at session start), and `missing`, `stale`, `modified` or `superseded` is a FAIL\nwhose remediation is `apply install-git-hooks`; a `superseded` detail lists what an install under an earlier plugin name left, which that action removes on the user's yes. The entry needs no external tool. Outside a git\nrepository, report INFO and skip the step.\n\n**6. Effective configuration.** Print each value with its **source**, so a surprising number is\ntraceable:\n\n| Setting | Default | Source to report |\n|---|---|---|\n| index target | root `AGENTS.md`, else root `CLAUDE.md` | resolved-from |\n| `breadth_max` | 75 | `user_config` or default |\n| `index_max_rows` | 40 | `user_config` or default |\n\nA value equal to the default is still reported with its source. \"40 (default)\" and \"40 (configured)\"\nare different facts about a repository.\n\n## Action: apply\n\n**Writes nothing on its own.** Every remediation here edits a file that steers agent behavior, and\nthat is the operator's call, not a setup skill's. `apply` presents the exact change and asks. The\none write path is `apply install-git-hooks`, which writes only files this plugin owns.\n\n| Finding | Proposed remediation |\n|---|---|\n| Index target `UNREACHABLE` | Add `@AGENTS.md` as the first line of the root `CLAUDE.md`, or symlink `CLAUDE.md` → `AGENTS.md`. Show the exact line and its position. Removing the root `CLAUDE.md` instead is a repository-wide decision, not a setup remediation: route it to `\u002Finstruction-placement:migrate` |\n| Index target `NATIVE` | Nothing to do. No root `CLAUDE.md` blocks the target, so Claude Code reads it where `AGENTS.md` support is available. Report it as unblocked, never as verified loaded: run the empirical probe if the operator wants proof |\n| No index home | Name the file `render-index.sh write` would target, and offer to create the block |\n| `git` absent | State the degradation; there is nothing to install on the consumer's behalf |\n| `node` absent | Name it and the consequence (the git-hook entry cannot be installed or verified); install nothing |\n| Git entry `missing`, `stale`, `modified` or `superseded` | `apply install-git-hooks` |\n| `jq` or CLI absent | Name the tool and that only `verify-load.sh` is affected |\n\nAfter an accepted change, re-run the reachability check and report the new verdict. An `apply` that\ndoes not re-verify has not finished.\n\n## Action: apply install-git-hooks [scope=local|shared]\n\nRegisters the plugin's git-hook entry (`git-hooks\u002Fentries.json`) with the repository's hook manager.\nThe installer script only detects, renders and writes files the plugin owns; every step that needs\njudgment comes back to you as a `decisions[]` item, which you reason about and apply with your own\nedit tools.\n\n1. **Scope.** Use the argument when given. Otherwise, when the user is present, ask: `local` (this\n   clone only, nothing committed) or `shared` (committed under `.githooks\u002Finstruction-placement\u002F`,\n   so every teammate and agent gets it). When nobody can answer, use `local`.\n2. **Plan.** Run `node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" plan --scope \u003Cscope>` and\n   read the JSON: `manager`, `actions[]`, `decisions[]`.\n3. **Manager conflict.** A `manager-conflict` decision lists the evidence (two managers, or one this\n   installer does not drive, such as the pre-commit framework). Show it and ask which manager should\n   carry the entry; rerun `plan` with `--manager lefthook|husky|plain`. Without an answer, stop here\n   and report.\n4. **Actions.** When `actions[]` holds `copy` items, run\n   `node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" copy --scope \u003Cscope>` (plus the same\n   `--manager` when you passed one). It prints `installed`, `refreshed`, `unchanged`, `refused` or\n   `blocked` per entry; `refused` means a locally edited copy, which the `modified` decision covers,\n   and `blocked` means another tool owns the local hooks directory, which the `hooks-path-owned`\n   decision covers.\n5. **Decisions.** Read [reference\u002Fgit-hook-decisions.md](reference\u002Fgit-hook-decisions.md) for what\n   each kind asks of you, apply each one, then rerun `plan` until only the decisions you chose to\n   leave remain.\n6. **Verify.** Run `verify` and report its lines as `check` step 5 does.\n\nThe entry rewrites nothing: at commit it fails when a staged path is under `.claude\u002Frules\u002F` or is\nthe index file and the generated rules index no longer matches, and prints the regenerate command.\nA repository with no index block is never failed.\n\nWhen the user does not want the entry in this clone, run\n`node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" decline --entry index-check`; the\nsession-start drift line then stays silent until `verify` runs by hand, and `--undo` reverses it.\nAdd `--global` (with or without `--undo`) to decline the entry in every clone;\n`git config --global checks.git-hooks.declined true` declines every entry of every plugin, and an\nentry's own key set to `false` in a clone opts that entry back in. The [adoption\npath](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fcheck-placement\u002Fadopting-git-hooks.md) explains each install scope to the user.\n\n## Hard rules\n\n- **Idempotent.** Re-running changes nothing that is already correct, and says so rather than\n  reporting work it did not do.\n- **`check` never writes.** Not settings, not `CLAUDE.md`, not the index.\n- **Never install anything.** Name the tool and the reason; the operator's machine is theirs.\n- **Never report a prerequisite verified without probing it.** An absent probe is `unknown`, and\n  `unknown` is never reported as `ok`.\n- **An optional prerequisite's absence is not a failure.** Only the index-target verdict can make\n  this skill report a problem with the repository itself.\n\n## Next\n\n- Prerequisites report ready: `\u002Finstruction-placement:audit`.\n- `UNREACHABLE`, and the repository wants `AGENTS.md` to be the content home rather than another\n  import: `\u002Finstruction-placement:migrate`.\n- Rules or an index already exist and only need gating: `\u002Finstruction-placement:check`.\n\n## Gotchas\n\n- **`UNREACHABLE` is the finding people do not expect.** Everything else can be green while the\n  index does nothing. Lead with it when it fires; it is the reason this skill exists. It fires only\n  where a root `CLAUDE.md` is read instead of the target; `NATIVE` is the other outcome and is not a\n  finding.\n- **A target that does not exist yet is not unreachable.** Those are different states with different\n  remedies. Do not collapse them into one verdict.\n- **Reachability is not sync.** A reachable index can still be stale, and a stale index can still be\n  reachable. `\u002Finstruction-placement:check` gates both on every run. This skill asks only the\n  reachability question, as a prerequisite before the first audit.\n- **The plugin works with no configuration.** Every setting has a default that behaves. Do not\n  present configuration as a prerequisite to a first audit.\n",{"shell":24,"description":7,"allowed-tools":25,"argument-hint":30,"user-invocable":31,"disable-model-invocation":31},"bash",[26,27,28,29],"Bash(node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" verify:*)","Bash(node ${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs verify:*)","Bash(node \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs\" plan:*)","Bash(node ${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fgit-hooks\u002Finstall.mjs plan:*)","[check|apply [install-git-hooks [scope=local|shared]]]",true,"main","c68fcc0bf2eb1373a1c9ed172abdae781872e8d0","plugins\u002Finstruction-placement\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":42,"prompt":52,"zipAvailable":31},[43,46,49],{"tool":44,"command":45},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":47,"command":48},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":50,"command":51},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Finstruction-placement\u002Fskills\u002Fsetup\u002FSKILL.md",[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"reference\u002Fgit-hook-decisions.md","REFERENCE","参考文档",5152,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Finstruction-placement\u002Fskills\u002Fsetup\u002Freference\u002Fgit-hook-decisions.md",[61,68,75,82,87,94],{"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},"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":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},"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":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},"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":83,"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":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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",[],[]]