Repository navigation
Description
Problem
35% of February commits (40 of 114) are docs: commits. 15 of those are per-feature "docs: update what-weve-built and changelog" commits — repetitive ceremony that inflates commit history without adding value between releases.
Evidence
February 2026:
116 docs commits (YTD, #1 commit type — exceeds feat: at 104)
15 "docs: update what-weve-built and changelog" commits in v1.15.x alone
~2 doc commits per feature (changelog + what-weve-built)
Proposed Solution
1. CHANGELOG entries added inline during feature work
During /exec or /qa, add entries directly to ## [Unreleased] in CHANGELOG.md as part of the feature commit — not as a separate doc commit. This is how Keep a Changelog is designed to work.
Skill changes:
/execSKILL.md: after implementation, append to[Unreleased]in the same commit/qaSKILL.md: verify[Unreleased]entry exists as a quality gate
2. what-weve-built updates batched to release time
Move docs/internal/what-weve-built.md updates from per-feature to per-release. The /release skill Step 4.6 already handles version bumps in this file — extend it to also add feature bullet points.
Skill changes:
/docsSKILL.md: remove per-feature what-weve-built update step/releaseSKILL.md Step 4.6: gatherfeat:commits and add feature bullets
3. Remove standalone doc update commits from workflow
Update /exec and /docs skills to stop generating separate "docs: update what-weve-built and changelog" commits.
Acceptance Criteria
- AC-1:
/execskill adds CHANGELOG[Unreleased]entry in the feature commit (not separately) - AC-2:
/qaskill checks for CHANGELOG entry as a quality gate - AC-3:
/releaseskill Step 4.6 generates what-weve-built feature bullets from commits - AC-4:
/docsskill no longer triggers standalone what-weve-built update commits - AC-5: Doc commit ratio drops below 20% in the next release cycle
Context
Identified via /reflect workflow analysis of v1.15.x release cycle (Feb 15–21, 2026).
Merged from #321: Evaluate Consolidation of what-weve-built.md
docs/internal/what-weve-built.md substantially overlaps with CHANGELOG.md and GitHub Releases. Maintaining three parallel records creates overhead and drift risk.
What what-weve-built provides that others don't
- Cumulative feature inventory (not just per-version deltas)
- "At a Glance" stats table (command count, module count, test count)
What it duplicates
- Per-version feature lists (same as CHANGELOG)
- Version references in 3 places
Options (from #321)
A. Keep both, batch updates — Address overhead via batching (this issue's original scope). Accept duplication as intentional.
B. Retire what-weve-built, enhance CHANGELOG — Add cumulative stats to CHANGELOG.md or README.md. Delete what-weve-built.md.
C. Auto-generate what-weve-built — Generate from CHANGELOG + git stats at release time.
Combined Acceptance Criteria
- CHANGELOG entries added inline during feature work (in same commit, not separate doc commits)
- what-weve-built updates batched to release time (or retired per option B/C)
- Standalone "docs: update what-weve-built and changelog" commits eliminated from workflow
- Decision documented on which option (A/B/C) was chosen
Activity
[-]refactor(workflow): batch documentation updates at release time[/-][+]refactor(workflow): consolidate documentation sources and batch updates at release time[/+]admarble commentedon Feb 22, 2026
Spec Plan: Consolidate Documentation Sources and Batch Updates
AC Quality Check
✅ All 5 acceptance criteria are clear and testable.
Scope Assessment
Non-Goals (Required)
Scope Metrics
Scope Verdict
Acceptance Criteria with Verification
AC-1:
/execskill adds CHANGELOG[Unreleased]entry in the feature commit (not separately)Verification Method: Manual Test (skill behavior change)
Test Scenario:
feat:implementation/exec 999completes implementation and commits[Unreleased]entry in CHANGELOG.md; no separatedocs:commit is createdIntegration Points:
.claude/skills/exec/SKILL.md— add CHANGELOG section after implementation## [Unreleased]sectionAssumptions to Validate:
## [Unreleased]sectionAC-2:
/qaskill checks for CHANGELOG entry as a quality gateVerification Method: Manual Test (skill behavior change)
Test Scenario:
feat:issue with no CHANGELOG entry/qaruns on the PRIntegration Points:
.claude/skills/qa/SKILL.md— add CHANGELOG verification stepAssumptions to Validate:
AC-3:
/releaseskill Step 4.6 generates what-weve-built feature bullets from commitsVerification Method: Manual Test (skill behavior change)
Test Scenario:
feat:commits exist since last tag/releaseruns Step 4.6docs/internal/what-weve-built.mdreceives 5 new bullet points in "Recent Additions" sectionIntegration Points:
.claude/skills/release/SKILL.mdStep 4.6git logcommit parsingdocs/internal/what-weve-built.mdformatAssumptions to Validate:
feat:prefix conventionAC-4:
/docsskill no longer triggers standalone what-weve-built update commitsVerification Method: Manual Test (verify non-behavior)
Test Scenario:
/docsskill contentNote: Investigation reveals
/docsskill does NOT currently handle what-weve-built.md. This AC is already satisfied — the skill only generates feature docs indocs/admin/ordocs/features/. The what-weve-built handling was incorrectly attributed to/docsin the issue; it's actually in/releaseStep 4.6.Status: ✅ Already met — no changes required to
/docsskillAC-5: Doc commit ratio drops below 20% in the next release cycle
Verification Method: Manual Test (retrospective metric)
Test Scenario:
git log v1.16.1..v1.17.0 --oneline | grep -E "^[a-f0-9]+ docs:" | wc -lNote: This is a lagging indicator measured after implementation adoption. Cannot be verified at implementation time.
Implementation Plan
Phase 1: Exec Skill CHANGELOG Integration
Add CHANGELOG update section to
/execSKILL.md.claude/skills/exec/SKILL.md## [Unreleased]entry:## [Unreleased]→ appropriate subsectionUpdate commit step to include CHANGELOG
git add CHANGELOG.mdin commit stepPhase 2: QA Skill CHANGELOG Verification
/qaSKILL.md.claude/skills/qa/SKILL.mdgit diff main...HEAD --name-only | grep CHANGELOG.mdfeat:,fix:issues: Flag if CHANGELOG not modifiedPhase 3: Release Skill what-weve-built Enhancement
Enhance
/releaseStep 4.6 to auto-generate feature bullets.claude/skills/release/SKILL.mdfeat:commits and generate bullet pointsUpdate "At a Glance" stats table automation
ls .claude/skills/ | wc -lsrc/cli/commands/exportsfind . -name "*.test.ts" | wc -lPhase 4: Documentation
Feature Quality Planning
Completeness Check
Error Handling
## [Unreleased]section: Create if not existsCode Quality
Test Coverage Plan
/execworkflow testBest Practices
Open Questions
What subsection for different commit types?
feat:→ Added,fix:→ Fixed,refactor:→ ChangedShould CHANGELOG gate block or warn?
Which option for what-weve-built (A/B/C)?
Recommended Workflow
Phases: exec → qa
Quality Loop: enabled (auto-enabled due to scope concerns)
Reasoning: 4 skill files modified, interconnected workflow changes
Label Review
Current: enhancement, auto-ready
Recommended: enhancement, auto-ready, refactor
Reason: Implementation involves structural changes to 4 skill files
Quality Loop: Will auto-enable due to scope warning
→
gh issue edit 320 --add-label refactorDecision: Option A Selected
Per the merged #321 options:
✅ Option A: Keep both, batch updates
Rationale: Validates the batching approach with minimal risk. Options B (retire) and C (auto-generate) can be evaluated after observing the commit reduction.
Implementation Readiness
Status: READY
All ACs are clear, implementation approach is defined, and no blocking dependencies exist.
feat(#320): Consolidate documentation source-of-truth in workflow skills
admarble commentedon Feb 22, 2026
Implementation Progress Update
AC Coverage
Coverage: 4/4 implementable ACs fully met (AC-5 is a post-adoption metric)
Files Changed
.claude/skills/exec/SKILL.md- Added Section 3f (CHANGELOG Update step).claude/skills/qa/SKILL.md- Added Section 10a (CHANGELOG Quality Gate).claude/skills/release/SKILL.md- Enhanced Step 4.6 (auto-generate what-weve-built)CHANGELOG.md- Added [Unreleased] entry for this featureQuality Checks
npm run buildnpm run lintnpm testPR Status
Created: #331
Documentation
CHANGELOG: ✅ Entry added to [Unreleased] section
Ready for
/qareview.admarble commentedon Feb 22, 2026
QA Review for Issue #320
AC Coverage
/execskill adds CHANGELOG[Unreleased]entry in feature commit/qaskill checks for CHANGELOG entry as quality gate/releaseskill Step 4.6 generates what-weve-built bullets from commits/docsskill no longer triggers what-weve-built updates/docsskill has no what-weve-built references (already true)Coverage: 4/5 AC items fully met (AC-5 is a lagging metric)
Quality Plan Verification
Quality Plan found: Yes (in spec comment)
Derived ACs: None found
Quality Plan Status: Complete
CI Status
build (18.x)build (20.x)build (22.x)validate-skillstypecheckvalidate-pluginCI Summary: 6 passed, 0 pending, 0 failed
Quality Metrics
any)Code Review
Strengths:
Issues:
head -n -1in release skill is macOS-incompatible (GNU-only syntax). Not blocking as the skill instructions are guidance, not executable scripts.Suggestions:
Test Coverage Analysis
.claude/skills/exec/SKILL.md.claude/skills/qa/SKILL.md.claude/skills/release/SKILL.mdCHANGELOG.mdCoverage: N/A - All changes are skill documentation (Markdown), no unit tests expected
Critical paths without tests: None
Skill Command Verification
Skill files changed: 3
.claude/skills/exec/SKILL.md.claude/skills/qa/SKILL.md.claude/skills/release/SKILL.mdCommands Verified:
[ -f "CHANGELOG.md" ]→ ✅ Workssed -n '/^## \[Unreleased\]/,/^## \[/p' CHANGELOG.md→ ✅ Worksgit log main..HEAD --oneline | grep -iE '^[a-f0-9]+ (feat|fix|perf|refactor|docs):'→ ✅ WorksCommands with Minor Issues:
head -n -1→Verification Status: Passed (minor portability note documented)
Skill Change Review
Self-Evaluation
[Unreleased]section in CHANGELOG → exec skill handles with "create if not exists" instructionCHANGELOG Verification
Result: CHANGELOG requirements met
Verdict: READY_FOR_MERGE
All implementable AC items are met. The implementation:
/exec(AC-1)/qa(AC-2)/releaseto auto-generate what-weve-built from CHANGELOG (AC-3)/docsalready doesn't touch what-weve-built (AC-4)AC-5 is a post-adoption metric that will be measured in the next release cycle.
Documentation
Next Steps
QA completed: All quality gates pass
feat(#320): Consolidate documentation source-of-truth in workflow ski…
chore: release v1.17.0