agentleFS
lsy041015lsy041015/orchestra/skills/requesting-code-review/SKILL.md

requesting-code-review

Skill4 starsChanged 2 months agoMITView on GitHub

Use when a completed change needs a requirements and quality review before the next task or integration

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-git-workflow, chinese-code-review 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.
  • Leodorareluctant259Skill

    chinese-git-workflow

    适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖

    Also in 9 projects that use this

  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • 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 22 projects that use this

  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 9 projects that use this

  • Tommy-ywSkill

    webhook-subscriptions

    Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.

    Also in 5 projects that use this

  • math-incSkill

    findmy

    Track Apple devices and AirTags via FindMy.app on macOS using AppleScript and screen capture.

    Also in 15 projects that use this

  • +3 more from Leodorareluctant259
  • +2 more from math-inc

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 7

    Distinctive

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

    after a delegated implementation task and before marking it complete.

    line 15
  2. Distinctive:

    after a major feature or risky bug fix.

    line 16
  3. Distinctive:

    before integration, merge, publish, or other user-authorized handoff.

    line 17
  4. Distinctive:

    after a worker fix, scoped to the finding and fix diff.

    line 18
  5. Distinctive:

    Read the task brief or requirements, the worker report, and the diff package.

    line 33
  6. Distinctive:

    Check requirements file by file, then quality: behavior, error handling, security, data loss, accessibility, calibration and hardware …

    line 35
  7. Distinctive:

    Do not create a fresh reviewer, a fresh implementer, or a higher-tier child, unless the user asks to switch the worker's model.

    line 54
  8. Very specific:

    Use code-reviewer.md as the main-session worksheet.

    line 59

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

In the Orchestra workflow, requesting review means preparing an evidence-based review pass for the main session. It does not create a reviewer agent. The main agent reviews the actual diff, traces relevant call paths, and performs any necessary re-review after the existing implementer worker fixes it.

When to review

  • after a delegated implementation task and before marking it complete;
  • after a major feature or risky bug fix;
  • before integration, merge, publish, or other user-authorized handoff;
  • after a worker fix, scoped to the finding and fix diff.

Small lookups or text-only edits may be checked inline. Never claim an independent review when the main agent performed the review.

Review steps

  1. Record the correct base and head. Prefer the existing subagent-driven-development/scripts/review-package helper when the task has a committed range, so the commit list, stat, and full contextual diff are one readable artifact. The helper needs the plan file; without a plan, read git log BASE..HEAD and git diff BASE..HEAD directly. Always also inspect staged and unstaged git diff plus git ls-files --others --exclude-standard, and read the task's untracked files directly, even when the task includes commits. If BASE equals HEAD, skip the commit-only helper; do not force a commit.
  2. Read the task brief or requirements, the worker report, and the diff package. Do not trust the report without checking the changed code.
  3. Check requirements file by file, then quality: behavior, error handling, security, data loss, accessibility, calibration and hardware safety, compatibility, tests, and scope. Read outside the diff only for a named concrete risk.
  4. Apply orchestra:verification-before-completion to the reported evidence and current change. Inspect actual logs; reuse valid results and rerun only checks with missing, invalidated, or uncertain evidence.
  5. Classify findings by effect:
    • Critical: unsafe, data-loss, security, or broken required behavior;
    • Important: a required behavior, regression, or fragile implementation;
    • Minor: a useful polish item that does not block the task.
  6. Record the verdict and Minor items in the ledger. Send Critical or Important fixes to the same worker with followup_task (Codex) / SendMessage (Claude Code; an orchestrator Codex CLI worker gets a fix brief and --resume), including file, location, cause, acceptance condition, and covering tests. The main agent performs the scoped re-review.

At the fix-round limit (two failed fixes with the same root cause, or three fix rounds on one task), stop retrying and record a main-agent Ruling:: change the plan, fix a small issue inline, or report the blocker. Do not create a fresh reviewer, a fresh implementer, or a higher-tier child, unless the user asks to switch the worker's model.

Review report

Use code-reviewer.md as the main-session worksheet. Start with the compliance verdict, cite file:line evidence for every finding, list strengths, show tests checked, and state APPROVED or NEEDS_FIXES. Include requirements that could not be verified from the diff as explicit gaps.

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.