.claude/skills/done/SKILL.md
End-of-session wrap-up. Updates docs, runs lint/tests, builds productivity report, and commits — all aligned with Documents/Process/DefinitionOfDone.md. Use as the last step before opening a PR.
npx skillsauth add RahmanBhuiyan/monthly-budget-planning-rd .claude/skills/doneInstall 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 wrapping up the current session. The endpoint is a clean working tree, a green test run, updated docs, and a properly formatted commit (or sequence of commits).
git branch --show-current
git status --short
git diff master...HEAD --stat
Documents/Process/DefinitionOfDone.md for the authoritative checklist.Per DefinitionOfDone.md §"Universal" item "Docs updated in same PR." For each changed source file, check whether the corresponding doc exists and is current:
| Source file pattern | Doc to check |
|--------------------|--------------|
| backend/routes/*.py | Documents/Reference/ApiReference.md, Documents/Engineering/Backend/RoutesGuide.md |
| backend/models.py | Documents/Reference/DatabaseDesign.md, Documents/Engineering/Backend/ModelsGuide.md |
| backend/app.py | Documents/Engineering/Backend/Architecture.md, Documents/DevOps/SetupAndDeployment.md |
| frontend/src/pages/*.js | Documents/Engineering/Frontend/PagesGuide.md |
| frontend/src/components/*.js | Documents/Engineering/Frontend/ComponentsGuide.md |
| frontend/src/services/api.js | Documents/Reference/ApiReference.md, Documents/Engineering/Frontend/Architecture.md §6 |
| frontend/src/App.css | Documents/Engineering/Frontend/StylingGuide.md |
| any test added | Documents/QA/TestingChecklist.md (check off the row, change ❌ to ✅ or 🐛 if pinning) |
If a source file changed but its doc didn't, update the doc in this same commit — no follow-up PRs (DoD universal item).
If the branch is bugfix/* or hotfix/*, append a short root-cause note to Documents/Project/ticket-inventory.md row's notes column. If the bug merits a post-mortem (SEV-1 or 4h+ resolve time), create Documents/Project/retro-{date}-{slug}.md per Documents/Security/IncidentResponse.md Step 7.
cd backend && python -m flake8 (or black --check . if configured). Fix only the issues in files this session touched — no speculative lint cleanups (CLAUDE.md Rule 5).cd frontend && npm run lint if available; otherwise skip with a note.cd backend && pytest (skip if no tests yet).cd frontend && npm test -- --watchAll=false (skip if no tests yet).must: block on DONE.Update Documents/Project/ticket-inventory.md: change the ticket's Status column from IN PROGRESS to DONE (or BLOCKED with reason if the work paused).
Run the full DoD checklist (or invoke /check-done if it exists). Report any unmet items.
If anything is unmet:
Invoke the commit command (or apply its procedure inline). The commit body should include a short productivity summary:
type(scope): title
Body.
Session summary:
- Files changed: N
- Tests added: N
- Docs updated: N
- Tickets closed: <ID>
[BIZ-QC-NEEDED] ← if applicable
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Output a short table to the user:
## Session wrap-up — <branch>
| Phase | Result |
|-------|--------|
| Docs updated | <list of files> |
| Lint | clean / N issues fixed |
| Tests | N passed, N failed |
| Ticket(s) closed | <IDs> |
| Commits | <count, with hashes> |
Definition of Done: PASS / FAIL (gaps: ...)
Next step: open PR / fix <gap> / ask user about <decision>
pytest or npm test fails, stop. Do not commit a broken tree.development
Generate a weekly summary of commits on master — categorized highlights, statistics, and draft email/standup notes. Useful for sprint retros and release notes.
development
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.
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.