fix(#671): add project CLAUDE.md discovery to subagent spawn points
Subagents now read project-level CLAUDE.md if it exists: - Workflows: execute-phase, plan-phase, quick - Agents: gsd-executor, gsd-planner, gsd-phase-researcher, gsd-plan-checker Agents read ./CLAUDE.md in their fresh context, following project-specific guidelines, security requirements, and coding conventions. Fixes: #671 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -99,6 +99,7 @@ Task(
|
||||
**Project State:**
|
||||
@.planning/STATE.md
|
||||
|
||||
**Project instructions:** Read ./CLAUDE.md if exists — follow project-specific guidelines
|
||||
**Project skills:** Check .agents/skills/ directory (if exists) — read SKILL.md files, plans should account for project skill rules
|
||||
|
||||
</planning_context>
|
||||
@@ -251,6 +252,7 @@ Execute quick task ${next_num}.
|
||||
|
||||
Plan: @${QUICK_DIR}/${next_num}-PLAN.md
|
||||
Project state: @.planning/STATE.md
|
||||
Project instructions: ./CLAUDE.md (if exists — follow project-specific guidelines)
|
||||
Project skills: .agents/skills/ (if exists — list skills, read SKILL.md for each, follow relevant rules during implementation)
|
||||
|
||||
<constraints>
|
||||
|
||||
Reference in New Issue
Block a user