mirror of
https://github.com/obra/superpowers.git
synced 2026-04-21 00:49:06 +08:00
fix(subagent-prompts): instruct subagents to read CLAUDE.md for project conventions (#793)
This commit is contained in:
@@ -17,6 +17,8 @@ Task tool (superpowers:code-reviewer):
|
|||||||
DESCRIPTION: [task summary]
|
DESCRIPTION: [task summary]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**If the project has a CLAUDE.md (or AGENTS.md), read it — use its conventions as review criteria.**
|
||||||
|
|
||||||
**In addition to standard code quality concerns, the reviewer should check:**
|
**In addition to standard code quality concerns, the reviewer should check:**
|
||||||
- Does each file have one clear responsibility with a well-defined interface?
|
- Does each file have one clear responsibility with a well-defined interface?
|
||||||
- Are units decomposed so they can be understood and tested independently?
|
- Are units decomposed so they can be understood and tested independently?
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ Task tool (general-purpose):
|
|||||||
|
|
||||||
## Before You Begin
|
## Before You Begin
|
||||||
|
|
||||||
|
Read CLAUDE.md (or AGENTS.md) in the project root if it exists — its conventions are binding on your work.
|
||||||
|
|
||||||
If you have questions about:
|
If you have questions about:
|
||||||
- The requirements or acceptance criteria
|
- The requirements or acceptance criteria
|
||||||
- The approach or implementation strategy
|
- The approach or implementation strategy
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ Task tool (general-purpose):
|
|||||||
|
|
||||||
## Your Job
|
## Your Job
|
||||||
|
|
||||||
|
If the project has a CLAUDE.md (or AGENTS.md), read it — verify the implementation follows its conventions.
|
||||||
|
|
||||||
Read the implementation code and verify:
|
Read the implementation code and verify:
|
||||||
|
|
||||||
**Missing requirements:**
|
**Missing requirements:**
|
||||||
|
|||||||
Reference in New Issue
Block a user