Refine Superpowers Lite execution workflow

This commit is contained in:
mujing
2026-05-13 15:29:23 +08:00
parent dd2eb8b351
commit 883f225584
8 changed files with 115 additions and 117 deletions

View File

@@ -7,13 +7,13 @@ description: Manual-only skill. Activate only after an explicit user request for
Dispatch a 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.
**Core principle:** In Superpowers Lite default plan execution, review once after the full implementation is complete. Request earlier reviews only when the user asks, risk is unusually high, or you are stuck.
## When to Request Review
**Mandatory:**
- After each phase in subagent-driven development
- After completing major feature
- After completing all tasks in an implementation plan
- After completing a major feature
- Before merge to main
**Optional but valuable:**
@@ -48,16 +48,16 @@ Use Task tool with `general-purpose` type, fill template at `code-reviewer.md`
## Example
```
[Just completed Phase 2: Add verification function and CLI wiring]
[Just completed all tasks in .superpowers-lite/plans/deployment-plan.md]
You: Let me request code review before proceeding.
You: Let me request the overall code review.
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
BASE_SHA=<commit-before-plan-execution>
HEAD_SHA=$(git rev-parse HEAD)
[Dispatch code reviewer subagent]
DESCRIPTION: Added verifyIndex(), repairIndex(), and CLI wiring
PLAN_OR_REQUIREMENTS: Phase 2 from .superpowers-lite/plans/deployment-plan.md
DESCRIPTION: Completed deployment verification workflow
PLAN_OR_REQUIREMENTS: Full plan from .superpowers-lite/plans/deployment-plan.md
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
@@ -69,19 +69,19 @@ HEAD_SHA=$(git rev-parse HEAD)
Assessment: Ready to proceed
You: [Fix progress indicators]
[Continue to Task 3]
[Re-run relevant verification, re-review if substantial]
```
## Integration with Workflows
**Subagent-Driven Development:**
- Review after each phase, which may contain one or more related tasks
- Catch issues before they compound
- Fix before moving to next task
- Default to one overall review after all phases are complete
- Use phase reviews only when the user asks or a phase is unusually risky
- Fix Critical and Important findings before finishing
**Executing Plans:**
- Review after each task or at natural checkpoints
- Get feedback, apply, continue
- Review once after all tasks are implemented and verified
- Get feedback, apply fixes, re-run relevant verification
**Ad-Hoc Development:**
- Review before merge