diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 8cf3d01..1677dd5 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -18,7 +18,7 @@ { "name": "bin", "description": "Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.", - "version": "2.0.0", + "version": "3.0.0", "category": "Utilities", "source": "./plugins/bin" }, @@ -46,7 +46,7 @@ { "name": "mattpocock", "description": "Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.", - "version": "0.3.0", + "version": "0.4.0", "category": "Productivity", "source": "./plugins/mattpocock" }, diff --git a/GLOSSARY.md b/GLOSSARY.md index f3ac026..8e305d7 100644 --- a/GLOSSARY.md +++ b/GLOSSARY.md @@ -84,7 +84,7 @@ resolve against. _Avoid_: the marketplace, upstream **Provenance chain**: -The three-stage traceability record linking a skill back to its research inputs: `/research` produces +The three-stage traceability record linking a skill back to its research inputs: `/research-docs` produces topic docs and a `sources.md`; the author skill records which sources informed which files in `references/sources.md` and `source_keys` frontmatter; `factory-audit` validates the chain is complete and internally consistent. diff --git a/docs/adr/0030-research-name-goes-to-upstream-bin-skill-becomes-research-docs.md b/docs/adr/0030-research-name-goes-to-upstream-bin-skill-becomes-research-docs.md new file mode 100644 index 0000000..432976f --- /dev/null +++ b/docs/adr/0030-research-name-goes-to-upstream-bin-skill-becomes-research-docs.md @@ -0,0 +1,45 @@ +# `research` is upstream's single-question skill; bin's reference-tree skill becomes `research-docs` + +**Status: accepted (2026-11-12).** Resolves #161. Builds on ADR-0029. + +Upstream `wayfinder` (mattpocock `v1.3.2`) resolves a `wayfinder:research` ticket by having a +fresh-context subagent call the Skill tool with `research` (`SKILL.md` lines 77 and 115). It expects +upstream's contract: investigate **one question** against primary sources and write **one** cited +findings note, saved where the repo keeps such notes, that a pending decision waits on. + +The bare name `research` resolved instead to bin's first-party skill, whose contract differs in +three ways that matter to wayfinder: + +- It researches a **tool, library or API**, not an arbitrary question. +- It writes a **reference tree** (`.md` files plus a `sources.md` registry), the input of the + Provenance chain that `factory-audit` validates. +- It **stops and asks** when no output path is named. A wayfinder research subagent runs AFK, so + it stalls there. + +The collision was silent: nothing warned that wayfinder's call landed on another contract. + +**Decision.** Rename bin's skill to `research-docs` (bin 2.0.0 → 3.0.0, skill 1.0.2 → 2.0.0) and pin +upstream `mattpocock/skills/skills/engineering/research#v1.3.2` in `plugins/mattpocock` (0.3.0 → +0.4.0). Callers that want the reference tree route to `research-docs`: `write-docs` does, and +`GLOSSARY.md`'s Provenance chain and `skill-author`'s template name it. + +**Rejected.** + +- **Broaden bin's skill to cover both.** It would carry two output contracts behind one + description, against ADR-0020/0021's one-boundary rule, and the stop-and-ask gotcha that protects + the reference-tree run is exactly what stalls the AFK one. +- **Replace bin's skill with upstream's.** It drops the reference-tree pipeline the Provenance chain + depends on. +- **Rename bin's skill alone.** Upstream's call cannot be renamed without forking `wayfinder`, so it + would resolve to nothing. +- **Accept the partial fit.** Decision research that is not about one tool's docs keeps failing, + silently. + +**Accepted cost: overlapping triggers.** Both skills are model-invoked. Upstream's description +("docs or API facts gathered") overlaps `research-docs`', and it cannot be edited without a fork. +`research-docs` carries the boundary clause ("Not a single question a decision waits on, answered in +one findings note -> `research`"); upstream's side has none, so a request to "research library X" +may route to either. Revisit if misrouting shows up in practice. + +**Breaking for consumers.** Anyone invoking `research` for a reference tree now gets upstream's +single-note skill. That is why bin takes a major bump. diff --git a/plugins/bin/.apm/skills/research/SKILL.md b/plugins/bin/.apm/skills/research-docs/SKILL.md similarity index 96% rename from plugins/bin/.apm/skills/research/SKILL.md rename to plugins/bin/.apm/skills/research-docs/SKILL.md index 0d8b699..15df4fa 100644 --- a/plugins/bin/.apm/skills/research/SKILL.md +++ b/plugins/bin/.apm/skills/research-docs/SKILL.md @@ -1,12 +1,13 @@ --- -name: research +name: research-docs description: >- Use when the user wants a tool, library, or API researched from canonical documentation into structured per-topic reference markdown files. Not documentation written from existing code or specs -> `write-docs`. Not a bug - or incident -> `diagnose`. + or incident -> `diagnose`. Not a single question a decision waits on, answered + in one findings note -> `research`. metadata: - version: "1.0.2" + version: "2.0.0" category: research allowed-tools: - Grep diff --git a/plugins/bin/.apm/skills/research/references/file-format.md b/plugins/bin/.apm/skills/research-docs/references/file-format.md similarity index 100% rename from plugins/bin/.apm/skills/research/references/file-format.md rename to plugins/bin/.apm/skills/research-docs/references/file-format.md diff --git a/plugins/bin/.apm/skills/research/references/topics.md b/plugins/bin/.apm/skills/research-docs/references/topics.md similarity index 100% rename from plugins/bin/.apm/skills/research/references/topics.md rename to plugins/bin/.apm/skills/research-docs/references/topics.md diff --git a/plugins/bin/.apm/skills/write-docs/SKILL.md b/plugins/bin/.apm/skills/write-docs/SKILL.md index 95c176d..f0abe44 100644 --- a/plugins/bin/.apm/skills/write-docs/SKILL.md +++ b/plugins/bin/.apm/skills/write-docs/SKILL.md @@ -5,11 +5,11 @@ description: > or spec, every claim traced to a source — "write docs for X", "document this module", "create docs for this feature", "write a README for this". Not an ADR or other decision record -> `grill-with-docs`. Not an external tool researched - from its docs -> `research`. + from its docs -> `research-docs`. updated: 2026-05-17 when: invoked by explicit trigger ("write docs for X", "document this module", "create docs for this feature") or implicit request to produce technical documentation from code or spec metadata: - version: "1.0.1" + version: "1.0.2" category: implement source: - repo: anthropics/skills diff --git a/plugins/bin/apm.yml b/plugins/bin/apm.yml index 7c48ecb..be88d8a 100644 --- a/plugins/bin/apm.yml +++ b/plugins/bin/apm.yml @@ -1,5 +1,5 @@ name: bin -version: 2.0.0 +version: 3.0.0 description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin. author: name: Defame1297 diff --git a/plugins/kyberforge/.apm/skills/skill-author/SKILL.md b/plugins/kyberforge/.apm/skills/skill-author/SKILL.md index 5223d55..f0d89bc 100644 --- a/plugins/kyberforge/.apm/skills/skill-author/SKILL.md +++ b/plugins/kyberforge/.apm/skills/skill-author/SKILL.md @@ -6,7 +6,7 @@ description: > Not read-only review -> `factory-audit`. Not agent files -> `agent-author`. allowed-tools: Bash Read Write Edit metadata: - version: "1.0.6" + version: "1.0.7" category: factory source_keys: - agentskills-home diff --git a/plugins/kyberforge/.apm/skills/skill-author/assets/templates/SKILL.md b/plugins/kyberforge/.apm/skills/skill-author/assets/templates/SKILL.md index f530bfe..eb3e4ab 100644 --- a/plugins/kyberforge/.apm/skills/skill-author/assets/templates/SKILL.md +++ b/plugins/kyberforge/.apm/skills/skill-author/assets/templates/SKILL.md @@ -57,7 +57,7 @@ metadata: # skill starts at "0.1.0" — leave the seeded value as it is; "1.0.0" is the seed # for a pre-existing skill retrofitted into the rule, not for a new one. # The rest of the map is optional: author, category, source_keys. -# source_keys: populated when built from /research output. Lists slugs from references/sources.md. +# source_keys: populated when built from /research-docs output. Lists slugs from references/sources.md. # Also add source_keys to each references/*.md file that was informed by research. # allowed-tools: Bash Read Write diff --git a/plugins/mattpocock/apm.yml b/plugins/mattpocock/apm.yml index 6f01807..e394067 100644 --- a/plugins/mattpocock/apm.yml +++ b/plugins/mattpocock/apm.yml @@ -1,5 +1,5 @@ name: mattpocock -version: 0.3.0 +version: 0.4.0 description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release. author: name: Defame1297 @@ -53,8 +53,10 @@ includes: auto # `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked # and overlaps the triggers of kyberforge's `skill-author` and core's # `agentsmd-author`. -# - `research` is not listed: bin's own `research` is first-party and kept, and -# so are bin's `diagnose`, `write-docs`, `caveman` and `zoom-out`. +# - `research` is the skill `wayfinder` calls to resolve a research ticket: one +# question answered in one cited findings note. bin's reference-tree skill +# was renamed `research-docs` to free the name (ADR-0030). bin's `diagnose`, +# `write-docs`, `caveman` and `zoom-out` are first-party and kept. # # Pinned on purpose: tracking a third-party `main` would import someone else's # drift. Bump every tag together, deliberately, so the skills stay at one @@ -80,6 +82,7 @@ dependencies: - mattpocock/skills/skills/engineering/implement-spec#v1.3.2 - mattpocock/skills/skills/engineering/retro#v1.3.2 - mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2 + - mattpocock/skills/skills/engineering/research#v1.3.2 mcp: [] devDependencies: apm: []