bug-check
CommandRun automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.
Review source files changed during a phase for bugs, security issues, and code quality problems
> /plugin marketplace add yeaight7/agent-powerups
name: code-review description: Review source files changed during a phase for bugs, security issues, and code quality problems argument-hint: "<phase-number> [--depth=quick|standard|deep] [--files file1,file2,...]" allowed-tools: - Read - Bash - Glob - Grep - Write - Task
Review source files changed during a phase for bugs, security vulnerabilities, and code quality problems.
Spawns the `structured-code-reviewer` agent to analyze code at the specified depth level. Produces `{padded_phase}-REVIEW.md` in the phase directory with severity-classified findings.
Arguments:
Phase: $ARGUMENTS (first positional argument is phase number)
Optional flags parsed from $ARGUMENTS:
**Step 1 — Validate Phase**
Resolve phase number to a phase directory under `.planning/phases/`. If not found, error with a list of available phases.
**Step 2 — Determine File Scope**
Priority order (highest first): 1. `--files` flag: use the provided list directly 2. Phase SUMMARY.md: parse the "Files Modified" section 3. Git diff fallback: `git diff --name-only HEAD~{plan_count}..HEAD -- src/` (approximate)
If no source files found after filtering, create REVIEW.md with `status: skipped` and exit.
**Step 3 — Filter Scope**
Exclude:
**Step 4 — Spawn Reviewer**
Spawn `structured-code-reviewer` agent with:
**Step 5 — Present Results**
After reviewer completes, show an inline summary:
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Run automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.
Use when a build, type check, or test suite is failing and needs to be unblocked with a minimal change.
Use when a bug needs systematic diagnosis before a fix is attempted.
Use to diagnose environment, tooling, and Agent Powerups setup problems.
Use to turn a spec or user request into working, tested code.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.