Skip to content
Back to skills

Review Repository

ASecurity

This repository's own pull request reviewer: a specialists manifest that routes the deployer, the skills, the validation policies, the trust-boundary files, and the documents to briefed reviewers, which review-prs runs. Set it up on a machine, check it, or tune it from canary reviews.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 19, 2026
ai-agentspythonrustgoshellbashexpresscode-reviewgitdocumentation

Security analysis

A100/100

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

Scanned November 29, 2026

npx -y skills add EJRyan89/coding-agent-skills --skill review-repository --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Repository?

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

Security grade badge for Review Repository
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ejryan89-review-repository-coding-agent-skills/badge)](https://www.skillsdirectory.com/skills/ejryan89-review-repository-coding-agent-skills)

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-repository
description: >-
  This repository's own pull request reviewer: a specialists manifest that routes the deployer, the skills, the
  validation policies, the trust-boundary files, and the documents to briefed reviewers, which review-prs runs. Set
  it up on a machine, check it, or tune it from canary reviews.
argument-hint: "[PULL_NUMBER ...]"
disable-model-invocation: true
allowed-tools: ["Bash(python -B skills/ejryan89-code-review-core/scripts/review_pipeline.py validate-reviewer *)", "PowerShell(python -B skills/ejryan89-code-review-core/scripts/review_pipeline.py validate-reviewer *)"]
---

# This repository's reviewer

`review-prs` reviews a pull request of this repository with the specialists manifest `.claude/skills/review-repository/references/specialists.json`, read at the pull request's base as every repository reviewer is. This skill does not review: it sets the reviewer up, checks it, and tunes it. "Specialist reviewers" in `docs/code-review-operations.md` describes the mechanism. Each route's profile, under `references/`, names the invariant or decision in `docs/design.md` it holds and the drift an audit found there:

| Route | Files | Holds |
| --- | --- | --- |
| `deployer` | `deployer/`, `deploy.py` | One write point, one platform seam, refusals before mutation, the journal, the kinds table |
| `skill-contract` | skills' `SKILL.md`, `agents/`, `deploy-meta/`, `source.json`, repository skills and shims | Grants that match what runs, script over prose, metadata, cost |
| `skill-scripts` | skills' and repository skills' scripts but their suites, beside the reviewers above, with the `skill-contract` profile | Grants that still match what a changed script runs |
| `validation-policy` | `tests/validation/`, the runner, the root `conftest.py`, `pyproject.toml` | Each policy holds the sentence that cites it, with a fixture, read through `ast` |
| `trust-boundary` | the code-review contract and the files the route's patterns match, which `references/trust-boundary.md` describes by kind: among them each script, hook, and suite the trust model in `docs/design.md` names, but a validation policy, which `validation-policy` reviews, and each file `DESIGN_NAMED_ELSEWHERE` in `scripts/test_review_repository.py` gives to another route with its reason | A threat-model row and its adversarial test for what an author reaches, and for the hub guard its contract in `docs/parallel-sessions.md` |
| `documentation` | `docs/`, top-level Markdown, `.github/` Markdown and issue templates | Each sentence true of the code and of its owner |
| `documentation-drift` | scripts, beside the reviewers above, when a document names what changed or still states what it removed | Each passage that names changed code still true of it, and each line still stating an old path, identifier, option, printed word, or exit code, among those implement-change's pre-push sweep finds, the subset in the documents the route reads, with no option or word of a changed script the snapshot leaves out, such as a `.claude/` script |
| `untested-changes` | scripts, beside the reviewers above, when a changed function, method, or class has no test naming it | A test for each changed definition, or the body's reason none applies |
| `sibling-search` | scripts, beside the reviewers above | A fix's `Siblings:` line, held against the twins in the diff's own files |
| `sibling-spellings` | the `trust-boundary` and `validation-policy` files, beside their reviewers, on a pull request titled `fix` | What the closing issue's reasoning implies that the fix leaves open, read from the issue and the diff without the pull request's description or comments; a reproduced spelling blocks the merge |
| `upgrade-notes` | contract files, skills' `SKILL.md`, `deployer/arguments.py`, `pdf_tool.py` | The body's upgrade-note entry for each contract change, at the level and with the user action it asks for |
| `workflow-token` | any file, beside the reviewers above, when an added line names the run's token by its variable, secret, or expression, or says "token" near a workflow word | Each sentence about the token true of its row in `docs/design.md`, in words `token_claim_problems` does not read |

The generic reviewer takes every other file: `tools/`, skill scripts, the deployer and tools suites, CI, and this skill's own profiles. Every finding names one of the manifest's `finding_categories`, each a kind of drift. `documentation-drift`, `untested-changes`, and `workflow-token` open only when their conditions find something, and `sibling-spellings` only for a title the title check reads as a fix; they, `sibling-search`, `skill-scripts`, and `workflow-token` share their files, so the generic reviewer still reviews those files.

## 1. Configure

The configuration stays on each machine and never in the repository. Add this entry to the code-review configuration's `repositories`, and the repository to a set, putting the hub checkout's absolute path for the placeholder:

```json
"EJRyan89/coding-agent-skills": {
  "reviewer": {"id": "review-repository", "protocol_version": 1, "scope": "repository", "trusted_ref": null,
               "manifest_path": ".claude/skills/review-repository/references/specialists.json"},
  "checkout_path": "<hub checkout>",
  "snapshot_exclude": ["tests/fixtures/*", "tests/fixtures/audit-skill/**", "tests/fixtures/captured-output/**",
                       "tests/fixtures/runtime-canary/**", "tests/fixtures/skill-evals/**"]
}
```

`snapshot_exclude` leaves out the evaluation, canary, and captured-output fixtures, whose planted defects and own `README.md` and `docs/design.md` `source-search` would return beside the repository's. A pull request that changes one is therefore `INCOMPLETE`: its fixtures are reviewed from the diff, and `evaluate-skill` exercises them. It leaves in `tests/fixtures/option-catalogues/`, the wrapper programs' option catalogues, which the `trust-boundary` reviewer holds. The snapshot also leaves out every path under `.claude/` as an agent instruction, whatever the configuration says, so `untested-changes` gives its reviewer each changed repository-skill script, and `documentation-drift` each agent instruction document it could not search, as an `EXCLUDED` entry to judge from the diff.

## 2. Check

Check the reviewer against each pull request given, or a recent merged one of each route, from a worktree on `origin/main`, never the hub:

```bash
python -B skills/ejryan89-code-review-core/scripts/review_pipeline.py validate-reviewer --repository EJRyan89/coding-agent-skills --pull '<number>'
```

Expect, in order: `REVIEWER` and `FILES`, with an `UNMATCHED` line for any include pattern that matches no file; then for each pull request `PULL <owner/repo#number> base=... head=... files=<n> reviewer=<source>`, `BODY` with how much of the body reviewers would be given, `SNAPSHOT ... source=checkout-lazy`, a `TITLE sibling-spellings match|no-match` line for whether the title routes the fix reviewer, a `CONDITION <name> open|closed` line for each condition a matching specialist names (whether the drift and untested-changes routes would open), a `ROUTE` line per route that starts, an `UNCOVERED <path>` line for each changed file no specialist that does not share its files matches, and `GENERIC files=<n>` for the files the generic reviewer reviews; and last `VALID`. "Choosing and checking a repository reviewer" in `docs/code-review-operations.md` gives every line `validate-reviewer` prints. A base that predates the manifest fails: set `trusted_ref` to the branch that has it, as `refs/heads/<branch>`, for that check only.

## 3. Tune

Tune from records, not from reading the profiles. Commit the change, set `trusted_ref` to the branch that holds it, as `refs/heads/<branch>`, and run `/review-prs --canary EJRyan89/coding-agent-skills#<number>` on merged pull requests that reach each route it changes. Compare each record's findings, by reviewer and category, with what the pull request later needed, then reset `trusted_ref` to `null`. A profile is what a reviewer reads on every turn, so keep each one short. Run `audit-skill` on this skill before the pull request, as for any repository skill.

Files in this skill

  • SKILL.md6.6 KB
  • references/deployer.md2.5 KB
  • references/documentation-drift.md2.2 KB
  • references/documentation.md2.8 KB
  • references/skill-contract.md2.9 KB
  • references/specialists.json6.1 KB
  • references/trust-boundary.md4.1 KB
  • references/untested-changes.md2 KB
  • references/upgrade-notes.md3.1 KB
  • references/validation-policy.md2.6 KB
  • scripts/conditions.py5.4 KB
  • scripts/doc_passages.py14.3 KB
  • scripts/test_conditions.py5.6 KB
  • scripts/test_doc_passages.py16.6 KB
  • scripts/test_review_repository.py49.6 KB
  • scripts/test_untested_functions.py19.3 KB
  • scripts/untested_functions.py25.4 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.