Skip to content
Back to skills

External Review

ASecurity

Explicit $external-review, or a launcher prompt naming this file. Single-context leaf review of exact diff scope: no agents, nested reviews, or edits.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgorefactoringgitsecurityperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add ryanportfolio/winuse-mcp --skill external-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of External Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for External Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ryanportfolio-external-review/badge)](https://www.skillsdirectory.com/skills/ryanportfolio-external-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "external-review"
description: "Explicit $external-review, or a launcher prompt naming this file. Single-context leaf review of exact diff scope: no agents, nested reviews, or edits."
---

# External leaf review

One reviewer, one fresh context, one exact scope. The launcher that invoked this skill
owns dispatch, verification of findings, and any fixes. Single-context review is the
designed mode here, not a gap: do not suggest or mention spawning sub-reviewers as a
missing step.

## Scope identity

Resolve exact base and head SHAs from the invocation, or from the stated selector
(branch, commit, PR, uncommitted changes). When head differs from the checked-out
`HEAD`, read head content with `git show <head>:<path>` and the change with
`git diff <base> <head>`, not from the working tree. Dirty and untracked content is in
scope only when the selector includes the working tree, as in an uncommitted review;
then record the relevant paths with content hashes. State the scope before reviewing.
If the scope cannot be resolved to exact revisions and content, report that and stop;
do not guess a base, widen to unrelated history, or review a different diff.

## Review areas

Cover all five areas in this order within the one context:

1. Correctness and types.
2. Data flow, compatibility, and failure handling.
3. Performance, security, and observability.
4. Missing integration and cleanup: callers, config, docs, tests, and generated files the change should have touched.
5. Project-specific rules. AGENTS.md governs Codex; shared product constraints apply
   regardless of author. Do not import Claude-only session policies as Codex obligations.

When the diff extracts repeated operations or changes a shared boundary, read
[selective shared-code refactoring](references/shared-code-refactoring.md) and apply its
caller and invariant checks.

## Evidence

Read the changed code and its relevant callers before reporting. Run an affordable
reproduction when it resolves uncertainty, using read-only commands only. The run may be
in a read-only sandbox: a check that needs writes, installs, or network is reported as
unavailable, never as passed. Missing access means a check was unavailable, not that the
code passed.

Report credible uncertain findings with their uncertainty. Do not invent issues or promote
style preferences into correctness findings. Finding nothing is valid.

Grade severity against the change's goal, taken from the launcher's prompt or else the
commit messages and the diff. A finding limited to another code path, a rare input, a small
performance cost, or extra compatibility is P3 unless it breaks that goal; security, auth,
and data-loss findings keep their impact severity. Report code, tests, guards, or options the
goal does not need as P3 findings whose fix is the smaller version.

## Hard limits

- Leaf reviewer. Spawn no agents and start no subprocess review or nested review; never
  run `codex exec` or any other reviewer CLI.
- Invoke no other skill or review workflow.
- No file edits, no Git writes, no publication (comments, PRs, pushes, messages).
- Current system, developer, sandbox, approval, and user instructions win.

This is a fresh-context review by one reviewer. Do not claim multi-reviewer coverage or
vendor independence.

## Report

Keep it concise and in this order, so the launcher can parse it. If the runtime
prescribes an output schema, follow it and include these fields.

1. `Scope: <base>..<head>`, plus in-scope dirty or untracked paths with hashes, or `clean`.
2. Findings, ordered by severity (P0 critical, blocks release; P1 high; P2 medium;
   P3 low). Each has:
   location (`path:line`), trigger, consequence, evidence, proposed fix, severity, and
   confidence (high, medium, low). Keep severity separate from confidence.
3. `Checked and fine`: areas and specific risks inspected with no finding.
4. `Unavailable checks`: what could not be run or read, and why.
5. `Verdict:` one line.

Files in this skill

  • SKILL.md3.9 KB
  • agents/openai.yaml159 B
  • references/shared-code-refactoring.md2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.