Documentation Update
Keep documentation in sync with code changes. Automatically updates changelogs, feature docs, and technical docs after every commit.
The Problem
Documentation that doesn't match the code. Everyone knows this problem. The usual approach is to update docs manually, which means they're perpetually slightly wrong.
How This Skill Solves It
After you commit a feature or fix, this skill updates three layers of documentation:
- CHANGELOG — user-facing: what changed, written from the user's perspective
- Feature Docs — how things work, what they do, how they connect
- Technical Docs — implementation details: API endpoints, database schema, architecture
The skill includes a mapping table that connects feature areas to their documentation files. When you change authentication code, it knows to update docs/auth.md. When you add an API endpoint, it knows to update docs/api.md.
The Feedback Loop
This skill pairs with the Feature Impact Analysis skill. The documentation this skill maintains is the knowledge base that impact analysis reads before the next feature.
Build feature → Update docs → Next feature → Analyse impact using docs → Build → Update docs → ...
Without current documentation, impact analysis is guessing. Without impact analysis, you're shipping edge cases that become bugs. The two skills create a virtuous cycle.
When to Use It
Invoke after committing any user-facing feature or fix. The skill runs through a checklist: CHANGELOG updated, feature docs updated, technical docs updated, CLAUDE.md updated if needed, implementation plan moved to completed.
Setup
- Download the skill file below
- Create a directory:
.claude/skills/update-docs/ - Save the file as
SKILL.mdin that directory - Customise the feature-to-doc mapping table to match your project structure
Ready to use this skill?
Drop it into your .claude/skills/ folder and you're ready.
This guide was my gift to you. I want everyone to be able to punch above their weight class by leveraging AI to do more with what they've got.
If this helped and you want to know how I help companies through AI consulting, mentoring, or workshops — sign up for my email list or reach out below.