Add /update-docs slash command for post-merge documentation #71
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/claude-custom#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-2026-02-26-tf-modularize-postgres→ Phase 7f → Phase 7f-7Repo
forgejo_admin/claude-customUser Story
As Betty Sue
I want a
/update-docsslash command that walks the post-merge traceability chainSo that documentation stays current after every PR merge without relying on manual SOP recall
Context
The
sop-post-merge-docsSOP defines a 7-step traceability chain walk after PR merges:The PostToolUse hook
remind-update-docs.shalready fires aftermcp__forgejo__merge_approved_prand injects a reminder to run/update-docs. But the command doesn't exist — nocommands/directory exists in claude-custom at all.The
skill-update-docsnote in pal-e-docs describes the workflow. The slash command translates that into an executable Claude Code prompt.File Targets
Files to create:
commands/update-docs.md— the slash command prompt (new directory + new file)Files to potentially modify:
README.md— document the new commands directory and deploy processFiles NOT to touch:
hooks/remind-update-docs.sh— already works correctly as-ishooks/— no hook changes neededAcceptance Criteria
commands/update-docs.mdexists and follows Claude Code custom command formatget_note,update_note,create_note,get_sprint_board,move_sprint_itemmcp__forgejo__*tools for issue closingTest Expectations
commands/update-docs.mdto~/.claude/commands/and verify/update-docsappears in Claude Code command list/update-docsafter a test merge and verify it walks the chainConstraints
.sh, commands are.md)skill-update-docspal-e-docs note for the canonical workflowChecklist
Related
phase-postgres-7f-7-post-merge-automation— phase notesop-post-merge-docs— the SOP being automatedskill-update-docs— workflow description in pal-e-docs