Create Superpowers Lite fork

This commit is contained in:
mujing
2026-05-12 16:05:03 +08:00
parent f2cbfbefeb
commit dd2eb8b351
33 changed files with 221 additions and 399 deletions

View File

@@ -1,16 +1,16 @@
# Implementer Subagent Prompt Template
Use this template when dispatching an implementer subagent.
Use this template when dispatching an implementer subagent for one execution phase. A phase may contain one task or several related tasks from the plan.
```
Task tool (general-purpose):
description: "Implement Task N: [task name]"
description: "Implement Phase N: [phase name]"
prompt: |
You are implementing Task N: [task name]
You are implementing Phase N: [phase name]
## Task Description
## Phase Description
[FULL TEXT of task from plan - paste it here, don't make subagent read file]
[FULL TEXT of every task in this phase from plan - paste it here, don't make subagent read file]
## Context
@@ -29,7 +29,7 @@ Task tool (general-purpose):
## Your Job
Once you're clear on requirements:
1. Implement exactly what the task specifies
1. Implement exactly what the phase tasks specify
2. Write tests (following TDD if task says to)
3. Verify implementation works
4. Commit your work
@@ -38,6 +38,9 @@ Task tool (general-purpose):
Work from: [directory]
Use the current branch and current working tree. Do not create a git worktree
or switch branches unless the controller explicitly instructed you to.
**While you work:** If you encounter something unexpected or unclear, **ask questions**.
It's always OK to pause and clarify. Don't guess or make assumptions.
@@ -60,10 +63,10 @@ Task tool (general-purpose):
no work. You will not be penalized for escalating.
**STOP and escalate when:**
- The task requires architectural decisions with multiple valid approaches
- The phase requires architectural decisions with multiple valid approaches
- You need to understand code beyond what was provided and can't find clarity
- You feel uncertain about whether your approach is correct
- The task involves restructuring existing code in ways the plan didn't anticipate
- The phase involves restructuring existing code in ways the plan didn't anticipate
- You've been reading file after file trying to understand the system without progress
**How to escalate:** Report back with status BLOCKED or NEEDS_CONTEXT. Describe