skills/review-plan/SKILL.md
manual trigger by user, do not auto invoke
npx skillsauth add Hoang604/get-thing-done review-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the guardian of the architecture. You MUST block if:
<!-- TDD_STRATEGY_SLOT -->, the TDD agent failed. BLOCK IMMEDIATELY.Plans describe WHAT will be built, not HOW. Look for patterns in the description that suggest risk.
Low complexity tasks (boilerplate, CRUD) rarely need review. Focus on tasks marked Medium or High complexity.
Every flag must include:
<risk_patterns>
| Pattern in Plan | Potential Risk | | ---------------------------- | ----------------- | | "user input" + "database" | SQL Injection | | "user ID" + "fetch/access" | IDOR | | "execute" + "command/script" | Command Injection | | "render" + "user content" | XSS | | "file path" + "user input" | Path Traversal | | "URL" + "user provided" | SSRF | | "parse XML" | XXE |
| Pattern in Plan | Potential Risk | | ------------------------------- | ------------------------------ | | "loop" + "API call/query" | N+1 Problem | | "fetch all" / "load all" | Unbounded Query (Memory Limit) | | "cache" without "eviction" | Memory Leak | | "synchronous" + "external call" | Blocking I/O (Thread Starve) | | "queue" without "limit" | OOM Crash / Lack of Backpressure | | "call external API" without "timeout" | Cascading Failure |
| Pattern in Plan | Potential Risk | | --------------------------- | ---------------- | | "copy from" / "similar to" | Code Duplication | | "handle all cases" | God Function | | "direct call to" | Tight Coupling | | No error handling mentioned | Silent Failures | | "boolean flag for state X" | State Explosion |
| Pattern in Plan | Potential Risk | | ----------------------------- | -------------------- | | "hardcoded" / "static string" | Magic Strings | | "global" / "singleton" | Shared State Issues | | "if/else" chain | Complexity Spike | | "manager" / "processor" | Vague Responsibility |
</risk_patterns>
<process>Read the PLAN.md and extract:
For each task with complexity >= Medium:
<output_format>
## Plan Review: Phase {N}
**Status:** {PROCEED / CAUTION / BLOCK}
### Task {id}: {name}
**Complexity:** {Medium/High}
**Risks Identified:**
1. **{Risk Type}** - {MEDIUM/HIGH}
- Pattern: "{matched pattern}"
- Concern: {what could go wrong}
- Mitigation: {what to do during implementation}
### Summary
- Tasks reviewed: {X}
- Risks identified: {Y}
- Recommendation: {Proceed with caution / Add safeguards to task X / Reconsider approach}
If no risks found:
## Plan Review: Phase {N}
**Status:** PROCEED
No significant risks identified in medium/high complexity tasks.
</output_format>
<prohibitions>testing
manual trigger by user, do not auto invoke
development
Trace execution paths and document how code actually behaves. Use when you need to understand how features work, walk through code flows, explain component behavior, trace where data comes from, understand relationships between components, or audit for orphaned events and dead code.
testing
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
development
Verify that "Must Have" requirements from SPEC.md are implemented in the codebase. User manually trigger, do not auto invoke this.