Установка
SKILL.md
review — Universal Review Gate
Runtime syntax: in Codex, invoke the plugin copy with the owner-qualified $genie:<skill> selector; use bare $<skill> only when intentionally selecting a user-tier copy (a separately installed personal copy; Genie no longer seeds this tier). Claude Code and Hermes use /<skill>. Cross-skill prose below uses bare names as portable semantic routes; the orchestrator resolves the selector for the active tier.
Validate a design, wish plan, completed execution, or PR against its governing criteria. Dispatch as a subagent — never review your own work inline. The deliverable is findings plus a verdict: report and stop — never implement fixes, however small.
Context Injection
When spawned as a reviewer subagent, your dispatch prompt carries the curated scope: the target (DESIGN.md, wish draft, completed work, or PR diff), its exact path, and the extracted design or acceptance criteria. A design review does not require a wish path; later pipelines include .genie/wishes/<slug>/WISH.md. Use the supplied context directly — do not re-parse information already provided.
When to Use
- After
brainstorm— validate DESIGN.md before converting it into a wish - Before
work— validate a wish plan is ready for execution - After
work— verify implementation meets acceptance criteria - Before merge — check a PR diff against wish scope
Flow
- Detect target — DESIGN.md, wish draft, completed work, or PR diff.
- Select pipeline — the matching checklist below.
- Run checklist — evaluate each criterion, collecting evidence.
- Run validations — execute validation commands; capture pass/fail output.
- Tag gaps — classify every unmet criterion by severity.
- Return verdict — SHIP, FIX-FIRST, or BLOCKED, with exact fixes (files, commands, what to change) for each gap.
Escalation Diagnosis
Use this policy before any model or effort change; keep this contract identical in fix, review, and work.
| Cause | Diagnostic evidence | Corrective route |
|---|---|---|
model-capacity | The supplied context is complete, the spec is decidable, the environment works, and attempt output shows the assigned model or effort still cannot perform the reasoning. | May raise model or effort one step, but only with new evidence and available caps. |
missing-context | The attempt identifies absent files, history, criteria, logs, or other inputs needed to decide. | Supply the missing context and retry at the same model and effort; MUST NOT escalate model or effort. |
ambiguous-spec | Two or more materially different behaviors remain consistent with the stated criteria. | Request a human decision or wish clarification; MUST NOT escalate model or effort. |
env-tool-failure | A reproducible environment, dependency, permission, timeout, or tool error prevents valid execution. | Repair or retry the environment/tool, or report blocked with the error; MUST NOT escalate model or effort. |
Escalation eligibility requires new evidence produced since the previous attempt: attach the new failing output or diagnostic result, the correction already tried, and why it rules out the other three causes. A repeated verdict or unchanged failure is not new evidence and cannot authorize a model or effort change.
Model and reasoning effort belong in the active runtime's session or named-agent configuration, never in skill frontmatter. Inherit the active model by default. Only an evidenced model-capacity diagnosis may justify one higher-effort fresh agent, with at most two escalation attempts per group. The runtime's highest supported effort is appropriate only for a final gate or similarly demanding review when the user requested it or the evidence warrants it. Further escalation requires an explicit human decision recorded with the wish/group, old and new settings, reason, approver, and timestamp.
If an ordinary reviewer and the final-gate disagree, log an appeal with the wish/group, both verdicts and evidence, the contested criterion, and the human resolution. Neither verdict silently overrides the other, and the group remains in_progress until the appeal is resolved.
Pipelines
Design Review (after brainstorm)
- <!-- -->Problem is explicit, consequential, and readable one way
- <!-- -->Scope has concrete IN and OUT boundaries that fit one wish
- <!-- -->Chosen approach names its rationale and rejected alternatives
- <!-- -->Decisions are consistent with the approach and repository constraints
- <!-- -->Risks and assumptions name mitigations or explicit acceptance
- <!-- -->Success criteria are testable without requiring execution-group details
- <!-- -->Next step is
wish; DESIGN.md contains no TODO/TBD placeholders
Plan Review (before work)
- <!-- -->Problem statement is one sentence and testable
- <!-- -->Scope IN has concrete deliverables; Scope OUT is explicit
- <!-- -->Every task has testable acceptance criteria
- <!-- -->Tasks are bite-sized and independently shippable
- <!-- -->Dependencies tagged (
depends-on/blocks) - <!-- -->Validation commands exist for each execution group
Execution Review (after work)
- <!-- -->All acceptance criteria met with evidence
- <!-- -->Validation commands run and passing
- <!-- -->No scope creep — only wish-scoped changes
- <!-- -->Work is auditable — commands and outcomes captured
- <!-- -->Quality pass: security, maintainability, correctness
- <!-- -->No regressions introduced
PR Review (before merge)
- <!-- -->Diff matches wish scope — no unrelated changes
- <!-- -->File list matches wish's "Files to Create/Modify"
- <!-- -->No secrets, credentials, or hardcoded tokens in diff
- <!-- -->Tests pass (if applicable)
- <!-- -->Commit messages reference wish slug
Severity & Verdicts
| Severity | Meaning | Blocks? |
|---|---|---|
| CRITICAL | Security flaw, data loss, crash | Yes |
| HIGH | Bug, major perf issue | Yes |
| MEDIUM | Code smell, minor issue | No |
| LOW | Style, naming preference | No |
| Verdict | Condition | Next step |
|---|---|---|
| SHIP | Zero CRITICAL/HIGH gaps, validations pass | See SHIP next-steps |
| FIX-FIRST | Any CRITICAL/HIGH gap or failing validation | Auto-invoke fix |
| BLOCKED | Scope, architecture, or execution issue prevents a valid verdict | Diagnose the cause and take its corrective route |
Persistence handoff
The reviewer is read-only. Return a timestampable evidence block containing
the review context, target SHA/path, commands and outcomes, verdict, and gaps.
For a design review, return the exact reviewed-content SHA-256 defined by the
bounded evidence block in DESIGN.md as reviewed-sha256; the invoking
orchestrator passes that value unchanged to the stamp command as
--reviewed-sha256. Stamping rejects a current design that differs from the
reviewed content, verification rejects any later edit, and the reviewer never
recomputes a digest for content it did not review. For plan,
execution, and PR review, the orchestrator appends the block under the wish's
## Review Results and owns every durable transition:
- plan SHIP →
APPROVED; plan FIX-FIRST →FIX-FIRST; plan BLOCKED →BLOCKED; - execution and PR verdicts are appended while the wish remains
IN_PROGRESS; - only an authorized merge plus required QA changes the wish to
SHIPPED.
Do not claim the next stage is active until the orchestrator confirms the write. Never edit WISH.md, the brainstorm jar, or task state as the reviewer.
SHIP next-steps
| Review context | On SHIP |
|---|---|
Design review (after brainstorm) | Proceed to wish to create the executable plan |
Plan review (after wish) | Proceed to work to execute the plan |
Execution review (after work) | Create PR targeting dev |
| PR review (before merge) | Merge to dev (agents) or approve for human merge |
FIX-FIRST loop
- Auto-invoke
fixwith the severity-tagged gap list. - After
fixcompletes, re-runreview(max 2 fix loops). - Still FIX-FIRST after 2 loops → return BLOCKED with an Escalation Diagnosis; never raise model or effort automatically.
When a failure's root cause is unclear, invoke trace before dispatching fix — fix then applies the cause-specific correction from the trace report. An unclear cause is not evidence of model-capacity.
Dispatch
Reviewer ≠ engineer. The orchestrator dispatches review as a separate subagent via the native delegation surface — an agent never reviews its own work. Follow-ups to a running reviewer go through native follow-up messaging. For change-types that warrant deeper scrutiny, the orchestrator also convenes a Lens Panel (below); those lenses advise, but the checklist still owns the verdict.
Lens Panels
When the change-type warrants it, the orchestrator dispatches lens reviewers alongside the standard reviewer — each a separate subagent whose prompt carries its lens file (path + content) and the curated review scope. Convene a lens only when the change actually touches its surface; lenses advise, but the verdict still comes from the checklist above — never from a lens.
| Change-type | Advisory lens |
|---|---|
| Auth / secrets / dependency changes | sibling supply-chain/SKILL.md |
| Hot-path or latency-sensitive code | sibling perf/SKILL.md |
| Public API / CLI surface | sibling dx-docs/SKILL.md |
| Module-boundary / architecture moves | sibling architecture/SKILL.md |
| Test-strategy changes | sibling qa/SKILL.md |
| Plan / wish reviews | references/lenses/questioner.md |
Resolve references/lenses/questioner.md from the directory containing this
loaded SKILL.md. Resolve a sibling lane from that skill directory's parent
(for example ../supply-chain/SKILL.md). If a separately installed skill is
missing a sibling, mark that advisory lane unavailable instead of guessing a
source-checkout or global plugin path.
Verdict Reporting
The verdict plus severity-tagged gaps ARE the review output — deliver them in your final message. For a plan or PR, the invoking orchestrator persists the returned block in git. The reviewer never mutates files or task state:
| Verdict | Orchestrator's next move |
|---|---|
| SHIP | Execution review → complete the group with genie task done <task-id>; plan review → advance to the next lifecycle stage |
| FIX-FIRST | Auto-invoke fix with the gap list; the task stays in_progress until a clean re-review |
| BLOCKED | Take the diagnosed corrective route; the task stays in_progress |
genie task done belongs to the orchestrator, after a clean verdict — never to the reviewer.
Rules
- Never mark PASS without evidence from this session — verify, don't assume.
- Never ship with CRITICAL or HIGH gaps.
- Report findings and stop — no unrequested fixes; corrections belong to
fix. - Every FAIL includes an actionable fix (file, command, what to change).
- Keep output concise, severity-ordered, and executable.
Session close (required)
When spawned as a native subagent, your final message IS the completion signal — the orchestrator is notified when you finish; do not poll or emit a separate contract call. State the verdict, then end with exactly one terminal outcome as the last word:
- done — review completed; verdict (SHIP / FIX-FIRST / BLOCKED) and severity-tagged gaps stated.
- blocked — could not complete the review (missing artifact, unrunnable validation). State exactly what you need.
- failed — aborted or irrecoverable. State why.
blocked / failed must include a one-line reason.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: review](https://darkplay.ru/ai/skills/automagik-dev-genie-review)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
mattpocock-skillsmattpocock · Агентские навыки Matt Pocock для настоящей инженерии: разбор задач, потоки спецификаций и…
Code Revieweraffaan-m · Эксперт по ревью кода. Проактивно проверяет код на качество, безопасность и…
Cpp Revieweraffaan-m · Ревьюер C++: безопасность памяти, современные идиомы, конкурентность, производительность.
Csharp Revieweraffaan-m · Ревьюер C#: конвенции .NET, async, безопасность, nullable-типы, производительность.
Database Revieweraffaan-m · Специалист PostgreSQL: оптимизация запросов, схемы, безопасность, Supabase.
Django Revieweraffaan-m · Ревьюер Django: ORM, DRF, миграции, безопасность и production-практики.
Fastapi Revieweraffaan-m · Проверяет FastAPI-приложения: async, DI, Pydantic, безопасность, OpenAPI и тесты.
Flutter Revieweraffaan-m · Ревьюер кода Flutter и Dart: виджеты, управление состоянием, идиомы и архитектура.
Fsharp Revieweraffaan-m · Ревьюер кода F#: функциональные идиомы, типы, сопоставление с образцом и…
Go Revieweraffaan-m · Ревьюер кода Go: идиоматичность, конкурентность, обработка ошибок и производительность.Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton