code-review-named-target-diff-instructions
Skill9 starsChanged 5 days agoMITView on GitHub
Supplies a review target's diff command and limits local context and fixes to files that already contain the target's added lines
In this repository106 other files it gives its agents.
- artifact-design-direction-cardsSkill
- artifact-design-page-contractSkill
- artifact-diagrammingSkill
- claude-api-authentication-status-checkSkill
- claude-api-cli-installation-guidanceSkill
- claude-api-deprecated-or-retired-models-noticeSkill
- claude-api-managed-agents-onboarding-from-url-unavailableSkill
- claude-api-managed-agents-onboarding-source-tierSkill
- claude-api-sign-in-errors-guidanceSkill
- claude-api-sign-in-guidanceSkill
- claude-code-configuration-guideSkill
- claude-guide-unavailable-reference-fallbackSkill
- code-review-angle-b-removed-behavior-auditorSkill
- code-review-angle-c-cross-file-tracerSkill
- code-review-angle-d-language-pitfall-specialistSkill
- code-review-angle-e-wrapper-proxy-correctnessSkill
- code-review-conventions-dimensionSkill
- code-review-correctness-finder-anglesSkill
- code-review-efficiency-dimensionSkill
- code-review-extra-high-bugs-and-conventions-modeSkill
- code-review-finding-severity-and-summariesSkill
- code-review-high-bugs-and-conventions-modeSkill
- code-review-inline-medium-high-templateSkill
- code-review-inline-xhigh-modeSkill
- code-review-language-and-wrapper-correctness-anglesSkill
- code-review-low-effort-expanded-findings-modeSkill
- code-review-output-findings-json-arraySkill
- code-review-phase-0-gather-the-diffSkill
- code-review-phase-2-verify-3-stateSkill
- code-review-phase-2-verify-recall-biasedSkill
- code-review-phase-3-sweep-for-gapsSkill
- code-review-unavailable-target-diff-fallbackSkill
- computer-use-mcpSkill
- data-visualization-descriptionSkill
- debuggingSkill
- design-sync-artifacts-mcp-call-instructionsSkill
- design-sync-artifact-support-unavailableSkill
- design-sync-artifact-tool-call-instructionsSkill
- design-sync-design-system-move-to-claudeSkill
- doctor-prompt-audit-configuration-scopeSkill
- doctor-slash-command-descriptionSkill
- doctor-slash-commandSkill
- doctor-usage-flagged-checkSkill
- dynamic-pacing-loop-execution-re-arm-decisionSkill
- dynamic-pacing-loop-executionSkill
- explain-usage-measured-usage-slash-commandSkill
- explain-usage-slash-commandSkill
- generate-permission-allowlist-from-transcriptsSkill
- import-to-claude-codeSkill
- init-claude-md-and-skill-setup-new-versionSkill
- insights-report-outputSkill
- loop-cloud-first-scheduling-offerSkill
- loop-external-wakeup-handoverSkill
- loop-local-runtime-noteSkill
- loop-self-pacing-mode-re-arm-decisionSkill
- loop-self-pacing-modeSkill
- loop-slash-command-dynamic-modeSkill
- mod-github-sharing-consentSkill
- mod-plugin-packaging-any-planSkill
- mod-plugin-packaging-consentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Use the quoted words only where you could not read the diff.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
That target is ${REVIEW_TARGET_NAME}, and its own diff is this review's scope. Get the diff with this command, run alone, with nothing chained, piped or redirected:
${REVIEW_DIFF_COMMAND}It replaces every git diff command that the instructions below give for gathering the diff. This checkout may be on another branch${IS_REVIEW_TARGET_URL?", or of another repository":""}, and must stay as it is: before you lean on a file here for context, check that it already has the diff's added lines, and where it does not, judge from the diff alone and report nothing from that file. If you start subagents, give each one the diff itself and this warning: they see none of this.${SHOULD_APPLY_REVIEW_FIXES?" Apply a fix only to a file that already has the diff's added lines, and list every other finding as skipped.":""}
${FALLBACK_REVIEW_DIFF_COMMAND?Some sessions have a gh with nopr diff` command. Only if gh itself says so, run this in its place, alone too:
${FALLBACK_REVIEW_DIFF_COMMAND}`:""} ${REVIEW_DIFF_FAILURE_GUIDANCE_BLOCK}
Use the quoted words only where you could not read the diff. Where you did read it, leave them out altogether.
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.

