plugins/clade/skills/document-release/SKILL.md
Post-ship documentation sync — updates README, CHANGELOG, AGENTS.md, ARCHITECTURE, and TODOS after a release. Ensures docs never drift from code. Run after /commit or /ship before closing a PR.
npx skillsauth add shenxingy/claude-code-kit document-releaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This workflow runs directly in Codex. Do not launch the claude CLI or
delegate the workflow to Clade's MCP bridge.
Codex compatibility rules:
AGENTS.md files for repository instructions. If a project
has only CLAUDE.md, treat it as legacy project guidance and read it too..clade/ (or ~/.clade/ for personal
state). Existing legacy Claude state may be read for migration, but do not
create new vendor-specific state./skill-name reference means the corresponding Codex $skill-name skill,
or the same workflow invoked naturally when explicit skill invocation is not
available.<plugin-root>/... are relative to the installed Clade plugin
containing this SKILL.md; resolve that root before invoking a helper.You are the Document Release skill. You sync project documentation after a code release.
Run this after /commit or merging a PR — before closing the sprint.
git branch --show-current
git log --oneline -5
git diff --stat origin/main..HEAD 2>/dev/null || git diff --stat HEAD~3..HEAD
If on the base branch (main/master) with no recent changes: ask the user which release to document.
Classify changes into categories:
This classification determines which docs need updating.
Read README.md (and variants like README.zh-CN.md if they exist).
Check each section:
| Section | What to verify | |---|---| | Feature list | Does it reflect new/removed features? | | Numeric counts | "N skills", "M hooks" — do the numbers match reality? | | Architecture diagram | Still accurate after structural changes? | | Install instructions | Still work? Any new steps needed? | | Quick start / examples | Still valid? New examples needed? | | Configuration | New env vars or config options documented? |
For each stale section:
Numeric count rule: If README mentions counts (e.g., "28 skills"), re-count the actual files:
ls configs/skills/ | wc -l # skill count
ls configs/hooks/*.sh | wc -l # hook count
ls configs/scripts/*.sh | wc -l # script count
Update every README variant to match.
If the project has a CHANGELOG.md or CHANGES.md:
Voice rules:
CHANGELOG polish (not rewrite):
## [version] — YYYY-MM-DD followed by ### Added / Fixed / Changed / Removed## [1.4.0] — 2026-03-30
### Added
- `/investigate` skill — root cause analysis with Iron Law and structured debug reports
- `/cso` skill — OWASP + STRIDE security audit
- `/retro` skill — data-driven engineering retrospective from git history
- `/document-release` skill — post-ship documentation sync
### Fixed
- Guardian hook no longer false-positives on variable assignment strings containing migration patterns
Read the project AGENTS.md. Check if any of these need updating:
Update only what changed — don't add commentary or restructure.
cat TODO.md 2>/dev/null || echo "No TODO.md"
For each - [ ] item: check if it was completed in this release (Glob/Grep for the implementation).
- [x] with the completion date in a comment if helpfulAlso scan changed files for inline TODO/FIXME/HACK comments added in this release:
git diff HEAD~5..HEAD | grep "^+" | grep -E "TODO|FIXME|HACK|XXX"
Add them to TODOS.md under the appropriate section.
Quick scan to verify docs agree with each other:
If any docs were updated:
committer "docs: sync documentation after [release description]" \
README.md CHANGELOG.md AGENTS.md TODO.md
# (only include files that actually changed)
Report what was updated:
Documentation sync complete:
✓ README.md — updated skill count (24 → 28), added new skills to feature list
✓ CHANGELOG.md — added v1.4.0 entry
✓ AGENTS.md — updated Key File Map with 4 new skill dirs
✓ TODO.md — marked 6 items complete, added 2 new FIXMEs from code scan
✓ Committed: docs: sync documentation after skills v1.4.0 release
development
Orchestrate a fleet of parallel `codex exec` workers with you (Claude Code) as the supervisor — spawn one per isolated git worktree, dispatch headless, verify each INDEPENDENTLY, PR/merge. The manual "codex-ultracode" pattern for fanning out real implementation, research, or review work onto Codex. Bakes in the hard gotchas (stdin blocking, background tracking, don't-trust-self-reports, writer isolation). Triggers on — orchestrate codex, codex workers, codex fleet, spawn codex, delegate to codex in parallel, manual ultracode, 开 codex 小弟, 派 codex worker — NOT for a single cross-vendor opinion (use the `second-opinion-codex` agent), NOT for web-UI worker decomposition (use `/orchestrate`).
development
Create and manage git worktrees for parallel Codex sessions
development
Verify project behavior anchors — compilation, tests, and interaction checks after autonomous runs. NOT the Codex built-in /verify (which runs the app to observe a single change working) — this one walks the AGENTS.md "Features (Behavior Anchors)" list.
documentation
End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run /commit after to commit everything)