review-changes
Skill8 starsChanged 9 months agoMITView on GitHub
End-to-end review pipeline — creates a handoff, generates a review (self-review or paste-ready for another provider), then offers to fix findings. Use when you want to review your changes before pushing.
44 other projects use a version of this.
Adopted by
Most recently taken up by
- software-mansion/react-native-enrichedtheir own version, first seen Nov 29, 2026
- gilbarbara/skillstheir own version, first seen Nov 29, 2026
- berekvolgyipeter/dotclaudetheir own version, first seen Nov 29, 2026
- justinzapanta/claude-reliable-kittheir own version, first seen Nov 29, 2026
- akdevsaha-dev/factory-skillstheir own version, first seen Nov 29, 2026
- afu-it/safe-codetheir own version, first seen Nov 22, 2026
Used with
Projects with it also use explore-codebase, build-graph and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
srclightSkillexplore-codebase
This skill should be used when the user asks to "explore this codebase", "understand this project", "give me an overview", "how does this work", "onboard me", "walk me through the architecture", "map the codebase", or any request to understand a codebase's structure, architecture, or design.
Also in 6 projects that use this
exactbeeSkillbuild-graph
Build or rebuild the code-review-graph knowledge graph for the current project
Also in 3 projects that use this
NVIDIASkilldebug-issue
Use when the user asks to debug, investigate, or fix a GitHub issue or supplies a repository bug report.
Also in 6 projects that use this
srclightSkillrefactor-safely
This skill should be used when the user asks to "refactor", "rename", "move", "change a function signature", "extract a method", "delete unused code", "clean up", or any modification that could break callers or dependents. Provides a pre-change safety checklist using srclight's graph tools to assess blast radius before touching code.
Also in 5 projects that use this
yu-iskwSkilltest-and-fix
Run unit tests and automatically fix code failures, regression bugs, or test mismatches. Use when tests are failing, after implementing new features, or to repair "broken" tests.
Also in 3 projects that use this
sirakinbSkillbuild-feature
Autonomous task loop that picks ready tasks, implements them, updates progress.txt, commits, and repeats. Use when asked to 'build feature', 'run the loop', or 'implement these tasks'.
Also in 3 projects that use this
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- tirth8205/code-review-graph★ 33ksame name
- docker/docs★ 4.7ksame name
- software-mansion/react-native-enriched★ 1.4ksame name
- Doist/todoist-ai★ 568same name
- Doist/todoist-cli★ 339same name
- todoist/todoist-cli★ 339same name
- blockscout/frontend★ 308same name
- timothywarner-org/claude-code★ 223same name
- appclawhq/AppClaw★ 122same name
- munvard/dockterm★ 48same name
34 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository79 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-competitorsSkill
- analyze-dependenciesSkill
- analyze-metricsSkill
- audit-accessibilitySkill
- audit-api-consistencySkill
- audit-performanceSkill
- audit-securitySkill
- capture-pr-visualsSkill
- commitSkill
- create-adrSkill
- create-api-designSkill
- create-bug-reportSkill
- create-commit-messageSkill
- create-data-modelSkill
- create-decision-logSkill
- create-docSkill
- create-estimationSkill
- create-experiment-designSkill
- create-feature-flag-planSkill
- create-gtm-briefSkill
- create-handoffSkill
- create-incident-reportSkill
- create-interview-guideSkill
- create-jtbd-canvasSkill
- create-metrics-frameworkSkill
- create-onboarding-guideSkill
- create-ostSkill
- create-planSkill
- create-postmortemSkill
- create-pr-descriptionSkill
- create-prdSkill
- create-prSkill
- create-release-checklistSkill
- create-release-notesSkill
- create-retroSkill
- create-reviewSkill
- create-rfcSkill
- create-roadmapSkill
- create-rollback-planSkill
- create-runbookSkill
- create-shape-up-pitchSkill
- create-stakeholder-updateSkill
- create-test-planSkill
- create-threat-modelSkill
- create-user-storiesSkill
- debug-systematicSkill
- fastapi-endpoint-patternsSkill
- fix-findingsSkill
- fix-reviewSkill
- flutter-platform-patternsSkill
- flutter-state-managementSkill
- flutter-version-managementSkill
- flutter-widget-patternsSkill
- manage-tech-debtSkill
- nextjs-api-patternsSkill
- nextjs-app-router-patternsSkill
- nextjs-performanceSkill
- product-context-docsSkill
- project-skill-creatorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. 0 are common, 22 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
22
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Before starting the review, check for workspace context assembled by the Chalk extension:
- Very specific: line 38
Read .chalk/context/review-changes.md if it exists.
- Distinctive: line 43
If the context file doesn't exist, proceed without it — the skill works standalone.
- Distinctive: line 44
Use context to prioritize review focus:
- Distinctive: line 45
If there are existing diagnostics errors, address those first
- Distinctive: line 46
If tests are failing, flag test-related changes as high priority
- Distinctive: line 47
If recently edited files don't match the diff, note potential forgotten files
- Very specific: line 51
Run the full handoff generation inline (do not invoke /create-handoff as a sub-skill — execute the steps directly):
- Very specific: line 55
If the user provided $ARGUMENTS, sanitize it using a shell command — not LLM interpretation — to produce a safe kebab-case string:
- Distinctive: line 59
Use the output as the session name.
- Distinctive: line 61
If on main/master, ask the user what to name the session
- Distinctive: line 70
If a handoff file already exists with content, ask the user whether to overwrite or skip to Phase 2.
- Very specific: line 75
If that fails, try origin/main, then master, origin/master
- Distinctive: line 96
If nothing detected, note "No build system detected"
- Distinctive: line 98
If any check fails, note the failure honestly — do NOT try to fix it.
- Distinctive: line 146
If the user chooses self-review:
- Very specific: line 148
Read the full diff: git diff {base}..HEAD
- Distinctive: line 149
Read the handoff from Phase 1
- Very specific: line 169
Write the findings to $SESSION_DIR/self.findings.md
- Distinctive: line 174
If the user chooses external review:
- Distinctive: line 181
Wait for the user to come back: When they say they're ready or tell you to continue, proceed to Phase 3.
- Very specific: line 199
Do NOT use shell ls — use the Glob tool for safe discovery.
- Distinctive: line 254
Run build/tests to verify
- Very specific: line 255
Run /commit to commit the fixes
- Distinctive: line 256
Create or update the PR
- Distinctive: line 266
Do NOT modify source code during Phase 1 or Phase 2 — only during Phase 3 with user confirmation
- Distinctive: line 268
Always ask before proceeding to the next phase — never auto-advance
- Distinctive: line 269
Keep the self-review objective and rigorous — do not rubber-stamp your own changes
- Distinctive: line 270
All file paths from findings must be validated as relative and within the repo
- Distinctive: line 271
If multiple reviewers have conflicting suggestions, present both and let the user choose
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Changes
Orchestrate the full review pipeline: handoff → review → fix. This skill chains three phases with user checkpoints between each.
Phase 0: Read Workspace Context
Before starting the review, check for workspace context assembled by the Chalk extension:
- Read
.chalk/context/review-changes.mdif it exists. This contains:- Current git state (branch, uncommitted changes, recent commits)
- Active diagnostics (lint/type errors already flagged by the IDE)
- Latest test results (pass/fail counts, failing test names)
- Recently edited files (what the developer has been working on)
- If the context file doesn't exist, proceed without it — the skill works standalone.
- Use context to prioritize review focus:
- If there are existing diagnostics errors, address those first
- If tests are failing, flag test-related changes as high priority
- If recently edited files don't match the diff, note potential forgotten files
Phase 1: Create Handoff
Run the full handoff generation inline (do not invoke /create-handoff as a sub-skill — execute the steps directly):
Step 1.1: Determine the session name
- If the user provided
$ARGUMENTS, sanitize it using a shell command — not LLM interpretation — to produce a safe kebab-case string:
Use the output as the session name. If the sanitized result is empty, fall back to option 2.echo "$ARGUMENTS" | tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9-]+/-/g; s/^-+//; s/-+$//; s/-{2,}/-/g' - Otherwise, infer from the current branch name (e.g.
feature/issue-24-authentication→issue-24-authentication) - If on
main/master, ask the user what to name the session
Step 1.2: Create the session directory
SESSION_DIR=".chalk/reviews/sessions/${session_name}"
mkdir -p "$SESSION_DIR"If a handoff file already exists with content, ask the user whether to overwrite or skip to Phase 2.
Step 1.3: Determine the base branch
git merge-base main HEAD- If that fails, try
origin/main, thenmaster,origin/master
Store as {base}.
Step 1.4: Gather context
git log --oneline {base}..HEAD
git diff --stat {base}..HEAD
git diff {base}..HEADStep 1.5: Detect and run project checks
Auto-detect the project's build/check tooling and run what's available:
- Node.js (
package.json): detect pm from lockfile, run build/typecheck/lint/test - Rust (
Cargo.toml): cargo check, cargo test --no-run, cargo clippy - Go (
go.mod): go build, go vet, go test -short - Python (
pyproject.toml/requirements.txt): py_compile, pytest --co - Make (
Makefilewith build/check/test targets): make build/check/test - If nothing detected, note "No build system detected"
If any check fails, note the failure honestly — do NOT try to fix it.
Step 1.6: Write the handoff
Write to $SESSION_DIR/handoff.md:
# Handoff
## Scope
- Item: {item reference}
- Goal: {1-sentence summary}
## What Changed
{bullet list of logical changes}
## Files Changed
{bullet list from git diff --stat}
## Risk Areas
{bullet list of things that could break}
## Commands Run
{bullet list with pass/fail status}
## Known Gaps
{bullet list of things NOT done}
## Suggested Focus For Reviewers
{bullet list prioritized by risk}Step 1.7: Report handoff
Show the handoff file path and a brief summary of what was captured.
Phase 2: Review
Ask the user how they want to proceed:
Present these options:
- Self-review — Claude reviews the changes right now in this session
- Copy for external review — Generate a paste-ready prompt to use with another AI (Codex, Gemini, GPT, etc.)
Option A: Self-review
If the user chooses self-review:
- Read the full diff:
git diff {base}..HEAD - Read the handoff from Phase 1
- Review the changes using the same structured format as the universal reviewer template:
## Verdict
- Block merge: yes|no
- Blocking findings: P0=<n>, P1=<n>
## Findings
| ID | Severity | Category | File:Line | Issue | Failure mode | Suggested fix | Confidence |
|---|---|---|---|---|---|---|---|
## Testing Gaps
-
## Open Questions
-- Write the findings to
$SESSION_DIR/self.findings.md - Present the findings summary to the user
Option B: External review
If the user chooses external review:
- Bootstrap the review pipeline scripts if not already present — invoke
/create-reviewwhich will create the scripts and templates with their exact, version-controlled content. Do NOT generate the scripts inline. - Generate the review pack:
bash .chalk/reviews/scripts/pack.sh "{base}" "{session_name}" - Generate the prompt:
bash .chalk/reviews/scripts/render-prompt.sh "reviewer" "" "" "" "{session_name}" - Copy to clipboard if possible
- Tell the user: "Prompt copied — paste it into your reviewer. When you have the findings, save them to
$SESSION_DIR/{reviewer-name}.findings.mdand tell me to continue." - Wait for the user to come back. When they say they're ready or tell you to continue, proceed to Phase 3.
Phase 3: Fix Findings
Ask the user: "Want me to fix the findings?"
If yes:
Step 3.1: Load findings
Discover all *.findings.md files in the session directory using the Glob tool:
.chalk/reviews/sessions/{session_name}/*.findings.mdDo NOT use shell ls — use the Glob tool for safe discovery.
Step 3.2: Parse and prioritize
Extract the findings table from each file. Sort by severity: P0 > P1 > P2 > P3.
Deduplicate findings that target the same file and line (or lines within 5 of each other) across reviewers.
Step 3.3: Present findings
Show a prioritized summary table and ask the user:
- All — fix P0-P2
- Blocking only — fix P0 and P1
- Let me choose — pick specific IDs
Step 3.4: Apply fixes
For each finding:
- Validate the file path — must be relative and within the repo. Reject absolute paths or
..traversal - Read the file with at least 30 lines of surrounding context
- Design the fix using the suggested fix as guidance
- Show the proposed fix and ask for confirmation before applying
- Apply using Edit tool
Step 3.5: Update resolution log
Write .chalk/reviews/sessions/{session_name}/resolution.md:
# Finding Resolution Log
## Summary
- Session: {session_name}
- Item: {from session name}
- Reviewers: {list of sources}
- Decision owner:
## Findings
| ID | Severity | Source | File:Line | Decision | Notes |
|---|---|---|---|---|---|
## Follow-up Tasks
-
## Final Gate
- Build:
- Tests:
- Ready to merge: yes/noStep 3.6: Final summary
Show results table, resolution log path, and suggest:
- Run build/tests to verify
- Run
/committo commit the fixes - Create or update the PR
If no:
Tell the user the findings are saved at their session path and they can run /fix-findings later when ready.
Rules
- Do NOT modify source code during Phase 1 or Phase 2 — only during Phase 3 with user confirmation
- Be honest about failures in the handoff
- Always ask before proceeding to the next phase — never auto-advance
- Keep the self-review objective and rigorous — do not rubber-stamp your own changes
- All file paths from findings must be validated as relative and within the repo
- If multiple reviewers have conflicting suggestions, present both and let the user choose
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

