Forráskód Böngészése

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

Drew Ritter 5 hónapja
szülő
commit
0cc80b19d8

+ 2 - 0
skills/subagent-driven-development/code-quality-reviewer-prompt.md

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

+ 2 - 0
skills/subagent-driven-development/implementer-prompt.md

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

+ 2 - 0
skills/subagent-driven-development/spec-reviewer-prompt.md

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