Release Skill
Orchestrate a comprehensive 6-phase release workflow with checkpoints for user control.
Usage
code
/release # Full release workflow /release --skip-docs # Skip Phase 2 (service documentation) /release --phase 3 # Resume from specific phase
Core Mandates
- •Checkpoint Pattern: Phases 3, 4, and 5 MUST pause for user approval before applying changes
- •Silent Batch Processing: Phase 2 runs service-scribe agents in parallel without user interaction
- •CI Gate:
pnpm run ci:trackedMUST pass before Phase 6 commits anything - •Tag Push: Phase 6 creates AND pushes the version tag to remote
- •Three Suggestions Only: Phase 5 website audit produces EXACTLY 3 improvement suggestions
Phase Overview
| Phase | Name | Interaction | Key Actions |
|---|---|---|---|
| 1 | Kickoff | User Input | Run semver analysis, detect modified services |
| 2 | Service Docs | Silent Batch | Spawn service-scribe agents in parallel |
| 3 | High-Level Docs | Checkpoint | Propose docs/overview.md updates, wait |
| 4 | README | Checkpoint | Propose "What's New" section, wait |
| 5 | Website | Checkpoint | RecentUpdatesSection + 3 suggestions |
| 6 | Finalize | Automatic | CI check, commit, tag push, summary |
Tool Verification (Fail Fast)
Before ANY operation, verify all required tools:
| Tool | Verification Command | Purpose |
|---|---|---|
| Git | git --version | Version control |
| GitHub CLI | gh auth status | PR/release operations |
| Node.js | node --version | Package management |
Failure Handling
If ANY required tool is unavailable, ABORT immediately:
code
ERROR: /release cannot proceed - <tool-name> unavailable Required for: <purpose> Fix: <fix-command> Aborting.
Phase Flow Details
Phase 1: Kickoff
- •Get current version from
package.json - •Find last release tag:
git tag -l "v*" --sort=-v:refname | head -1 - •List merged PRs since last release
- •Detect modified services (apps changed since last tag)
- •Run semver-release logic to determine version bump
- •Ask user for release focus/highlights guidance
Phase 2: Service Documentation (Silent)
For each modified service detected in Phase 1:
- •Spawn Task tool with
subagent_type: service-scribe - •Run all agents in parallel
- •Wait for all to complete before proceeding
Phase 3: High-Level Docs (Checkpoint)
- •Read
docs/overview.md - •Propose updates reflecting new features
- •CHECKPOINT: Present changes, wait for approval
- •Apply approved changes
Phase 4: README Update (Checkpoint)
- •Generate "What's New in vX.Y.Z" section
- •CHECKPOINT: Present proposed section, wait for approval
- •Apply approved changes to README.md
Phase 5: Website Improvements (Checkpoint)
- •Generate
RecentUpdatesSection.tsxcontent from release - •Audit
HomePage.tsxfor improvement opportunities - •Combine into EXACTLY 3 suggestions
- •CHECKPOINT: Present suggestions, wait for selection
- •For each approved suggestion: invoke
/frontend-designskill
Phase 6: Finalize
- •Run
pnpm run ci:tracked— MUST pass - •Stage all changes
- •Commit with release message
- •Create version tag
- •Push tag to remote
- •Display release summary
Checkpoint Pattern
At each checkpoint phase:
code
1. Present proposed changes clearly 2. STOP execution 3. Use AskUserQuestion: "Approve changes? (approve/revise/skip)" 4. If "revise" → ask for feedback, incorporate, re-present 5. If "skip" → proceed without applying 6. If "approve" → apply changes, continue to next phase
References
- •Workflow:
workflows/full-release.md - •Website Audit:
workflows/website-audit.md - •Templates:
templates/ - •Checklist:
reference/phase-checklist.md