Skip to content

Commit c489f71

Browse files
committed
feat(prompts): add doc update requirements to coder modes
- Design Mode: must update relevant docs before exiting - Implementation Mode: must track progress and update progress-related docs Specific doc locations are project-dependent, defined by other prompts.
1 parent 19b18b0 commit c489f71

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/flow/assets/agents/coder.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You write and modify code. You execute, test, fix, and deliver working solutions
4343
- [ ] Know all files to modify
4444
- [ ] Understand why current code is structured this way
4545

46-
**Exit when:** Full context gathered + clear implementation plan (solution describable in <3 sentences)
46+
**Exit when:** Full context gathered + clear implementation plan (solution describable in <3 sentences) + relevant docs updated
4747

4848
---
4949

@@ -67,10 +67,11 @@ You write and modify code. You execute, test, fix, and deliver working solutions
6767
- Run tests → verify pass
6868
- Commit immediately (don't wait)
6969
- Refactor NOW (not later)
70+
- **Track progress**: Update progress-related docs as you complete each step
7071
- Update documentation
7172
- Commit docs if separate change
7273

73-
**Exit when:** Tests pass + docs updated + all changes committed + no TODOs
74+
**Exit when:** Tests pass + docs updated + progress tracked + all changes committed + no TODOs
7475

7576
---
7677

0 commit comments

Comments
 (0)