[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KHWPZYJRM1HS38E1HESPS":3,"skill-same:01M77KHWPZYJRM1HS38E1HESPS":65},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M77KHWPZYJRM1HS38E1HESPS","setup",null,"Verify that markdownlint-cli2, the lint gate \u002Fdocs-hygiene:compress requires, resolves and runs for this repository, and validate the compress_articles setting: the userConfig value and the repository's docs\u002Fconventions\u002Fdocs-hygiene.yaml; write that file after confirmation. Use when: 'set up docs-hygiene', 'is docs-hygiene ready', 'compress stopped because markdownlint-cli2 is missing', 'set compress_articles for this repo', or before the first compress run. Actions: check (read-only, default), apply (writes docs\u002Fconventions\u002Fdocs-hygiene.yaml only). Installs nothing. Re-runnable and safe.","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\u002Fdocs-hygiene\u002Fskills\u002Fsetup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Verify that markdownlint-cli2, the lint gate \u002Fdocs-hygiene:compress requires, resolves and runs for this repository, and validate the compress_articles setting: the userConfig value and the repository's docs\u002Fconventions\u002Fdocs-hygiene.yaml; write that file after confirmation. Use when: 'set up docs-hygiene', 'is docs-hygiene ready', 'compress stopped because markdownlint-cli2 is missing', 'set compress_articles for this repo', or before the first compress run. Actions: check (read-only, default), apply (writes docs\u002Fconventions\u002Fdocs-hygiene.yaml only). Installs nothing. Re-runnable and safe.\"\nargument-hint: \"[check|apply] [\u003Ckey>=\u003Cvalue> ...]\"\nuser-invocable: true\ndisable-model-invocation: true\nshell: bash\n---\n\n## Purpose\n\nSetup for `\u002Fdocs-hygiene:compress`. It has two parts:\n\n- **The one external prerequisite**, `markdownlint-cli2`, which `compress` runs as its post-edit\n  ship gate and stops without. `check` resolves the binary, runs it, and reports the remediation.\n  Installing is the operator's.\n- **The `compress_articles` setting**, which decides whether `compress` may remove `a`, `an` and\n  `the`. It has two homes: the plugin's native `userConfig` option, which Claude Code prompts for\n  and stores, and which this skill reads but never writes; and one tracked consumer file,\n  `docs\u002Fconventions\u002Fdocs-hygiene.yaml`, the repository layer (keys, values and layers:\n  [`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`](${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md);\n  schema: `${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fdocs-hygiene.schema.json`). A value set in the file wins\n  over the user's `userConfig` value.\n\nAction routing: no argument or `check` runs the check; `apply` runs the check, then writes the\nrepository file and nothing else. With complete `\u003Ckey>=\u003Cvalue>` arguments nothing asks a question;\nthe one confirmation is a diff to an existing file (`apply` step 4).\n\nOfficial contract for `userConfig`: \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#user-configuration>.\n\n## `check` (read-only)\n\nReport a PASS\u002FINFO\u002FWARN\u002FFAIL table with one remediation line per FAIL. Modify nothing.\n\n1. **Resolve `markdownlint-cli2`** the way `compress` does: first `command -v markdownlint-cli2`\n   (on `PATH`), then `node_modules\u002F.bin\u002Fmarkdownlint-cli2` under the repository root. Report which\n   one resolved. FAIL when neither does.\n2. **Run it.** Execute the resolved binary with `--help` and no other argument. The probe must\n   read no markdownlint configuration and touch no file, so never pass `--version` or any argument\n   but `--help`. Judge the output, never the exit code: PASS when the first line of stdout is the\n   tool's version banner, naming `markdownlint-cli2` and its version. A shim can resolve and still\n   be broken (a missing Node interpreter, a dangling target), so resolution without the banner is\n   FAIL, with the stderr text in the remediation line.\n   - **Pointer**: when the probe's argument handling, help output or exit code is in question,\n     fetch [markdownlint-cli2: Command Line](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint-cli2#command-line)\n     and the argument parsing in\n     [`markdownlint-cli2.mjs` at v0.24.0](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint-cli2\u002Fblob\u002Fv0.24.0\u002Fmarkdownlint-cli2.mjs)\n     live; this decision was derived for markdownlint-cli2 v0.12.0 and later. **As of**:\n     2026-11-04. **Recheck trigger**: a markdownlint-cli2 release changes its argument parsing,\n     its help banner or the exit code of `--help`.\n3. **Repository settings.** Run `\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" --check` from the\n   project root and report each line it prints under its own INFO, PASS or WARN prefix: INFO when\n   `docs\u002Fconventions\u002Fdocs-hygiene.yaml` is absent, with no other line; otherwise a WARN for each\n   problem in the file (a value outside the key's list, a key set twice, an empty or null value, a\n   map or list where one string belongs, a key the schema does not list, or a line that does not\n   parse), quoting the file, key and value; then one line per schema key: `PASS \u003Ckey>: \u003Cvalue>` or `PASS \u003Ckey>: (unset)`, or\n   `WARN \u003Ckey>: dropped ...` when the file's value for that key is invalid or the file does not\n   parse. A key the schema does not list gets its own WARN and leaves the other keys' values in\n   force, the same way `\u002Fdocs-hygiene:compress` reads them. An invalid value never stops\n   `\u002Fdocs-hygiene:compress`, which names it and drops that layer, so these rows are WARNs. `apply`\n   fixes only a value that is outside the list, empty or null, and leaves an unknown key's line as\n   written; every other WARN needs a hand edit first.\n4. **Effective `compress_articles`.** Read the rendered `${user_config.compress_articles}`; a\n   literal unexpanded token means unset. Do not inspect or edit `settings.json`,\n   `settings.local.json`, managed settings or `pluginConfigs`. Resolve as `compress` does\n   (`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`), highest layer first, and state the value and the\n   layer that supplied it:\n   1. Step 3 printed `PASS compress_articles: \u003Cvalue>` with `keep` or `cut`: the file's value.\n   2. Step 3 printed `WARN compress_articles: dropped`: the file layer is dropped, and no valid\n      layer sits above it, so the value is `keep` (default). Never use the `userConfig` value in\n      its place.\n   3. Otherwise (no file, or the key unset in it): the `userConfig` value when it is `keep` or `cut`.\n      Any other `userConfig` value is named (`userConfig`, `compress_articles`, the value) and\n      dropped, and the value is `keep` (default).\n   4. Otherwise `keep` (default).\n\nRemediation for a `markdownlint-cli2` FAIL: install it explicitly, `npm install --save-dev\nmarkdownlint-cli2` in the repository or a global install, then rerun `check`. Without it\n`\u002Fdocs-hygiene:compress` stops at its entry point before touching a file. No other skill in this\nplugin needs the binary.\n\nTo change the `userConfig` value of `compress_articles`, reconfigure through Claude Code's native\nflow, interactively with `\u002Fplugin configure docs-hygiene@\u003Cmarketplace>` or by a headless route, as\nthe marketplace's plugin-reconfiguration convention gives them in\n[§ The routes](..\u002F..\u002Freference\u002Fplugin-reconfiguration.md#the-routes)\n(it owns the verified-version record). Apply the scope and failure-signal caveats in its\n[§ Caveats every setup skill's short form carries](..\u002F..\u002Freference\u002Fplugin-reconfiguration.md#caveats-every-setup-skills-short-form-carries).\nRead both sections and print what they give, the fallback route, its behavior on an\nalready-installed plugin and the scope to pass included, rather than only naming them, and\nleave out the verified-version record.\nNever uninstall to reconfigure; that section links what an uninstall deletes. This skill never\nwrites user settings or `pluginConfigs`. Afterwards rerun `check` in a **fresh session**, since a\nsame-session `check` can still show the old value, and report the observed effective value, never\nan unobserved change.\n\n- **Pointer**: for the headless command's flags, how it reports a saved or refused value, and\n  when a saved value applies, fetch\n  [plugin CLI reference § plugin configure](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fcli-reference#plugin-configure)\n  live.\n\nTo set the value for the whole repository instead, use `apply`.\n\n## `apply` (writes `docs\u002Fconventions\u002Fdocs-hygiene.yaml` only)\n\n1. Run `check` and show its table.\n2. **Resolve the value.** With a complete `compress_articles=\u003Cvalue>` argument, use it. Otherwise\n   ask, recommendation first: `keep`, the default, for docs people read; `cut` only when the team\n   wants the shortest text and its readers are agents. Never invent a key the schema does not list.\n3. **Write.** One call:\n\n   ```bash\n   \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" compress_articles=keep\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 writes only the keys named on the command line and keeps every other line of an\n   existing file. It validates the existing file first, and over it fixes only a value that is\n   outside the key's list, empty or null. It refuses with one line, exits 1 and leaves the file\n   untouched when a command-line key is outside the schema or given twice, a command-line value is\n   outside the key's list, or the existing file sets a key twice (`key : v` counts as `key: v`),\n   holds a map or list in any form, holds an empty quoted string, names a key the schema does not\n   list twice or with a map or list, does not parse, or mixes CRLF and LF line endings (a file\n   written with CRLF throughout is updated in place and keeps CRLF). Any other unknown key is\n   named in one warning and its line kept as written. It writes only\n   `\u003Cgit toplevel>\u002Fdocs\u002Fconventions\u002Fdocs-hygiene.yaml`: it resolves a symlinked root first, then\n   refuses a root that is `$HOME` or an ancestor of it (where `compress` does not read the file),\n   a symlinked `docs`, `docs\u002Fconventions` or target, a directory that resolves outside the\n   repository, and a target with more than one hard link, and checks the path again before each\n   directory it creates and before the write, which goes to a new temp file beside the target and\n   is renamed over it. A missing file is created. A value already in place prints\n   `already configured` and writes nothing.\n4. **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\n   call 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.\n5. **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 `\"${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.\n6. **Verify.** Re-run `check` and report the value from its table, not from the write. Then\n   `git check-ignore -v docs\u002Fconventions\u002Fdocs-hygiene.yaml` reports no match (a match means the\n   team never receives the file: say so, and leave `.gitignore` to the operator), and\n   `git ls-files --error-unmatch docs\u002Fconventions\u002Fdocs-hygiene.yaml` exits 0. Non-zero right after\n   a fresh write means \"written but untracked: commit it to share with the team\", never success.\n\n## Next\n\n`\u002Fdocs-hygiene:compress`\n\n## Gotchas\n\n- **A missing binary is not a lint failure.** `compress` never ships unverified output, so absence\n  stops it; `check` is how to see why before that happens.\n- **Never install on the operator's behalf.** This skill runs no `npm`, no `npx`, and no download.\n- **`apply` does not fix a missing binary.** It writes only the settings file.\n\n## What this skill does NOT do\n\n- Run `markdownlint-cli2` over repository files. The only execution is the `--help` liveness probe.\n- Check the consuming repository's markdownlint configuration. Which rules a repository adopts is its\n  own decision.\n- Write the plugin cache, Claude Code user settings, or `pluginConfigs`.\n","## Purpose\n\nSetup for `\u002Fdocs-hygiene:compress`. It has two parts:\n\n- **The one external prerequisite**, `markdownlint-cli2`, which `compress` runs as its post-edit\n  ship gate and stops without. `check` resolves the binary, runs it, and reports the remediation.\n  Installing is the operator's.\n- **The `compress_articles` setting**, which decides whether `compress` may remove `a`, `an` and\n  `the`. It has two homes: the plugin's native `userConfig` option, which Claude Code prompts for\n  and stores, and which this skill reads but never writes; and one tracked consumer file,\n  `docs\u002Fconventions\u002Fdocs-hygiene.yaml`, the repository layer (keys, values and layers:\n  [`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`](${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md);\n  schema: `${CLAUDE_PLUGIN_ROOT}\u002Fschemas\u002Fdocs-hygiene.schema.json`). A value set in the file wins\n  over the user's `userConfig` value.\n\nAction routing: no argument or `check` runs the check; `apply` runs the check, then writes the\nrepository file and nothing else. With complete `\u003Ckey>=\u003Cvalue>` arguments nothing asks a question;\nthe one confirmation is a diff to an existing file (`apply` step 4).\n\nOfficial contract for `userConfig`: \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fmanifest-reference#user-configuration>.\n\n## `check` (read-only)\n\nReport a PASS\u002FINFO\u002FWARN\u002FFAIL table with one remediation line per FAIL. Modify nothing.\n\n1. **Resolve `markdownlint-cli2`** the way `compress` does: first `command -v markdownlint-cli2`\n   (on `PATH`), then `node_modules\u002F.bin\u002Fmarkdownlint-cli2` under the repository root. Report which\n   one resolved. FAIL when neither does.\n2. **Run it.** Execute the resolved binary with `--help` and no other argument. The probe must\n   read no markdownlint configuration and touch no file, so never pass `--version` or any argument\n   but `--help`. Judge the output, never the exit code: PASS when the first line of stdout is the\n   tool's version banner, naming `markdownlint-cli2` and its version. A shim can resolve and still\n   be broken (a missing Node interpreter, a dangling target), so resolution without the banner is\n   FAIL, with the stderr text in the remediation line.\n   - **Pointer**: when the probe's argument handling, help output or exit code is in question,\n     fetch [markdownlint-cli2: Command Line](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint-cli2#command-line)\n     and the argument parsing in\n     [`markdownlint-cli2.mjs` at v0.24.0](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint-cli2\u002Fblob\u002Fv0.24.0\u002Fmarkdownlint-cli2.mjs)\n     live; this decision was derived for markdownlint-cli2 v0.12.0 and later. **As of**:\n     2026-11-04. **Recheck trigger**: a markdownlint-cli2 release changes its argument parsing,\n     its help banner or the exit code of `--help`.\n3. **Repository settings.** Run `\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" --check` from the\n   project root and report each line it prints under its own INFO, PASS or WARN prefix: INFO when\n   `docs\u002Fconventions\u002Fdocs-hygiene.yaml` is absent, with no other line; otherwise a WARN for each\n   problem in the file (a value outside the key's list, a key set twice, an empty or null value, a\n   map or list where one string belongs, a key the schema does not list, or a line that does not\n   parse), quoting the file, key and value; then one line per schema key: `PASS \u003Ckey>: \u003Cvalue>` or `PASS \u003Ckey>: (unset)`, or\n   `WARN \u003Ckey>: dropped ...` when the file's value for that key is invalid or the file does not\n   parse. A key the schema does not list gets its own WARN and leaves the other keys' values in\n   force, the same way `\u002Fdocs-hygiene:compress` reads them. An invalid value never stops\n   `\u002Fdocs-hygiene:compress`, which names it and drops that layer, so these rows are WARNs. `apply`\n   fixes only a value that is outside the list, empty or null, and leaves an unknown key's line as\n   written; every other WARN needs a hand edit first.\n4. **Effective `compress_articles`.** Read the rendered `${user_config.compress_articles}`; a\n   literal unexpanded token means unset. Do not inspect or edit `settings.json`,\n   `settings.local.json`, managed settings or `pluginConfigs`. Resolve as `compress` does\n   (`${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`), highest layer first, and state the value and the\n   layer that supplied it:\n   1. Step 3 printed `PASS compress_articles: \u003Cvalue>` with `keep` or `cut`: the file's value.\n   2. Step 3 printed `WARN compress_articles: dropped`: the file layer is dropped, and no valid\n      layer sits above it, so the value is `keep` (default). Never use the `userConfig` value in\n      its place.\n   3. Otherwise (no file, or the key unset in it): the `userConfig` value when it is `keep` or `cut`.\n      Any other `userConfig` value is named (`userConfig`, `compress_articles`, the value) and\n      dropped, and the value is `keep` (default).\n   4. Otherwise `keep` (default).\n\nRemediation for a `markdownlint-cli2` FAIL: install it explicitly, `npm install --save-dev\nmarkdownlint-cli2` in the repository or a global install, then rerun `check`. Without it\n`\u002Fdocs-hygiene:compress` stops at its entry point before touching a file. No other skill in this\nplugin needs the binary.\n\nTo change the `userConfig` value of `compress_articles`, reconfigure through Claude Code's native\nflow, interactively with `\u002Fplugin configure docs-hygiene@\u003Cmarketplace>` or by a headless route, as\nthe marketplace's plugin-reconfiguration convention gives them in\n[§ The routes](..\u002F..\u002Freference\u002Fplugin-reconfiguration.md#the-routes)\n(it owns the verified-version record). Apply the scope and failure-signal caveats in its\n[§ Caveats every setup skill's short form carries](..\u002F..\u002Freference\u002Fplugin-reconfiguration.md#caveats-every-setup-skills-short-form-carries).\nRead both sections and print what they give, the fallback route, its behavior on an\nalready-installed plugin and the scope to pass included, rather than only naming them, and\nleave out the verified-version record.\nNever uninstall to reconfigure; that section links what an uninstall deletes. This skill never\nwrites user settings or `pluginConfigs`. Afterwards rerun `check` in a **fresh session**, since a\nsame-session `check` can still show the old value, and report the observed effective value, never\nan unobserved change.\n\n- **Pointer**: for the headless command's flags, how it reports a saved or refused value, and\n  when a saved value applies, fetch\n  [plugin CLI reference § plugin configure](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fplugins\u002Fcli-reference#plugin-configure)\n  live.\n\nTo set the value for the whole repository instead, use `apply`.\n\n## `apply` (writes `docs\u002Fconventions\u002Fdocs-hygiene.yaml` only)\n\n1. Run `check` and show its table.\n2. **Resolve the value.** With a complete `compress_articles=\u003Cvalue>` argument, use it. Otherwise\n   ask, recommendation first: `keep`, the default, for docs people read; `cut` only when the team\n   wants the shortest text and its readers are agents. Never invent a key the schema does not list.\n3. **Write.** One call:\n\n   ```bash\n   \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsetup-apply.mjs\" compress_articles=keep\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 writes only the keys named on the command line and keeps every other line of an\n   existing file. It validates the existing file first, and over it fixes only a value that is\n   outside the key's list, empty or null. It refuses with one line, exits 1 and leaves the file\n   untouched when a command-line key is outside the schema or given twice, a command-line value is\n   outside the key's list, or the existing file sets a key twice (`key : v` counts as `key: v`),\n   holds a map or list in any form, holds an empty quoted string, names a key the schema does not\n   list twice or with a map or list, does not parse, or mixes CRLF and LF line endings (a file\n   written with CRLF throughout is updated in place and keeps CRLF). Any other unknown key is\n   named in one warning and its line kept as written. It writes only\n   `\u003Cgit toplevel>\u002Fdocs\u002Fconventions\u002Fdocs-hygiene.yaml`: it resolves a symlinked root first, then\n   refuses a root that is `$HOME` or an ancestor of it (where `compress` does not read the file),\n   a symlinked `docs`, `docs\u002Fconventions` or target, a directory that resolves outside the\n   repository, and a target with more than one hard link, and checks the path again before each\n   directory it creates and before the write, which goes to a new temp file beside the target and\n   is renamed over it. A missing file is created. A value already in place prints\n   `already configured` and writes nothing.\n4. **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\n   call 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.\n5. **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 `\"${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.\n6. **Verify.** Re-run `check` and report the value from its table, not from the write. Then\n   `git check-ignore -v docs\u002Fconventions\u002Fdocs-hygiene.yaml` reports no match (a match means the\n   team never receives the file: say so, and leave `.gitignore` to the operator), and\n   `git ls-files --error-unmatch docs\u002Fconventions\u002Fdocs-hygiene.yaml` exits 0. Non-zero right after\n   a fresh write means \"written but untracked: commit it to share with the team\", never success.\n\n## Next\n\n`\u002Fdocs-hygiene:compress`\n\n## Gotchas\n\n- **A missing binary is not a lint failure.** `compress` never ships unverified output, so absence\n  stops it; `check` is how to see why before that happens.\n- **Never install on the operator's behalf.** This skill runs no `npm`, no `npx`, and no download.\n- **`apply` does not fix a missing binary.** It writes only the settings file.\n\n## What this skill does NOT do\n\n- Run `markdownlint-cli2` over repository files. The only execution is the `--help` liveness probe.\n- Check the consuming repository's markdownlint configuration. Which rules a repository adopts is its\n  own decision.\n- Write the plugin cache, Claude Code user settings, or `pluginConfigs`.\n",{"shell":24,"description":7,"argument-hint":25,"user-invocable":26,"disable-model-invocation":26},"bash","[check|apply] [\u003Ckey>=\u003Cvalue> ...]",true,"main","d0e68c3f36b92a1d6381f0ba0060d7a0b8b886c5","plugins\u002Fdocs-hygiene\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":37,"prompt":47,"zipAvailable":26},[38,41,44],{"tool":39,"command":40},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":42,"command":43},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill setup",{"tool":45,"command":46},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fsetup\u002FSKILL.md",[49,55,61],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"evals\u002Fevals.json","REFERENCE","参考文档",5582,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fsetup\u002Fevals\u002Fevals.json",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Fsetup-apply.mjs","SCRIPT","脚本",2053,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fsetup\u002Fscripts\u002Fsetup-apply.mjs",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fsetup-apply.test.sh",17039,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Fsetup\u002Fscripts\u002Fsetup-apply.test.sh",[66,73,80,87,92,99],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"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},"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":88,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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",[],[]]