feat(plan)!: wire existing skills into /plan and move write-docs into plan #256

Merged
Defame1297 merged 5 commits from feat/plan-skill-wiring into main 2026-11-29 18:05:57 +00:00
Owner

Implements spec #252. Decisions were recorded in !251.

Closes #253
Closes #254
Closes #255

What changed

  • #254 plan-track has a third track, wayfinder: work too large for one agent session, or with decisions that can't be settled yet. The skill names /wayfinder only as a command for the user to run. Its metadata.version is 0.2.0.
  • #255 /plan prompt:
    • Step 2: grills with grilling + domain-modeling. It makes no GLOSSARY.md or ADR edits during grilling; candidate terms and ADRs are collected for step 7. This equals grill-with-docs minus the writing. On the wayfinder track, /plan asks the user to confirm, gives a copyable /wayfinder command and stops. On no, it asks for one of the other two tracks.
    • Step 3: the researcher dispatch asks each researcher to flag a need for lasting reference docs.
    • Step 5: uses codebase-design only when module or interface shape changes, and lists the docs needed.
    • Step 7: gives the docs branch and copyable /write-docs and /research-docs commands. It asks for the output path only when research-docs topics were listed.
    • Step 8: strips Status/Ready for Agent from the spec issue.
    • Steps 9–10: gitea-labels-milestones resolves label IDs and creates the Spec: <title> milestone; gitea-issues assigns the filed tickets to it.
    • Every command the user is asked to run is a copyable code block.
    • The outline is updated to match.
  • #253 write-docs moves from bin to plan as a pure rename, the same shape as #246.
    • BREAKING: bin goes 4.0.0 → 5.0.0, plan goes 0.4.0 → 0.5.0.
    • The README bullets are updated, and marketplace.json is regenerated with apm pack.

Verification

  • All pre-push hooks passed, including apm audit --ci, run-tests --strict, the skill version bump check and marketplace validation.
  • apm pack --check-clean passed.
  • The ADR-0020 target tests passed: 83 passed, 0 failed.
  • A clean-context review found no blocking issues, and its non-blocking fixes are applied.

Follow-ups after merge

  • apm update plus a chore(apm): lock plan 0.5.0 commit on main, per the #246 precedent. Until then, the lock attributes write-docs to bin.
  • The bin-v5.0.0 and plan-v0.5.0 tags, cut with scripts/tag-plugin-releases.sh. They need maintainer approval.
  • The #255 post-merge assertion: run /plan on an oversized sample idea and confirm it reaches the wayfinder exit.

🤖 Generated with Claude Code

https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi

Implements spec #252. Decisions were recorded in !251. Closes #253 Closes #254 Closes #255 ## What changed - **#254 `plan-track`** has a third track, `wayfinder`: work too large for one agent session, or with decisions that can't be settled yet. The skill names `/wayfinder` only as a command for the user to run. Its `metadata.version` is 0.2.0. - **#255 `/plan` prompt**: - **Step 2:** grills with `grilling` + `domain-modeling`. It makes no `GLOSSARY.md` or ADR edits during grilling; candidate terms and ADRs are collected for step 7. This equals `grill-with-docs` minus the writing. On the wayfinder track, `/plan` asks the user to confirm, gives a copyable `/wayfinder` command and stops. On no, it asks for one of the other two tracks. - **Step 3:** the researcher dispatch asks each researcher to flag a need for lasting reference docs. - **Step 5:** uses `codebase-design` only when module or interface shape changes, and lists the docs needed. - **Step 7:** gives the docs branch and copyable `/write-docs` and `/research-docs` commands. It asks for the output path only when `research-docs` topics were listed. - **Step 8:** strips `Status/Ready for Agent` from the spec issue. - **Steps 9–10:** `gitea-labels-milestones` resolves label IDs and creates the `Spec: <title>` milestone; `gitea-issues` assigns the filed tickets to it. - Every command the user is asked to run is a copyable code block. - The outline is updated to match. - **#253 `write-docs` moves from bin to plan** as a pure rename, the same shape as #246. - **BREAKING:** bin goes 4.0.0 → 5.0.0, plan goes 0.4.0 → 0.5.0. - The README bullets are updated, and `marketplace.json` is regenerated with `apm pack`. ## Verification - All pre-push hooks passed, including `apm audit --ci`, `run-tests --strict`, the skill version bump check and marketplace validation. - `apm pack --check-clean` passed. - The ADR-0020 target tests passed: 83 passed, 0 failed. - A clean-context review found no blocking issues, and its non-blocking fixes are applied. ## Follow-ups after merge - `apm update` plus a `chore(apm): lock plan 0.5.0` commit on main, per the #246 precedent. Until then, the lock attributes `write-docs` to bin. - The `bin-v5.0.0` and `plan-v0.5.0` tags, cut with `scripts/tag-plugin-releases.sh`. They need maintainer approval. - The #255 post-merge assertion: run `/plan` on an oversized sample idea and confirm it reaches the wayfinder exit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Claude added this to the Spec: wire existing skills into plan's /plan flow milestone 2026-11-29 17:59:57 +00:00
Claude added the Kind/EnhancementCompat/Breaking labels 2026-11-29 17:59:57 +00:00
Claude added 5 commits 2026-11-29 17:59:57 +00:00
Work too large for one agent session, or with decisions that cannot be settled yet, needs a
third track. /wayfinder is hand-invoked, so plan-track names it only as a command for the user
to run. Wayfinder is checked before spec-and-tickets because it ends the /plan flow early.

Refs: #254
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Step 2 grills with grilling plus domain-modeling (no GLOSSARY.md or ADR
edits; candidates go to step 7) and exits early on the wayfinder track
with a copyable /wayfinder command. Step 5 uses codebase-design only on
module or interface changes and lists the docs needed downstream. Step 7
hands out /write-docs and /research-docs commands for the docs PR. Steps
8-10 show /to-spec and /to-tickets as code blocks, strip Ready for Agent
via gitea-labels-milestones, and group tickets under a Spec: milestone.
The outline moves these items into "What ships today".

Refs: #255

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Why: write-docs belongs next to research-docs in plan, the plugin that owns
turning work into documented specs and tickets (ADR-0031 amendment, !251).

Implementation notes:
- write-docs moves from bin to plan as a pure rename; SKILL.md is
  byte-for-byte unchanged (it already sits at ADR-0020's body-size budget).
- Versions: bin 4.0.0 -> 5.0.0, plan 0.4.0 -> 0.5.0 (the single plan bump
  for spec #252). plan gains the documentation keyword.
- README plugin bullets move documentation from bin to plan; plan's outline
  now says write-docs ships in plan.
- marketplace.json regenerated with apm pack.

BREAKING CHANGE: bin no longer ships write-docs; install plan for it.
Refs: #253
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Ask researchers to flag reference-doc needs, add the wayfinder "no"
branch, name the docs branch and give only applicable doc commands,
resolve the label ID before stripping Ready for Agent from the spec,
point the /to-spec rerun at step 8's block, and call /write-docs and
/research-docs user-run.

Refs: #255
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Match the prompt: the write-docs and research-docs commands are given
only when step 5 listed docs, and the output path is asked only for
research-docs topics.

Refs: #255

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Defame1297 approved these changes 2026-11-29 18:05:46 +00:00
Defame1297 merged commit 3b0dcc32d4 into main 2026-11-29 18:05:57 +00:00
Defame1297 deleted branch feat/plan-skill-wiring 2026-11-29 18:06:00 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Holocron#256