deep-code-reviewer
БесплатноБез исполняемых скриптовНе проверенPerform rigorous, architecture-aware code review focused on subtle correctness bugs, race conditions, performance regressions, type-safety holes, security…
от conectlens★ 18 звёзд на GitHubОб этом скилле
Deep Code Reviewer
Perform review as an auditor, not as a summarizer. Prioritize findings that can cause incorrect behavior, operational pain, or expensive future changes.
Quick Start
- Establish scope before judging details.
- Inspect surrounding code, not just the diff or pasted snippet.
- Trace data flow, control flow, state transitions, and failure paths.
- Produce findings ordered by severity with concrete file references.
- Keep summaries brief and secondary to the findings.
Review Workflow
1. Build Context
Read enough code to understand:
- Entry points and callers
- State ownership and mutation boundaries
- Invariants that must always hold
- External dependencies: databases, queues, caches, RPCs, files, clocks, feature flags
- Existing tests and what they do not cover
If the change touches a framework or subsystem with non-obvious behavior, read the local docs or implementation that defines the contract before concluding.
2. Hunt for High-Impact Failures First
Check for:
- Incorrectness: broken invariants, off-by-one logic, missing validation, bad error handling, partial updates
- Concurrency hazards: races, duplicate work, lost updates, stale reads, deadlocks, non-atomic sequences
- Security flaws: authorization gaps, trust-boundary violations, secret leakage, injection vectors
- Data integrity issues: transaction gaps, mismatched schemas, silent truncation, incompatible migrations
- Performance cliffs: N+1 queries, unnecessary allocations, hot-loop work, unbounded retries, lock contention
- Type-safety holes: unsafe casts, invalid narrowing, nil/null handling gaps, unsound generics, unchecked parsing
- Operational risks: weak observability, bad retry semantics, missing idempotency, unsafe rollout assumptions
3. Evaluate Architecture and Design
Judge whether the design makes future failures likely even if the current code appears correct.
Look for:
- Responsibilities split across the wrong boundaries
- APIs that hide important invariants or encourage misuse
- Tight coupling to volatile details
- Configuration or feature-flag logic that creates invalid states
- Missing abstractions where duplication is already diverging
- Premature abstractions that make correctness harder to reason about
Prefer comments on architecture only when they imply real delivery or maintenance risk.
4. Stress Edge Cases
Actively test mental scenarios such as:
- Empty, null, duplicate, stale, or out-of-order inputs
- Timeout, cancellation, retry, and partial-failure paths
- Multi-tenant or cross-user isolation boundaries
- Boundary values, integer overflow, time zone, locale, and clock skew issues
- Re-entrancy, repeated webhooks, at-least-once delivery, and replayed requests
- Startup, shutdown, migration, and backfill behavior
5. Verify With Tests, Then Critique Test Gaps
Do not stop at "tests exist". Check whether tests cover:
- The critical invariant, not just the happy path
- Failure behavior and rollback semantics
- Concurrency or repeated invocation
- Serialization and schema boundaries
- Performance-sensitive behavior when relevant
Call out missing tests only when they leave meaningful risk unaddressed.
Output Format
Default to a code-review response:
- Findings first, ordered by severity
- Each finding states the problem, why it matters, and the condition that triggers it
- Include precise file references when available
- Follow with open questions or assumptions only if they affect confidence
- End with a short change summary or residual risk note
If no findings are discovered, say so explicitly and mention any remaining testing or confidence limits.
Review Heuristics
Load references/review-checklist.md when you need a deeper prompt for correctness, concurrency, data, performance, or API-boundary analysis. Use it selectively; do not dump the whole checklist into the response.
Constraints
- Do not pad the review with style nits unless they create real defects or maintenance cost.
- Do not invent speculative issues without a concrete failure mode.
- Do not praise code quality unless the user asks for overall assessment.
- Prefer fewer high-confidence findings over a long weak list.
- If you cannot verify an assumption from local context, mark it as an assumption.
Example Triggers
- Review my authentication module for edge cases and race conditions.
- Analyze this transaction handler for correctness and performance bottlenecks.
- Is there anything architecturally wrong with how I structured these services?
Установить deep-code-reviewer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deep-code-reviewer?
Perform rigorous, architecture-aware code review focused on subtle correctness bugs, race conditions, performance regressions, type-safety holes, security issues, and maintainability flaws that surface-level review misses. Use when the user asks for comprehensive or deep review, requests design critique, wants edge-case or concurrency analysis, needs production-readiness feedback, or is reviewing critical paths, complex services, transaction handlers, auth flows, infrastructure code, or other high-risk changes.
Как установить скилл deep-code-reviewer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deep-code-reviewer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic