From superpowers
Use when completing tasks, implementing major features, or before merging to verify work meets requirements (supports git and jj)
npx claudepluginhub fzymgc-house/fzymgc-house-skills --plugin superpowersThis skill uses the workspace's default tool permissions.
> **Before running any VCS commands, read `references/vcs-preamble.md` and use
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Before running any VCS commands, read
references/vcs-preamble.mdand use the appropriate commands for the detected VCS (git or jj).
Dispatch superpowers:code-reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation -- never your session's history. This keeps the reviewer focused on the work product, not your thought process, and preserves your own context for continued work.
Core principle: Review early, review often.
if jj root >/dev/null 2>&1; then
VCS=jj
else
VCS=git
fi
Mandatory:
Optional but valuable:
1. Get commit SHAs:
git:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
jj:
In jj, @ is the empty working-copy commit. @- is the meaningful
commit (your latest change), and @-- is its parent (the base for review).
BASE_SHA=$(jj log -r '@--' --no-graph -T 'commit_id.short(12)')
HEAD_SHA=$(jj log -r '@-' --no-graph -T 'commit_id.short(12)')
2. Dispatch code-reviewer subagent:
Use Task tool with superpowers:code-reviewer type, fill template at code-reviewer.md
Placeholders:
{WHAT_WAS_IMPLEMENTED} - What you just built{PLAN_OR_REQUIREMENTS} - What it should do{BASE_SHA} - Starting commit{HEAD_SHA} - Ending commit{DESCRIPTION} - Brief summary3. Act on feedback:
git:
[Just completed Task 2: Add verification function]
You: Let me request code review before proceeding.
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[Dispatch superpowers:code-reviewer subagent]
WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
jj:
[Just completed Task 2: Add verification function]
You: Let me request code review before proceeding.
BASE_SHA=$(jj log -r '@--' --no-graph -T 'commit_id.short(12)')
HEAD_SHA=$(jj log -r '@-' --no-graph -T 'commit_id.short(12)')
[Dispatch superpowers:code-reviewer subagent]
WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
PLAN_OR_REQUIREMENTS: Task 2 from docs/superpowers/plans/deployment-plan.md
BASE_SHA: a7981ec3d2f1
HEAD_SHA: 3df7661b8a04
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
Subagent-Driven Development:
Executing Plans:
Ad-Hoc Development:
Never:
If reviewer wrong:
See template at: requesting-code-review/code-reviewer.md