agentleFS
andreaswasitaandreaswasita/copilot-agents-dojo/skills/requesting-code-review/SKILL.md

requesting-code-review

Skill54 starsChanged 6 months agoMITView on GitHub

Self-reviews work against the plan before sign-off.

155 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, workflow-runner 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.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MorningStar0709Skill

    workflow-runner

    Run an agency-orchestrator style YAML workflow inside the current Trae conversation by simulating or coordinating multiple roles. Use when the user provides a `.yaml` or `.yml` workflow, asks for multi-role collaboration, says things like “用多个角色一起评审这个 PRD”“多角色协作”“先生成工作流再执行”“让产品经理、架构师、QA 一起看一下”, or wants roles such as product manager, architect, reviewer, or QA to work together. Supports layered execution, role prompting, variable interpolation, document-backed inputs, and parallel steps only when the current environment has a clear subagent mapping. Do not use for ordinary implementation plans, simple code changes, or tasks already covered by `writing-plans`, `executing-plans`, `subagent-driven-development`, or single-purpose review/debug skills.

    Also in 5 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 7 projects that use this

  • aivrarSkill

    sdlc-review

    Review Kanban handoffs and route verified outcomes.

    Also in 5 projects that use this

  • braxtonROSE4Skill

    songwriting-and-ai-music

    Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.

    Also in 11 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 146 edited versions we read keep these.

  • 4

    Distinctive

    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
  1. Distinctive:

    Before creating a pull request.

    line 20
  2. Distinctive:

    Before telling the user "done" on any non-trivial change.

    line 21
  3. Distinctive:

    After a sub-agent returns delegated work.

    line 22
  4. Distinctive:

    Always emit a short visible summary before "done":

    line 107

“Common” is measured: kept by at least 6 in 10 of the 146 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Requesting Code Review Skill

Self-reviews the agent's own output against the original plan before declaring done or opening a PR. Surfaces issues by severity; critical issues block progress. Does NOT replace human review — it ensures the human review starts from a defensible baseline.

When to Use

  • A task or batch of tasks is complete.
  • Between major implementation phases.
  • Before creating a pull request.
  • Before telling the user "done" on any non-trivial change.
  • After a sub-agent returns delegated work.

Prerequisites

  • An approved plan in tasks/todo.md (or equivalent design doc).
  • The view and grep tools to read the diff and surrounding code.
  • git for the diff inspection.
  • A green test run (the verify-before-done skill should already have run).

How to Run

1. Compare implementation to the plan spec, criterion by criterion.
2. Walk the self-review checklist.
3. Tag each finding 🔴 / 🟡 / 🟢 / ✅.
4. Act on findings — 🔴 blocks, 🟡 fixed before PR, 🟢 logged.
5. Emit a short summary before claiming completion.

Quick Reference

SeverityMeaningAction
🔴 CriticalWrong behavior, security risk, broken testSTOP. Fix before next task.
🟡 MajorShould fix before mergeFix before PR; OK to continue current task
🟢 MinorStyle, nit, future improvementLog to tasks/todo.md follow-ups
✅ PassingCriterion metNote in summary
Checklist itemLook at
Matches plan spectasks/todo.md
Tests pass (including new)Latest test run output
No debug artifactsgrep for console.log, print, TODO
Edge cases coveredThe new test file
No security regressionsAuth, input validation, secrets
Follows project conventionsAdjacent files
Diff scope = task scopegit diff main --stat

Procedure

Step 1: Compare to Plan

Open tasks/todo.md with view. For the task just completed, read its acceptance criteria. Tick each one explicitly — do not summarize.

Step 2: Walk the Checklist

For each row in the Quick Reference checklist, mark ✅ or flag a finding. Use grep to hunt for debug artifacts:

grep -nE "console\.log|print\(|TODO|XXX|FIXME" <changed files>

(Use the grep Copilot tool, not bare shell grep.)

Step 3: Tag by Severity

Group findings under 🔴 / 🟡 / 🟢 / ✅:

## Self-Review

### 🔴 Critical
- `api/users.ts:42` — DELETE endpoint missing authorization check.

### 🟡 Major
- `api/users.ts:88` — Returns 500 instead of 404 for missing user.

### 🟢 Minor
- `api/users.ts:120` — Consider pagination on the list endpoint.

### ✅ Passing
- 4/4 endpoints match spec.
- 12 new tests, all green.
- Diff scope = task scope.

Step 4: Act on Findings

  • 🔴 → STOP. Fix immediately. Re-verify. Re-review.
  • 🟡 → Fix before the PR. Safe to continue the current task.
  • 🟢 → Log in tasks/todo.md under follow-ups.
  • ✅ → Note in the summary and proceed.

Step 5: Present the Summary

Always emit a short visible summary before "done":

**Review: Step 3 — Implement API endpoints**
- ✅ 4/4 endpoints per spec
- ✅ Input validation on all routes
- 🟡 Missing rate limit on POST /users (logged for Step 6)
- ✅ 12 new tests, all passing
Proceeding to Step 4.

Pitfalls

  • DO NOT skip self-review and say "it works, ship it".
  • DO NOT downgrade severity to avoid extra work. A missing auth check is 🔴, not 🟢.
  • DO NOT review only the happy path. Walk the error and edge paths too.
  • DO NOT proceed past a 🔴 finding. The whole point is that criticals block.
  • DO NOT rubber-stamp ("✅ all good") without actually checking each item.

Verification

  • Each acceptance criterion in the plan is explicitly ticked or flagged.
  • Self-review summary was emitted with severity buckets.
  • Any 🔴 findings were fixed and re-verified before claiming done.
  • 🟢 findings were logged to tasks/todo.md follow-ups.
  • User saw the summary before any "done" claim.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.