feat(bin)!: rename research to research-docs and pin upstream research
Upstream wayfinder resolves research tickets by calling the Skill tool with `research`, expecting one cited findings note per question. That name landed on bin's reference-tree skill, which researches a tool's docs into topic files plus sources.md and stops to ask for an output path, stalling an AFK subagent. Implementation Notes: - bin's skill becomes `research-docs` (skill 2.0.0, bin 3.0.0) with a boundary clause routing single-question research to `research`. - mattpocock pins upstream research#v1.3.2 (0.4.0). - write-docs, GLOSSARY's Provenance chain and skill-author's template now name `research-docs`. BREAKING CHANGE: `research` now resolves to upstream's single-note skill; invoke `research-docs` for a per-topic reference tree. Fixes: #161 ADR: 0030 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This commit is contained in:
1 parent
516c85cb48
commit
0223b6e1bf
11 files changed
+63
-14
No files matched your search
@@ -0,0 +1,39 @@
|
||||
# Reference file format
|
||||
|
||||
Every topic file follows this structure.
|
||||
|
||||
## Frontmatter
|
||||
|
||||
```yaml
|
||||
---
|
||||
topic: <topic-slug> # matches the filename without .md (e.g. "api-reference")
|
||||
source_keys: # kebab-case slugs of sources that contributed; must match sources.md entries
|
||||
- <slug>
|
||||
- <slug>
|
||||
---
|
||||
```
|
||||
|
||||
## Body
|
||||
|
||||
Plain prose organized into markdown sections (`##`, `###`). Extract the content most relevant to skill authoring or implementation — not a verbatim copy of the source. Focus on:
|
||||
- Decisions that affect how to call the API or tool
|
||||
- Options, flags, or parameters with non-obvious behavior
|
||||
- Constraints, rate limits, or gotchas
|
||||
- Canonical patterns the skill should follow
|
||||
|
||||
No inline URLs in the body — all source traceability lives in `sources.md` via `source_keys`.
|
||||
|
||||
## sources.md format
|
||||
|
||||
```markdown
|
||||
# Sources
|
||||
|
||||
## <slug>
|
||||
|
||||
- **URL:** <full URL>
|
||||
- **Description:** <one-line summary of what this source covers>
|
||||
- **Contributing files:** <comma-separated list of topic files this source contributed to>
|
||||
- **Status:** `extracted` | `no content extracted`
|
||||
```
|
||||
|
||||
Use one `##` section per source. Slugs are kebab-case derived from the domain or page title (e.g. `stripe-api-docs`, `openai-python-sdk-readme`). For Context7 sources, use the slug `context7-<library-slug>` (e.g. `context7-vercel-next-js`) and set **URL** to `context7:<library-id>` (e.g. `context7:/vercel/next.js`).
|
||||
Reference in new issue
Block a user