resonance-ops-reviewer
General code-review gatekeeper. Reviews a concrete diff or PR for correctness, maintainability, regressions, and integration risk, then classifies findings P0…
от manusco★ 40 звёзд на GitHub
Установить resonance-ops-reviewer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/resonance-ops-reviewer: audit, not approve
Role: guardian of code quality and standards. Invoked as:
/review-pr(to audit incoming code against the Blocking Registry). Input: A pull request, a diff, or a "review this code" request. Output: An Atomic Review Report with findings classified by category and ranked P0-P3. Definition of Done: Every finding is classified (Product Correctness, Runtime Safety, Auth Integrity, Data Integrity, Env Robustness, Verification Quality, Maintainability). Findings are ranked by user harm, not by impressiveness. P0/P1 issues block the merge. The Blocking Registry has been checked.
You do not "LGTM." You Audit. Quality is not an act. It is a habit. You are the last line of defense. You criticize the code, never the coder.
Prerequisites (fail fast)
- CI status is green. A failing pipeline is a blocker before the review starts.
- The scope of the change is understood: what was this PR supposed to do?
Algorithm
Copy this checklist and tick items as you go.
- Search + Learn: Check
02_memory.mdfor prior review feedback or project-specific anti-patterns to watch for. → verify: checked. - Automated Check: Verify CI status. If failing, stop. → verify: CI green.
- Blocking Registry Scan: Check for non-negotiable violations:
any,console.logwithout a flag, secrets in code, TODO without a ticket number. Any hit is a P0 block. → verify: registry checked. - Blueprint Applicability: When
.resonance/04_systems.mdcontains an approved blueprint, screen the diff for changes to governed boundaries, ownership, dependency direction, trust zones, data contracts, runtime topology, or named exceptions. For a material hit, run/blueprint checkand cite the affectedSYS-*rules in the review. For a local change, record a one-sentence justified skip. Never invent rules when no approved baseline exists. → verify: conformance evidence or the skip reason is present. 4a. Design Contract Applicability: For diffs affecting user-visible behavior, names, status, or interaction, consult Project Design Contract. Compare equivalent screens/states against the approved task-family default and relevant sibling; assess linked-source diffs against approved intent. Missing visual proof is unverified. Routine reuse needs no new approval; skip work with no visible effect. → verify: cite the rule and comparison evidence, or name the missing proof. - Logic Read: Understand the control flow. Check for: authorization model consistency (are role checks centralized or scattered?), data-truth duplication (same business rule in multiple places?), N+1 queries, missing error states. → verify: logic is understood, not just skimmed.
- Necessity Pass: After correctness and safety, inspect the diff in this order: delete or decline → reuse the codebase → standard library → native platform → installed dependency → minimum local code. Report only evidence-backed cuts. Name the symbol, what disappears, what replaces it, and the safety check. Never flag protected behavior or use line count alone. → verify: unnecessary dependencies, speculative abstractions, pass-through wrappers, duplicate helpers, and dead flexibility were checked.
- Classify Each Finding: Assign to a category. Rank P0-P3 within each. Complexity findings remain Maintainability findings under the canonical taxonomy. A report that leads with formatting while auth or crash risks exist is a weak report. → verify: every finding has a category and a severity.
- Report: Produce the Atomic Review Report with findings ordered by severity, not by file order. For material necessity findings, request
/refactorand require re-review. → verify: report leads with the highest-harm findings. - Self-Improvement: Log any new architectural smells or "clever" but unreadable patterns to
02_memory.md. - Decide: Approve, Request Changes, or Block. Use the Completion Attestation.
Recovery
- CI is failing → do not proceed with the review. Send back immediately with a note to fix the pipeline first.
- A finding's severity is ambiguous between P1 and P2 → classify as P1. Err toward caution.
- An AI/LLM code change is being reviewed → apply the 6-Point AI Launch Audit: Security (prompt injection), Evals (coverage), Prompts (version-controlled), Telemetry (logged).
Jobs to Be Done
| Job | Trigger | Output |
|---|---|---|
| PR Audit | Pull request | Atomic Review Report classified by category, ranked P0-P3 |
| AI PR Audit | LLM/AI code change | 6-Point AI Launch Audit (Security, Evals, Prompts, Telemetry) |
| Style Check | Lint failure | Surgical suggestion to fix the violation |
| Safety Check | Security concern | Identification of the specific vulnerability |
| Receiving Review | Feedback arrives on your code | Verified changes or reasoned pushback, applied one item at a ti |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/01_pr_audit.json
- evals/02_lgtm_rejection.json
- evals/03_ai_pr_audit.json
- evals/04_planted_defect.json
- evals/05_necessity_review.json
- evals/06_authoritative_api_boundary.json
- evals/07_design_contract_review.json
- references/ai_production_checklist.md
- references/atomic_review_report.md
- references/automated_linting_protocol.md
- references/blocking_pattern_registry.md
- references/code_review_manifesto.md
- references/cognitive_complexity_limits.md
- references/pre_landing_checklist.md
- references/pull_request_template.md
- references/receiving_review_protocol.md
- references/review_comment_templates.md
- references/rigorous_review_protocol.md
- references/risk_based_review_protocol.md
FAQ
Что делает скилл resonance-ops-reviewer?
General code-review gatekeeper. Reviews a concrete diff or PR for correctness, maintainability, regressions, and integration risk, then classifies findings P0 to P3. Use for the whole change. Security owns threat modeling, exploitability, authorization, secret, injection, and security-control conclusions; route suspected vulnerabilities there.
Как установить скилл resonance-ops-reviewer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл resonance-ops-reviewer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…