npx claudepluginhub broneq/bdk --plugin bdkThis skill is limited to using the following tools:
> Relies on BDK foundation (STARTUP_INSTRUCTIONS.md) for project context and MCP tool preference.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Relies on BDK foundation (STARTUP_INSTRUCTIONS.md) for project context and MCP tool preference.
Code review orchestrator. Determine change scope, dispatch specialized agents parallel, collect results, merge into unified report.
On Start:
┌─────────────────────────────────────────────────┐
│ 👁️ ORCHESTRATOR: code-review │
│ 📋 Task: {brief description} │
│ ⚡ Model: sonnet │
└─────────────────────────────────────────────────┘
During Execution:
[cr] Step 1: Determining scope...
[cr] Scope: {N} files changed, {N} lines total → {tiny|small|large|massive}
[cr] Step 2: Dispatching {N} agents...
[cr] - {N}× layer-group reviewers (sonnet)
[cr] - 1× architecture reviewer (opus)
[cr] - 1× test reviewer (opus)
[cr] - {N}× duplicate detectors (haiku)
[cr] - 1× dead code detector (haiku)
[cr] - 1× static analyse (haiku)
[cr] - 1× test runner (haiku)
[cr] Step 3: Waiting for agents...
[cr] Step 4: Merging results...
[cr] ✓ Complete ({N} findings: {critical}C/{high}H/{medium}M/{low}L)
!python3 ${CLAUDE_PLUGIN_ROOT}/scripts/inject.py --chain ${CLAUDE_PLUGIN_ROOT}/fragments/tool-tiers/review.chain.json
git diff --name-only HEAD~1 + git diff --stat HEAD~1Based on total changed lines:
Tiny (< 50 lines):
Small (50–1000 lines):
Large (1000–3000 lines):
Massive (3000+ lines): Same as Large, N capped at 5.
Before dispatching agents, read references/reviewer-prompt-template.md. For each <!-- INJECT: <name> --> marker, run:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/inject-rules.py <name>
Substitute the script's stdout in place of the marker. If exit is non-zero, surface the stderr message and stop dispatch — quality rules are mandatory context for reviewers.
The resolved template is what each layer-group reviewer, architecture-reviewer, and test-reviewer receives in their prompt.
Launch ALL planned agents in SINGLE message using Agent tool with run_in_background: true.
For each layer-group reviewer (use references/reviewer-prompt-template.md for dispatch structure):
For architecture-reviewer:
detect_changes output and get_bridge_nodes_tool results as initial contextFor test-reviewer:
get_affected_flows results as scope contextFor each duplicate-detector:
For dead-code-detector:
For static-analyse:
For test-runner:
.bdk/cr/[TDP - dynamic path here] — see IDEAS.md for dynamic path patternSee references/report-format.md for detailed 13-section structure and templates.
≤ 5 sentences: overall assessment, severity distribution, key wins/gaps.
Naming, formatting, import organization, code consistency.
Correctness, error handling, edge cases, logic errors.
Algorithm choices, unnecessary iterations, hot path issues.
Test existence, coverage, edge cases, isolation, assertion quality.
Type annotations, single responsibility, notable SOLID violations.
Classes, SRP, composition, DI, god classes, anemic models.
Repeated blocks, structural patterns, extractable logic.
Paste dead-code-detector output verbatim.
SQL injection, unsafe deserialization, secrets in code.
Layer boundaries, dependency injection, design patterns, data flow, directory structure.
Good patterns worth reinforcing.
All findings sorted by severity: CRITICAL → HIGH → MEDIUM → LOW.
Each issue: [SEVERITY] category → file:line → problem → 1-sentence fix.