summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Ritter <drewritter@workerbee.local>2026-03-23 16:46:01 -0700
committerDrew Ritter <drew@primeradiant.com>2026-03-23 18:42:59 -0700
commit0cc80b19d8a7bcb5803048136660438779ef43be (patch)
treeceee5c4fd89ce26e0881509c886bc485463a3e5f
parentc141508f369e23005af4944dd73b5027b8065bb0 (diff)
fix(subagent-prompts): instruct subagents to read CLAUDE.md for project conventions (#793)drew/subagent-read-claude-md
-rw-r--r--skills/subagent-driven-development/code-quality-reviewer-prompt.md2
-rw-r--r--skills/subagent-driven-development/implementer-prompt.md2
-rw-r--r--skills/subagent-driven-development/spec-reviewer-prompt.md2
3 files changed, 6 insertions, 0 deletions
diff --git a/skills/subagent-driven-development/code-quality-reviewer-prompt.md b/skills/subagent-driven-development/code-quality-reviewer-prompt.md
index a04201a..82cc6c2 100644
--- a/skills/subagent-driven-development/code-quality-reviewer-prompt.md
+++ b/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?
diff --git a/skills/subagent-driven-development/implementer-prompt.md b/skills/subagent-driven-development/implementer-prompt.md
index 400c103..076925f 100644
--- a/skills/subagent-driven-development/implementer-prompt.md
+++ b/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
diff --git a/skills/subagent-driven-development/spec-reviewer-prompt.md b/skills/subagent-driven-development/spec-reviewer-prompt.md
index ab5ddb8..3948be2 100644
--- a/skills/subagent-driven-development/spec-reviewer-prompt.md
+++ b/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:**