agentleFS
pesappesap/skills/external-review/SKILL.md

external-review

Skill1 starsChanged 3 months agoMITView on GitHub

Use a fresh process to challenge the primary agent's implementation or design. The result is advisory: verify every finding locally before changing code or reporting it as fact. 1. Bound the target to the smallest useful diff, branch, PR, issue, file, or artifact. State any scope assumption. 2. Build a review packet with the request and intent, constraints, changed-file list and diffstat, focused diff or excerpts, validation already run, known failures, and the user's specific concerns. Exclude unrelated context and…

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, apply-firmware 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.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +10 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use a fresh process to challenge the primary agent's implementation or design.

    line 13
  2. Very specific:

    Use the requested runner and model when provided.

    line 25
  3. Distinctive:

    Verify each finding against local code and classify it as must-fix, optional/deferred, false positive, or human decision.

    line 31
  4. Distinctive:

    If fixes are requested, implement only confirmed findings and rerun focused validation.

    line 34
  5. Distinctive:

    Keep tools disabled or read-only unless the user explicitly requests broader access.

    line 59
  6. Very specific:

    Use this compact shape for $REVIEW_PROMPT:

    line 64
  7. Distinctive:

    Do not expose credentials or unrelated proprietary context, accept findings without local verification, paste raw reviewer output as the …

    line 91

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

External review

Use a fresh process to challenge the primary agent's implementation or design. The result is advisory: verify every finding locally before changing code or reporting it as fact.

Core workflow

  1. Bound the target to the smallest useful diff, branch, PR, issue, file, or artifact. State any scope assumption.
  2. Build a review packet with the request and intent, constraints, changed-file list and diffstat, focused diff or excerpts, validation already run, known failures, and the user's specific concerns. Exclude unrelated context and secrets.
  3. Use the requested runner and model when provided. Otherwise require EXTERNAL_REVIEW_MODEL and use EXTERNAL_REVIEW_AGENT (default: pi). Do not silently downgrade the model.
  4. Request a concise opinion; material, evidence-backed findings ordered by severity; trade-offs and fix direction; validation gaps; open questions; and a pass, revise, or blocked verdict.
  5. Verify each finding against local code and classify it as must-fix, optional/deferred, false positive, or human decision. Explain rejected findings briefly.
  6. If fixes are requested, implement only confirmed findings and rerun focused validation.

Launch command

: "${EXTERNAL_REVIEW_MODEL:?Set EXTERNAL_REVIEW_MODEL to a frontier model}"

case "${EXTERNAL_REVIEW_AGENT:-pi}" in
  pi)
    pi --no-session --no-tools --model "$EXTERNAL_REVIEW_MODEL" --thinking high -p "$REVIEW_PROMPT"
    ;;
  codex)
    codex exec --sandbox read-only --ask-for-approval never --model "$EXTERNAL_REVIEW_MODEL" "$REVIEW_PROMPT"
    ;;
  claude)
    claude -p "$REVIEW_PROMPT" --model "$EXTERNAL_REVIEW_MODEL" --permission-mode plan
    ;;
  *)
    printf 'Unsupported external reviewer: %s\n' "$EXTERNAL_REVIEW_AGENT" >&2
    exit 2
    ;;
esac

Keep tools disabled or read-only unless the user explicitly requests broader access.

Review packet

Use this compact shape for $REVIEW_PROMPT:

You are an independent reviewer in a fresh, read-only context.

Target and intent:
<bounded scope, requested behavior, constraints, trade-offs>

Evidence:
<changed files, diffstat, focused diff/excerpts, validation and known failures>

Focus:
<user concerns or "material correctness, security, API, test, and scope risks">

Return:
- Opinion: whether the change achieves its intent
- Findings: blocker|major|minor, confidence, exact evidence, impact, fix direction
- Validation gaps and open questions
- Verdict: pass|revise|blocked
Report only material findings; no generic checklist or empty praise.

Split oversized packets by subsystem or risk rather than sending an entire repository.

Guardrails

Do not expose credentials or unrelated proprietary context, accept findings without local verification, paste raw reviewer output as the final answer unless asked, or treat the reviewer as the final merge authority.

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.