docs(readme): add Claude Code plugin marketplace install as recommended path#33
Conversation
Closes the silent "## Other skills" gap from the tier-rendering generator (commit 56c3ed4). The bundled README groups skills by tier; an untagged skill would slide into a catch-all "Other skills" bucket without anyone noticing in code review. This lint fails the build when any source skill (SKILL.md or skills/<name>.md) is missing or has an unrecognized `tier:` value. The lint caught a real problem on first run: the root SKILL.md was the only source that hadn't been tagged in commit 56c3ed4. Added `tier: core` to fix it. Files: - src/bin/check-skill-tiers.mts (new) — pattern-matches src/bin/ check-skill-mirror.mts: pure `checkSkillTiers(repoRoot)` helper for unit tests, plus a CLI `main()` that exits 0/1 with a clear message. - src/test/check-skill-tiers.test.mts (new) — 10 tests covering missing tier, unrecognized tier, ignored README.md, missing skills/ dir, variant-spelling acceptance (FEATURED, tier1, tier-2), and CLI exit-code behavior on synthetic fixtures plus the live-repo no-drift assertion. - package.json — adds `verify:skill-tiers` npm script alongside the existing `verify:skill-mirror` and `verify:docs-substrings` lints. - SKILL.md — adds `tier: core` to the core 7 Laws skill (caught by the lint). - Generated: bundled mirror SKILL.md updates to match (byte-identity required by check-skill-mirror), plus the .mjs siblings. Verification: - npm test: 238/238 green (was 228; +10 tier-lint tests). - npm run verify:skill-tiers: exit 0 against the live repo. - npm run verify:skill-mirror: still clean (mirror copy updated).
…nded path Adds "Option A — Claude Code plugin (recommended, 2 commands)" section above the existing npm CLI installer (now "Option B"). The plugin marketplace install is two slash commands (`/plugin marketplace add` + `/plugin install`) vs. the npm path's four shell steps (npx install + mode flag + optional pack flag + verify). Both paths end at the same verification step (`/discipline` or `/dashboard`). Updates the shared
There was a problem hiding this comment.
Code Review
This pull request introduces a skill tier verification system, including a new linting script check-skill-tiers, corresponding tests, and updates to skill metadata. It also adds plugin installation instructions to the README.md. Feedback highlights the inclusion of a temporary test artifact that should be removed, suggests avoiding hardcoded values in documentation to prevent drift, and recommends refactoring the new script to eliminate redundant filesystem traversals and hardcoded error messages.
| {"type":"user","message":{"content":[{"type":"text","text":"please update the auth module"}]}} | ||
| {"type":"assistant","message":{"content":[{"type":"text","text":"I have updated the auth module. The change touched five files in src/auth/, added a refresh-token rotation, wired it into the middleware, and exposed it through the existing /auth/refresh endpoint. I removed three dead exports along the way and tightened the type on the JWT payload. Tests pass — I added two new ones for the rotation path and one regression test for the dead-import case. Build is green. The diff is mostly mechanical except for the rotation logic which deliberately re-uses the existing token-store interface rather than a new one. There is no migration needed because the new fields are append-only. The code is also cleaner than before — refactored a chained-promise pyramid into a flat async function."}]}} |
There was a problem hiding this comment.
| /plugin install continuous-improvement@continuous-improvement | ||
| ``` | ||
|
|
||
| Update later with `/plugin marketplace update continuous-improvement`. Browse the other 8 PM plugins with `/plugin` (interactive picker) or see the [full list below](#plugin-marketplace-plugins). |
There was a problem hiding this comment.
The count "8 PM plugins" is hardcoded, which can lead to documentation drift as new plugins are added to the repository. Consider using a more generic description to ensure the documentation remains accurate without manual updates.
| Update later with `/plugin marketplace update continuous-improvement`. Browse the other 8 PM plugins with `/plugin` (interactive picker) or see the [full list below](#plugin-marketplace-plugins). | |
| Update later with /plugin marketplace update continuous-improvement. Browse the other PM plugins with /plugin (interactive picker) or see the full list below (#plugin-marketplace-plugins). |
| const sources = discoverSkillSources(repoRoot); | ||
| const problems = checkSkillTiers(repoRoot); |
There was a problem hiding this comment.
| console.error(` file: ${p.path}`); | ||
| } | ||
| console.error( | ||
| "\nFix: add a `tier:` field to the source skill's YAML frontmatter. Recognized values: core, featured, \"1\", \"2\", companion. The generator uses this to group skills into the bundled README by tier; an untagged skill slides into the catch-all 'Other skills' bucket and is easy to miss in review.", |
Summary
/plugin marketplace add naimkatiman/continuous-improvement+/plugin install continuous-improvement@continuous-improvementflow.Test plan
/discipline(per the updated wording)