mirror of
https://github.com/obra/superpowers.git
synced 2026-07-09 11:39:03 +08:00
Compare commits
2 Commits
tdd-writin
...
integratio
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67f513f346 | ||
|
|
9158aa3eed |
@@ -16,10 +16,11 @@ Load plan, review critically, execute all tasks, report when complete.
|
|||||||
## The Process
|
## The Process
|
||||||
|
|
||||||
### Step 1: Load and Review Plan
|
### Step 1: Load and Review Plan
|
||||||
1. Read plan file
|
1. Ensure an isolated workspace: use superpowers:using-git-worktrees to create one or verify the existing one
|
||||||
2. Review critically - identify any questions or concerns about the plan
|
2. Read plan file
|
||||||
3. If concerns: Raise them with your human partner before starting
|
3. Review critically - identify any questions or concerns about the plan
|
||||||
4. If no concerns: Create todos for the plan items and proceed
|
4. If concerns: Raise them with your human partner before starting
|
||||||
|
5. If no concerns: Create todos for the plan items and proceed
|
||||||
|
|
||||||
### Step 2: Execute Tasks
|
### Step 2: Execute Tasks
|
||||||
|
|
||||||
@@ -61,10 +62,3 @@ After all tasks complete and verified:
|
|||||||
- Reference skills when plan says to
|
- Reference skills when plan says to
|
||||||
- Stop when blocked, don't guess
|
- Stop when blocked, don't guess
|
||||||
- Never start implementation on main/master branch without explicit user consent
|
- Never start implementation on main/master branch without explicit user consent
|
||||||
|
|
||||||
## Integration
|
|
||||||
|
|
||||||
**Required workflow skills:**
|
|
||||||
- **superpowers:using-git-worktrees** - Ensures isolated workspace (creates one or verifies existing)
|
|
||||||
- **superpowers:writing-plans** - Creates the plan this skill executes
|
|
||||||
- **superpowers:finishing-a-development-branch** - Complete development after all tasks
|
|
||||||
|
|||||||
@@ -84,6 +84,9 @@ digraph process {
|
|||||||
|
|
||||||
## Pre-Flight Plan Review
|
## Pre-Flight Plan Review
|
||||||
|
|
||||||
|
Ensure the work happens in an isolated workspace: use
|
||||||
|
superpowers:using-git-worktrees to create one or verify the existing one.
|
||||||
|
|
||||||
Before dispatching Task 1, scan the plan once for conflicts:
|
Before dispatching Task 1, scan the plan once for conflicts:
|
||||||
|
|
||||||
- tasks that contradict each other or the plan's Global Constraints
|
- tasks that contradict each other or the plan's Global Constraints
|
||||||
@@ -402,17 +405,3 @@ Done!
|
|||||||
**If subagent fails task:**
|
**If subagent fails task:**
|
||||||
- Dispatch fix subagent with specific instructions
|
- Dispatch fix subagent with specific instructions
|
||||||
- Don't try to fix manually (context pollution)
|
- Don't try to fix manually (context pollution)
|
||||||
|
|
||||||
## Integration
|
|
||||||
|
|
||||||
**Required workflow skills:**
|
|
||||||
- **superpowers:using-git-worktrees** - Ensures isolated workspace (creates one or verifies existing)
|
|
||||||
- **superpowers:writing-plans** - Creates the plan this skill executes
|
|
||||||
- **superpowers:requesting-code-review** - Code review template for the final whole-branch review
|
|
||||||
- **superpowers:finishing-a-development-branch** - Complete development after all tasks
|
|
||||||
|
|
||||||
**Subagents should use:**
|
|
||||||
- **superpowers:test-driven-development** - Subagents follow TDD for each task
|
|
||||||
|
|
||||||
**Alternative workflow:**
|
|
||||||
- **superpowers:executing-plans** - Use for parallel session instead of same-session execution
|
|
||||||
|
|||||||
@@ -188,6 +188,7 @@ You MUST complete each phase before proceeding to the next.
|
|||||||
- Test passes now?
|
- Test passes now?
|
||||||
- No other tests broken?
|
- No other tests broken?
|
||||||
- Issue actually resolved?
|
- Issue actually resolved?
|
||||||
|
- Use the `superpowers:verification-before-completion` skill before claiming success
|
||||||
|
|
||||||
4. **If Fix Doesn't Work**
|
4. **If Fix Doesn't Work**
|
||||||
- STOP
|
- STOP
|
||||||
@@ -283,10 +284,6 @@ These techniques are part of systematic debugging and available in this director
|
|||||||
- **`defense-in-depth.md`** - Add validation at multiple layers after finding root cause
|
- **`defense-in-depth.md`** - Add validation at multiple layers after finding root cause
|
||||||
- **`condition-based-waiting.md`** - Replace arbitrary timeouts with condition polling
|
- **`condition-based-waiting.md`** - Replace arbitrary timeouts with condition polling
|
||||||
|
|
||||||
**Related skills:**
|
|
||||||
- **superpowers:test-driven-development** - For creating failing test case (Phase 4, Step 1)
|
|
||||||
- **superpowers:verification-before-completion** - Verify fix worked before claiming success
|
|
||||||
|
|
||||||
## Real-World Impact
|
## Real-World Impact
|
||||||
|
|
||||||
From debugging sessions:
|
From debugging sessions:
|
||||||
|
|||||||
Reference in New Issue
Block a user