.claude/skills/update-docs/SKILL.md
Read recent code changes and update the affected docs under Documents/. Documents the *current* state, not history. Use after a feature lands or when docs have drifted.
npx skillsauth add RahmanBhuiyan/monthly-budget-planning-rd .claude/skills/update-docsInstall 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.
You are syncing documentation with the current code state. Read the code (not just the diff) and update the docs that describe it.
since="${1:-master}"
git log "$since"..HEAD --oneline
git diff "$since"..HEAD --name-only
Skip trivial changes (typos, formatting, lockfile bumps with no behavior change).
Map changed files to the docs that describe them. Use this table (mirrors /done Phase 1A):
| Source area changed | Docs to read + possibly update |
|--------------------|-------------------------------|
| backend/routes/auth.py | Documents/Reference/ApiReference.md §"Auth", Engineering/Backend/RoutesGuide.md §auth.py |
| backend/routes/income.py | ApiReference §"Income", RoutesGuide §income.py |
| backend/routes/budget.py | ApiReference §"Budget", RoutesGuide §budget.py |
| backend/routes/expenses.py | ApiReference §"Expenses", RoutesGuide §expenses.py |
| backend/routes/reports.py | ApiReference §"Reports", RoutesGuide §reports.py |
| backend/models.py | Reference/DatabaseDesign.md, Engineering/Backend/ModelsGuide.md |
| backend/app.py | Engineering/Backend/Architecture.md, DevOps/SetupAndDeployment.md (env vars) |
| frontend/src/pages/<Name>.js | Engineering/Frontend/PagesGuide.md §<Name> |
| frontend/src/components/<Name>.js | Engineering/Frontend/ComponentsGuide.md |
| frontend/src/services/api.js | Reference/ApiReference.md (consumer-side notes), Engineering/Frontend/Architecture.md §6 |
| frontend/src/App.css | Engineering/Frontend/StylingGuide.md |
| frontend/src/App.js | Engineering/Frontend/Architecture.md §3, §4 |
| requirements.txt / package.json | Reference/TechnologyStack.md, DevOps/SetupAndDeployment.md |
| Schema migration in backend/migrations/ | Reference/DatabaseDesign.md, DevOps/MigrationPlan.md |
For each affected source file, read the current file, not the diff. Documentation describes what the code is, not what it was. Verify any claim in the existing doc against the current code before deciding what needs updating.
For each doc that has drift:
SRS.md if it changes a functional requirement).Style:
If you created a new doc:
README.md "What's here today" table.Documents/Engineering/Architecture/README.md.CLAUDE.md unless the new doc is a top-level concern. CLAUDE.md should stay tight.Some changes may need docs you cannot fully judge (e.g., a UX flow that requires Documents/Design/UserJourney.md which doesn't exist yet). Surface these to the user as a follow-up list rather than guessing.
## update-docs — since <ref>
### Changed source areas
- <file>: <one-line description>
### Docs updated
- <doc path>: <what changed>
### Docs created
- <doc path>: <purpose>
### Drift surfaced (no action taken)
- <area>: <why a human decision is needed>
### Skipped (trivial)
- <count> files, mostly <category>
development
Generate a weekly summary of commits on master — categorized highlights, statistics, and draft email/standup notes. Useful for sprint retros and release notes.
testing
# Statusline Setup — Smart Expense & Budget Tracker A two-row statusline tailored for this project's SDLC workflow. Adapted from [fotoflo/claude-skills](https://github.com/fotoflo/claude-skills/tree/main/statusline-setup). ## What you see **Row 1 — project context** ``` ~/project/monthly-budget-planning-rd (feature/audit-deep-read) [opus] session-name #BUG-1 [BIZ-QC ✓] ``` | Element | Meaning | |---------|---------| | `~/project/...` (green) | Current working directory | | `(branch)` (c
development
Run the pre-flight checklist from Documents/DevOps/ReleaseRunbook.md before cutting a release. Reports PASS or BLOCKED with specific reasons.
development
Run the project's linters (backend flake8/black, frontend ESLint) and fix violations only on files touched in the current session — no speculative refactors per CLAUDE.md Rule 5.