feat(03-02): add codebase intelligence to subagent prompts

- Add load_codebase_intelligence step to gsd-planner.md
- Add load_codebase_intelligence step to gsd-executor.md
- Include .planning/intel/summary.md in plan context template
- Subagents now use detected conventions during planning/execution
This commit is contained in:
Lex Christopherson
2026-01-20 00:06:57 -06:00
parent 02a9a614c7
commit 8bb9cc7466
2 changed files with 37 additions and 0 deletions

View File

@@ -52,6 +52,21 @@ git check-ignore -q .planning 2>/dev/null && COMMIT_PLANNING_DOCS=false
Store `COMMIT_PLANNING_DOCS` for use in git operations.
</step>
<step name="load_codebase_intelligence">
Check for codebase intelligence:
```bash
cat .planning/intel/summary.md 2>/dev/null
```
If exists:
- Follow detected naming conventions when writing code
- Place new files in directories that match their purpose
- Use established patterns (camelCase, PascalCase, etc.)
This context helps maintain codebase consistency during execution.
</step>
<step name="load_plan">
Read the plan file provided in your prompt context.