Skip to content
Back to skills

Fast Review

ASecurity

Mandatory single-reviewer PASS/FAIL gate on delegated work, and the retry and escalation ladder every skill follows. Use after a delegation returns, before accepting its output.

  • 80 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 28, 2026
ai-agentsci/cdsecurity

Security analysis

A100/100

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

Scanned October 5, 2026

npx -y skills add monkilabs/opencastle --skill fast-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fast Review?

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

Security grade badge for Fast Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monkilabs-fast-review/badge)](https://www.skillsdirectory.com/skills/monkilabs-fast-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: fast-review
description: "Mandatory single-reviewer PASS/FAIL gate on delegated work, and the retry and escalation ladder every skill follows. Use after a delegation returns, before accepting its output."
---

# Skill: Fast Review

## Contract

| Rule | Detail |
|------|--------|
| Trigger | After **every** delegation — no exceptions |
| Reviewer | Single sub-agent; Economy tier (Standard for premium/security work) |
| Verdict | PASS or FAIL with structured feedback |
| Retry & escalation | The Handle Verdict table below, the one ladder every skill refers to |

## Procedure

### 1 — Collect Context

Issue + acceptance criteria, file diff, file partition, deterministic results (lint/test/build), agent self-report.

### 2 — Spawn Reviewer

One sub-agent, dispatched as the Reviewer. Context = acceptance criteria, diff, partition, deterministic results **only** — no session history, no delegation prompt.

```
Agent: Reviewer
Review against these acceptance criteria:
[criteria]
Diff:
[diff]
Deterministic gates: lint ✅ test ✅ build ✅
```

Full reviewer prompt template: [REFERENCE.md](REFERENCE.md).

### 3 — Parse Verdict

```
VERDICT: PASS | FAIL
ISSUES:
- [severity:critical|major|minor] Description
FEEDBACK: Actionable feedback.
CONFIDENCE: low | medium | high
```

- **PASS** — no critical/major issues (minor noted, non-blocking).
- **FAIL** — any critical/major issue, or output format mismatch.

**Auto-PASS** (skip reviewer): pure research/no code changes; docs-only `.md` changes; ≤10 lines across ≤2 non-sensitive files with all deterministic gates passing.

> **Sensitive override:** Auth/middleware, DB migrations, RLS policies, security headers, CSP, env var schemas, CI/CD config always require review — even 1-line changes.

### 4 — Handle Verdict

| Outcome | Action |
|---------|--------|
| PASS | Log review; continue |
| FAIL 1–2 | Log; re-delegate same agent with the reviewer's feedback: "Retry N/2 — address listed issues" |
| FAIL 3 | Log `escalated: true`; load **panel-majority-vote** skill |
| Panel BLOCK ×3 | Dispute in `.opencastle/DISPUTES.md` (see **team-lead-reference** § Dispute Protocol) |
| Tool/runtime failure ×2 (crash, timeout, empty or off-topic output) | Entry in `.opencastle/AGENT-FAILURES.md` (see **team-lead-reference** § Dead Letter Queue Format) |

## Logging

> **⛔ HARD GATE — Log the review before proceeding.**

```sh
npx opencastle log --type review --tracker_issue PRJ-42 --agent Developer \
  --verdict pass --attempt 1 --issues_critical 0 --issues_major 0 --issues_minor 2 \
  --confidence high --escalated false --duration_sec 45
```

## Integration & Overnight Mode

`on-post-delegate` Gate 5 (after deterministic Gates 1–4), ~5–15% token overhead. Overnight: upgrade one tier, checkpoint before panel.

## Anti-Patterns

- **Panel as fast review** — wastes ~3× tokens.
- **Reviewer sees delegation prompt** — evaluate against acceptance criteria only.
- **Ignoring minor issues** — track; 3+ recurrences → ticket.
- **Force-accepting FAIL** — retry or escalate.
- **Skipping deterministic checks** — does NOT replace lint/test/build.

Files in this skill

  • REFERENCE.md743 B
  • SKILL.md3.1 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.

Comments

Loading comments…