fix(subagent-prompts): instruct subagents to read CLAUDE.md for project conventions (#793)

This commit is contained in:
Drew Ritter
2026-03-23 16:46:01 -07:00
committed by Drew Ritter
parent c141508f36
commit 0cc80b19d8
3 changed files with 6 additions and 0 deletions

View File

@@ -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?

View File

@@ -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

View File

@@ -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:**