From claude-library
Update docs, check test gaps, and commit. Git-driven — detects what changed, discovers and updates affected documentation, analyzes test coverage gaps, then commits cleanly. Use when you're ready to commit, wrapping up a session, or before pushing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-library:commit-readyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Purpose**: Ensure documentation is current and test gaps are addressed before every commit.
Purpose: Ensure documentation is current and test gaps are addressed before every commit.
Use when:
Relationship to other skills:
/planning-impl-plan opens a work session (design the plan)/commit-ready closes a work session (sync docs, check tests, commit)git diff # unstaged changes
git diff --staged # staged changes
git status # overall state
git log --oneline -10 # recent commits for context
Build a clear picture of what changed — files modified, functions added/removed, modules affected.
Find all documentation that might be affected by the changes:
**/*.md to find all markdown files in the projectREADME.md and CLAUDE.md if they exist at the repo rootdocumentation/IMPLEMENTATION.md, IMPLEMENTATION.md)For each affected doc file, check for stale references caused by the changes:
- [x] for completed itemsIf a plan/implementation file exists, append a session entry:
---
## Session: [YYYY-MM-DD] — [branch name]
### Completed
- [what was done]
### Next Steps
- [ ] [remaining items]
- [ ] [new items discovered]
Skip files where nothing is outdated.
Analyze the git diff to identify untested code:
Categorize findings:
| Category | Examples | Action |
|---|---|---|
| Should test | New public functions, business logic, error handling paths | Flag as gap |
| Skip | Config changes, doc-only changes, trivial getters/setters, type-only changes | Ignore |
Then:
git add -A or git add ..git status## Commit Ready: [branch] — [date]
### Documentation Updated
- [file]: [what changed]
- [file]: no changes needed
### Test Analysis
- [N] gaps found, [N] tests written
- Or: "No test gaps detected"
### Git
- Committed: [commit hash] "[message]"
- Files: [list]
# Before committing
/commit-ready
# With context about what you worked on
/commit-ready
I was working on the auth module and added two new endpoints
# End of session
/commit-ready
Plan file: documentation/IMPLEMENTATION.md
npx claudepluginhub tabers77/claude_experimentsAutomates updating README.md, CHANGELOG.md, and docs folders via git diff analysis of changes since last release tag. Use for release prep, PRs, or doc sync.
Run unit tests, evaluate and fix relevant E2E tests, assess coverage needs, lint, and commit. Use when user says "test and commit", "run tests and commit", "verify and commit", or "CI and commit".
Implements two-phase workflow to analyze code changes via git diff and update project documentation. Use before merging branches, after features/bugfixes, or when docs stale.