mirror of
https://github.com/obra/superpowers.git
synced 2026-04-16 02:02:41 +00: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]
|
||||
```
|
||||
|
||||
**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:**
|
||||
- Does each file have one clear responsibility with a well-defined interface?
|
||||
- Are units decomposed so they can be understood and tested independently?
|
||||
|
||||
@@ -18,6 +18,8 @@ Task tool (general-purpose):
|
||||
|
||||
## 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:
|
||||
- The requirements or acceptance criteria
|
||||
- The approach or implementation strategy
|
||||
|
||||
@@ -36,6 +36,8 @@ Task tool (general-purpose):
|
||||
|
||||
## 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:
|
||||
|
||||
**Missing requirements:**
|
||||
|
||||
Reference in New Issue
Block a user