Add sd-docs-writer agent and /sd:adr command - #12
Merged
Conversation
developzoneio
force-pushed
the
feat/sd-docs-writer-adr
branch
from
June 19, 2026 09:41
cefac75 to
e4fcdc1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Implements the Planned roadmap item
sd-docs-writeragent. Adds a 6th agent and an 11th commandthat draft a numbered, MADR-style Architecture Decision Record under
.specs/_adr/from a spec'sdecision artifacts, behind one hard approval gate.
Changes
agents/docs-writer.md(new,sd-docs-writer) - modelsonnet, minimal toolsRead/Write/Glob/Grep, skillsd-evidence-citation. Drafts ONE ADR from a decision source; neveredits the constitution, never modifies code, never invents decisions.
commands/adr.md(new,/sd:adr <spec-ID | "title">) - Phase 0 bootstrap, resolves the decisionsource (spec
03-decisions.mdor ad-hoc), assigns the next zero-padded ADR number + kebab slug,invokes the agent, gates HARD before keeping, and handles supersession links.
scripts/validate.{ps1,sh}(hardcoded constants),CLAUDE.md,README.md,docs/architecture.md(routing tree + agent table + evidence-citationconsumers),
install/README.md(incl. total 33 -> 35),CONTRIBUTING.md,commands/setup.mdreport, and
templates/CLAUDE.template.md.CHANGELOG.md-[Unreleased] -> Addedentry.docs/superpowers/- design doc + implementation plan for traceability.Design decisions
.specs/_adr/); architecture-docgeneration and a close-gate offer are deferred follow-ups.
workflow files.
(scope discipline, mirrors
sd-implementer).Verification
scripts/validate.ps1- all 6 checks pass (Check 5:commands/sd : 11,agents/sd : 6; Check 4:6 agents use model aliases).
adr.md+docs-writer.mdpresent, uninstallremoves
commands/sdcleanly.Note on merge order
Overlaps
commands/setup.mdandCHANGELOG.mdwith #11 (setup codebase scan). Whichever merges secondwill need a small rebase + CHANGELOG resolve - the documented sequential-merge pattern.
🤖 Generated with Claude Code