From project-tools
Use when auditing or summarizing session changes, documenting what changed, explaining the root cause, listing verification, or producing rollback notes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/project-tools:beepus-maximus-project-change-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a structured post-work audit that captures the full story of a change: why it was made, what was done, whether it worked, and how to reverse it. Produces a report the user (or a future session) can use to understand or undo the work.
Generate a structured post-work audit that captures the full story of a change: why it was made, what was done, whether it worked, and how to reverse it. Produces a report the user (or a future session) can use to understand or undo the work.
Owns: Gathering evidence from the session and git state, producing a structured audit report. Does NOT own: Deciding whether the changes are correct (that's review). Does not commit, push, or modify code.
Collect from three sources in parallel:
Scan the conversation for:
# What changed
git diff main...HEAD --stat
git diff main...HEAD
# Commit history on this branch
git log main..HEAD --oneline
# Any uncommitted work
git status
git diff
git diff --cached
Run verification to capture current state:
Determine the change type:
| Type | Signal |
|---|---|
| Bug fix | Started from a failure, crash, or unexpected behavior |
| Feature | Started from a requirement or spec |
| Refactor | Behavior unchanged, structure improved |
| Configuration | Build settings, dependencies, CI, tooling |
| Investigation | Mostly diagnostic, may include speculative changes |
Present the audit in this exact structure:
# Change Audit
## Problem
[One paragraph: what was wrong or what was requested. Include the original error message, test failure, or user request verbatim if available.]
## Root Cause
[What was actually causing the problem. If no root cause was identified (e.g., feature work), state "N/A — feature implementation" or "N/A — refactor".]
## What Was Implemented
[Bulleted list of every change, grouped by file or module. Be specific — name functions, types, and fields that were added/modified/removed.]
### Files Changed
[List every file with a one-line description of what changed in it.]
## Evidence vs Assumptions
Separate what is proven from what is believed. This is especially important for bug fixes and investigations.
| Claim | Type | Evidence/Source | Confidence |
|-------|------|-----------------|------------|
| [e.g., "Bug was caused by retain cycle in X"] | Evidence | [test output, crash log, git bisect] | High |
| [e.g., "Fix handles all edge cases"] | Assumption | [only tested happy path] | Med |
| [e.g., "No other callers affected"] | Assumption | [grep showed no other call sites, but dynamic dispatch possible] | Low |
Rules for this table:
- Every claim in "Root Cause" and "What Was Implemented" should have a row
- "Evidence" requires a concrete source: test output, build log, git diff, file:line reference
- "Assumption" means you believe it but haven't proven it — flag these for the user
- Confidence is about the claim, not the change: High = proven, Med = likely but unverified, Low = guess
## Verification
[What was run to verify the changes work. Include actual command output or test results — not just "tests pass" but which tests, how many, any warnings.]
| Check | Result | Command |
|-------|--------|---------|
| Build | ✅ / ❌ | [command] |
| Tests | ✅ / ❌ (N passed, M failed) | [command] |
| Lint | ✅ / ❌ | [command] |
## Unresolved Issues
[Anything known to be incomplete, deferred, or risky. If nothing, state "None identified."]
- [ ] [issue description — why it was deferred]
## To Undo These Changes
### If not yet committed:
\`\`\`bash
git checkout -- .
# or selectively:
git checkout -- <file1> <file2>
\`\`\`
### If committed but not pushed:
\`\`\`bash
git reset --soft HEAD~N # where N = number of commits to undo
# Review staged changes, then:
git restore --staged .
git checkout -- .
\`\`\`
### If pushed:
\`\`\`bash
git revert <commit-sha> # for each commit, oldest first
# or revert a range:
git revert main..HEAD --no-commit
git commit -m "Revert: [description]"
\`\`\`
### Specific rollback commands for this session:
[Generate the exact commands needed based on the actual commits and branch state. Include commit SHAs.]
After presenting the report, ask:
"Want me to save this audit, commit it, or take any action on the unresolved issues?"
Options:
docs/superpowers/audits/YYYY-MM-DD-<topic>-audit.mdGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub 4eleven7/claude-skills --plugin project-tools