From c01d2b634689185203de52cfdc12b39b7ac0313d Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Tue, 14 Jul 2026 10:13:18 +0100 Subject: [PATCH] refactor(plugin): self-maintaining directory form for plugin skills Replace the hand-listed 22 skill directories in .claude-plugin/plugin.json with the two promoted buckets (./skills/engineering, ./skills/productivity). Claude Code discovers skills one level down, so newly promoted skills are picked up automatically and the manifest can't drift out of sync with the tree. Resolves the same enumeration gap that once left resolving-merge-conflicts off the list. Co-Authored-By: Claude Opus 4.8 (1M context) --- .changeset/plugin-skills-directory-form.md | 5 +++++ .claude-plugin/plugin.json | 24 ++-------------------- 2 files changed, 7 insertions(+), 22 deletions(-) create mode 100644 .changeset/plugin-skills-directory-form.md diff --git a/.changeset/plugin-skills-directory-form.md b/.changeset/plugin-skills-directory-form.md new file mode 100644 index 0000000..1de4037 --- /dev/null +++ b/.changeset/plugin-skills-directory-form.md @@ -0,0 +1,5 @@ +--- +"mattpocock-skills": patch +--- + +Switch the plugin manifest's `skills` field to self-maintaining directory form. Instead of hand-listing all 22 skill directories, `.claude-plugin/plugin.json` now points at the two promoted buckets (`./skills/engineering`, `./skills/productivity`) and lets Claude Code discover the skills one level down. New promoted skills are picked up automatically, and the manifest can no longer drift out of sync with the tree. diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 99d7c4c..3620402 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -19,27 +19,7 @@ "productivity" ], "skills": [ - "./skills/engineering/ask-matt", - "./skills/engineering/diagnosing-bugs", - "./skills/engineering/grill-with-docs", - "./skills/engineering/triage", - "./skills/engineering/improve-codebase-architecture", - "./skills/engineering/setup-matt-pocock-skills", - "./skills/engineering/tdd", - "./skills/engineering/to-spec", - "./skills/engineering/to-tickets", - "./skills/engineering/wayfinder", - "./skills/engineering/implement", - "./skills/engineering/prototype", - "./skills/engineering/research", - "./skills/engineering/domain-modeling", - "./skills/engineering/codebase-design", - "./skills/engineering/code-review", - "./skills/engineering/resolving-merge-conflicts", - "./skills/productivity/grill-me", - "./skills/productivity/grilling", - "./skills/productivity/handoff", - "./skills/productivity/teach", - "./skills/productivity/writing-great-skills" + "./skills/engineering", + "./skills/productivity" ] }