brainstorming
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no…
Structured code review against requirements, quality, and security standards. Invoke after meaningful code changes or before merge. Triggers on: "review my code", "code review", "check this before merge", "security review", "is this secure", "look over my changes", "second pair
$ npx -y skills add REPOZY/superpowers-optimized --skill requesting-code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/requesting-code-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Structured code review against requirements, quality, and security standards. Invoke after meaningful code changes or before merge. Triggers on: "review my code", "code review", "check this before merge", "security review", "is this secure", "look over my changes", "second pair
name: requesting-code-review description: > Structured code review against requirements, quality, and security standards. Invoke after meaningful code changes or before merge. Triggers on: "review my code", "code review", "check this before merge", "security review", "is this secure", "look over my changes", "second pair of eyes", "check the diff". Routed by using-superpowers or executing-plans after implementation.
Request review early to catch issues before they spread.
1. Determine review range (`BASE_SHA` -> `HEAD_SHA`). Getting this wrong silently reviews the wrong thing:
2. The review scope is always `git diff --name-only BASE_SHA..HEAD_SHA`. Never take it from `context-snapshot.json`: its `changed_files` are the commits since the last session start (or the last commit), not your review range.
**What `blast_radius` means.** Each entry lists files containing a reference that *resolves* to the changed file's path — a relative import, or the repo path written out. It is deliberately incomplete: references that cannot be resolved (package-style imports, dynamic paths, aliases from `tsconfig`) are dropped rather than guessed, so an empty list means "nothing was proven," not "nothing depends on this." Never widen review scope on a name match alone; if you need dependents the snapshot does not list, grep for them and say you did.
`blast_radius_method` records how the edges were derived. If it is missing, the snapshot came from a version that matched basenames as words — ignore `blast_radius` entirely and scope from the diff. 3. If a plan is in play, write the diff to a file first: `bash ../subagent-driven-development/scripts/review-package PLAN_FILE BASE HEAD`. It refuses empty and non-descendant ranges outright, so the reviewer never receives a range that cannot mean what it claims. Pass the printed path to the reviewer. 4. Dispatch `superpowers-optimized:code-reviewer` using `requesting-code-review/code-reviewer.md`. 5. Provide:
When changes touch security-relevant areas, the code review **must** include a security pass. This is not a separate step — it's part of every review where applicable.
**Triggers automatically when changes touch:**
**Security checklist:**
**Severity enforcement:**
For changes involving complex logic, concurrency, state management, or critical data paths, dispatch `superpowers-optimized:red-team` in parallel with the code reviewer.
**Triggers when changes touch:**
The red team agent finds concrete failure scenarios (specific inputs, race conditions, state corruption, resource exhaustion) that checklist-based review misses. It does NOT duplicate the security review — its focus is adversarial logic analysis, not OWASP/CWE compliance.
**Red team critical findings block merge** alongside security critical findings.
When the red team report contains Critical or High findings, run the auto-fix pipeline. The pipeline is **ASI-guided and iterative** — fix one finding at a time, starting from the red team's designated ASI, then re-assess before proceeding. This prevents fixe
The production-grade fork of obra/superpowers — same trusted workflow, dramatically leaner, safer, and more intelligent.
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no…
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command,…
Use in long or noisy sessions to persist durable state across session boundaries via state.md. Also generates project-map.md when…
Use BEFORE brainstorming when facing a complex architectural, technology, or design decision where the options are not yet…
MUST USE when updating, migrating, or auditing project dependencies: upgrading packages, fixing security vulnerabilities (CVEs),…
Use when 2+ tasks are independent and can run concurrently without file or state conflicts or sequential dependencies. Triggers…