Skip to content

Add CLAUDE.md reading instructions to subagent prompts#804

Closed
Jah-yee wants to merge 1 commit intoobra:mainfrom
Jah-yee:fix/subagent-claude-md-instructions
Closed

Add CLAUDE.md reading instructions to subagent prompts#804
Jah-yee wants to merge 1 commit intoobra:mainfrom
Jah-yee:fix/subagent-claude-md-instructions

Conversation

@Jah-yee
Copy link

@Jah-yee Jah-yee commented Mar 18, 2026

Summary

Subagent prompts should include explicit instructions to read the project's CLAUDE.md file to ensure they follow project-specific conventions and coding standards.

This addresses issue #793 where subagents were not respecting project conventions defined in CLAUDE.md.

Changes

Added a "Project Conventions" section at the beginning of:

  • implementer-prompt.md - Instructs implementer agents to read CLAUDE.md before starting
  • spec-reviewer-prompt.md - Instructs spec reviewer agents to read CLAUDE.md as their quality benchmark
  • requesting-code-review/code-reviewer.md - Instructs code reviewer agents to read CLAUDE.md for style preferences

Testing

The changes are template updates only. The new instructions will take effect when new subagents are dispatched using these templates.

@obra obra added enhancement New feature or request claude-code Claude Code (Anthropic CLI) issues subagents Subagent-driven development and dispatch no-obvious-human-review Submission shows no evidence of human review labels Mar 23, 2026
@arittr
Copy link
Collaborator

arittr commented Mar 23, 2026

Hey @Jah-yee - heads up, we just opened #899 which overlaps with this. Same goal (get subagents to read CLAUDE.md), but we went with a minimal one-liner approach after RED/GREEN testing across a bunch of scenarios. Closing this one in favor of #899 — thanks for flagging the issue originally!

@arittr arittr closed this Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-code Claude Code (Anthropic CLI) issues enhancement New feature or request no-obvious-human-review Submission shows no evidence of human review subagents Subagent-driven development and dispatch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants