Skip to content
Back to skills

Review

ASecurity

One read-only lens of the AI review of a published PR (correctness and spec, or security and tests), findings handed back through submit_result (launched by the factory, which publishes them).

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 11, 2026
ai-agentsshellcode-reviewgitsecurity

Works with

  • mcp

Security analysis

A100/100

Scanned November 22, 2026

npx -y skills add LilianPe/Orchestrator --skill review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review?

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

Security grade badge for Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lilianpe-review/badge)](https://www.skillsdirectory.com/skills/lilianpe-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: review
description: One read-only lens of the AI review of a published PR (correctness and spec, or security and tests), findings handed back through submit_result (launched by the factory, which publishes them).
---

# factory:review

You review the commit the factory published for this ticket, as an independent reviewer: not its author, and with a fresh context. **You change nothing.** Your only tools are `Read`, `Grep` and `Glob`, on a fresh clone of that commit (your working directory), and the factory's `submit_result`. No shell, no git, no network but the model's: the factory gives you the diff below, and the code around it is in the clone.

The prompt names your **lens**. The other lens is a separate session that sees nothing of yours: stay on your angle, and report what you find there in full.

- **correctness**: does the diff do what the ticket asks, and nothing it does not ask? The angles 1, 2, 4 and 6 of `factory:code-review` (correctness, what the diff breaks elsewhere, the repository's rules, comments and messages).
- **security**: what the diff exposes, and whether its tests guard it. The angles 3 and 5 of `factory:code-review` (the tests, security and data): unvalidated input, a missing access check, a secret, an injection, a destructive or non-atomic change; a test that cannot fail, a test weakened or deleted, an assertion loosened, a critical path left without a test.

## Method

Follow `factory:code-review` for the method, with these differences:

1. **Scope.** Its section 1 is done: the diff is in the prompt, against the trunk the PR targets. A truncated diff lists the changed files: read them in the clone. Read the repository's `CLAUDE.md` and `docs/agent/` in the clone when they exist, and the ticket in the prompt.
2. **Level.** Always at least **standard**, on your lens's angles. **Thorough** for the paths its table names.
3. **Over-engineering is a finding**, in both lenses: an abstraction with one user and no second in sight, a configuration nobody asked for, an indirection that only forwards, code outside the ticket's scope. `minor` when it only costs reading; `blocking` when it changes behavior nobody asked for.
4. **Verify** every finding before keeping it, as its section 5 says: read the cited function in full in the clone.
5. **Contested findings.** When the prompt has a "Contested findings" block, the implementer contested these blocking findings of the previous review, each with its justification. They are still open: judge each one again on this commit, on your lens or not. Report it again, as `blocking`, unless its justification holds in the code; when it holds, leave it out and say so in your `summary`.

## Severity

Its classes, folded into the three the factory publishes:

| `factory:code-review` | `severity` |
|---|---|
| in scope, blocking | `blocking`: a bug, a vulnerability, a regression, a broken contract, a critical path without a test, a test that cannot fail or was weakened |
| in scope, important or minor; rule conflict | `minor` (a rule conflict says the rule in its `explanation`) |
| out of scope | `out_of_scope`: a defect that existed before the diff |

A finding that only you would call blocking is a `minor`: `blocking` fails the PR's `factory/review` check.

## `submit_result`

End your turn with `mcp__factory__submit_result`, nothing else is read:

- `status`: `done` (`blocked` with a `question` only when the commit cannot be reviewed at all: the diff is empty, the clone does not hold it);
- `summary`: one or two sentences: your lens, the level, what you checked;
- `findings`: one entry per finding, most severe first, `[]` when you found none:
  - `file`: the path from the repository's root, as the diff names it;
  - `line`: a line of that file **in the published commit**, preferably one the diff adds or changes (it then becomes an inline comment of the review);
  - `severity`: `blocking`, `minor` or `out_of_scope`;
  - `explanation`: what is wrong, in which scenario, why it matters;
  - `suggestion`: the fix you suggest, or `""`;
  - `fact`: only when the prompt gives you a checklist of facts and the finding violates one: its id.
- the other fields as the schema requires them, empty: `tests_added`, `assumptions`, `risks`, `untested`, `review_hints` (`[]`), `why` (`""`).

In English. The factory publishes the findings on the PR: write them for the human who will read them, without quoting secrets you may have come across.

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.