agentleFS
nshopiknshopik/dream-team/skills/external-review/SKILL.md

external-review

Skill2 starsChanged 9 days agoMITView on GitHub

Reviews the current branch's diff against the default branch with another reviewer, Codex or a custom shell command that reads the diff on stdin, and reports that reviewer's findings; it fixes, edits and files nothing. Takes the reviewer from its argument or from an `External reviewer:` line in `AGENTS.md` or `CLAUDE.md`. Use when the user runs /dream-team:external-review or asks for an external, outside, cross-vendor or second-opinion review, a Codex review of the branch, or a review by another model.

8 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

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 3

    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:

    Never edit, stage or commit a file, and never fix a finding.

    line 18
  2. Distinctive:

    Never file, comment on or edit an issue or MR/PR.

    line 19
  3. Very specific:

    No argument → read the External reviewer: line from the global and project AGENTS.md or CLAUDE.md and their ignored local notes.

    line 24
  4. Distinctive:

    No remote default branch → take main.

    line 38
  5. Very specific:

    Run git diff <base>..HEAD | <command> once, from the repo root, as one Bash call with a 10-minute timeout.

    line 45

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

Runs one outside reviewer on the branch diff and passes its findings on. The skill is read-only: the findings are the deliverable, and acting on them is the user's call.

  • Never edit, stage or commit a file, and never fix a finding.
  • Never file, comment on or edit an issue or MR/PR.

1. Pick the reviewer

  • An argument → it is the reviewer.
  • No argument → read the External reviewer: line from the global and project AGENTS.md or CLAUDE.md and their ignored local notes.
  • The project's line and the global one disagree → the project's wins, including a project External reviewer: none.
  • The reviewer is none, or no argument and no line name one → stop and report the review skipped: no reviewer configured.
  • The reviewer is codex → read codex.md and take its command for this host.
  • Any other reviewer → take it as the command: a shell command that reads the diff on stdin and prints findings on stdout.

2. Run it

  1. Take the remote's default branch as the base branch, from git symbolic-ref --short refs/remotes/origin/HEAD.
  2. No remote default branch → take main.
  3. Neither resolves → stop and report the review skipped: no base branch.
  4. Set the base to git merge-base HEAD <base branch>.
  5. git diff <base>..HEAD is empty → stop and report the review skipped: no changes against the base branch.
  6. command -v does not find the command's first word that is not a NAME=value assignment → stop and report the review skipped: <word> not on PATH.
  7. Run git diff <base>..HEAD | <command> once, from the repo root, as one Bash call with a 10-minute timeout.
  8. It times out → stop and report the review skipped: timed out after 10 min; never retry it.
  9. The command exits non-zero → stop and report the review skipped, with the exit status, its last stderr line and any stdout it printed.

3. Report

Print the reviewer's output as it gave it, after two bullets naming the reviewer and the diff, so the user can tell whose findings they read:

- **Reviewer:** `codex`
- **Diff:** `<base short sha>..HEAD` against `<base branch>`

<the reviewer's output, verbatim>
  • The review was skipped → print the two bullets, with Skipped: and the reason in place of Diff:, followed by the reviewer's stdout, if any, verbatim.
- **Reviewer:** `codex`
- **Skipped:** `codex` not on PATH

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.