design-and-code-reviews
Skill1 starsChanged 8 days agoMITView on GitHub
Produce the author gate, reviewer pass, and review etiquette for a PR — small diffs, self-review, nit labels, confusion as comments. Use when reviewing or preparing a change.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- customer-discovery-and-synthesisSkill
- define-success-metricsSkill
- draft-prdSkill
- prioritize-asksSkill
- slice-mvp-and-storiesSkill
- survey-designSkill
- deploy-plan-and-releaseSkill
- generate-test-ideas-and-casesSkill
- pr-plan-and-rollback-notesSkill
- technical-design-and-breakdownSkill
- operational-health-reviewSkill
- scope-cut-and-tradeoffsSkill
- sprint-planning-and-capacitySkill
- sprint-retroSkill
- standup-executionSkill
- program-roadmap-and-depsSkill
- program-status-reviewSkill
- release-readiness-checkSkill
- risk-raid-and-mitigationsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Ask up to 3, then draft with [CONFIRM]:
- Distinctive: line 59
Import-target block. Answer questions.
≈ “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
design-and-code-reviews — author + reviewer checklists
What it produces
Two checklists and an etiquette page: the author-side pre-open gate and the
reviewer-side pass, plus the etiquette that keeps both humane — nits labeled nit:,
praise named, polish never blocks, and every "I don't understand this" becomes a comment
instead of a guess.
RACI row
Design & code reviews — SDE A/R (shared/raci.md); PMT I · TPM I · SDM C.
Inputs required
- The diff/PR paste or paths (unread code is
[CONFIRM]) - The design doc the change implements
- The team's review standards, if any exist (CODEOWNERS, size limits, turnaround norms)
Clarifying questions when inputs are missing
Ask up to 3, then draft with [CONFIRM]:
- How large is too large here — files, lines, or review-hours?
- Who must review (CODEOWNERS), and who merely may?
- What is this team's nit threshold — and who approves the style call?
Steps — author gate (before the PR opens)
- Split to small reviewable diffs. One concern per PR; a refactor PR sets the stage
before the feature PR. The team's size norm is stated or
[CONFIRM: norm]— a 1,000-line PR ships unreviewed somewhere, and the artifact says so. - Self-review first. The author walks their own diff line-by-line before anyone else sees it — the reviewer's first read should find nothing the author could have caught.
- A description a stranger can follow. What changes, why, how it was verified (tests, commands, outputs), what is out of scope. Self-approve only after you would approve it.
- Both flag states verified — flag on, flag off restores prior behavior — and tests green, before open.
Steps — reviewer pass
- Order: design fit → correctness → tests → complexity & naming → security. Design disagreements go in comments, not hidden inside a bot failure.
- Every confusion is a comment. "I don't understand this" is a real finding — it means the next owner won't either.
- Nits labeled
nit:— polish, not blocking. Praise named, not implied silence. Perfection is not the standard; the standard is what the next owner can change safely. - Turnaround stated. The team's expectation (same-day? 24h?) is in the etiquette page
or
[CONFIRM: norm]. - Read-back pass + hand over. Emit both checklists + etiquette ending with the Import-target block. Answer questions. Wait.
Output binding
shared/system-conventions.md table rules.
Import target
GitHub — the PR template / review guide. Confluence — the team review-standards page.
Worked example
tests/sde/design-and-code-reviews/fixture.md — full input + expected artifact (synthetic).
Recorded run: tests/results/run-2026-11-22-v0.1.0.md.
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.

