Tips for Success¶
Best practices for humans and AI assistants using Document-Driven Development
For Humans¶
Planning Phase (Phase 0)¶
- Be patient - Get shared understanding right before any work
- Challenge assumptions - AI doesn't know your context
- Provide clear direction - Be explicit about success criteria
- Approve explicitly - Don't assume alignment
Documentation Phase (Phase 1-2)¶
- Review docs thoroughly - Cheapest checkpoint for catching issues
- Iterate until right - Don't approve until actually right
- Insist on DRY - Delete duplicates aggressively
- Don't commit before approval - Prevents git thrashing
Implementation Phase (Phase 3-4)¶
- Trust the process - Resist urge to code before docs approved
- Provide clear decisions - When AI pauses for conflicts
- Question over-complexity - Challenge deviations from simplicity
Testing Phase (Phase 5)¶
- Review user testing reports - AI's findings are valuable
- Run recommended smoke tests - Quick verification as actual user
- Test on your environment - AI tested on one environment
- Trust but verify - AI is good QA, not perfect
For AI Assistants¶
General Principles¶
- Use TodoWrite religiously - Track all multi-step work
- Be honest about limitations - Say "I don't know" rather than guess
- Show your work - Explain reasoning, not just results
- Ask early - Better to clarify than implement wrong
File Processing¶
- Use file crawling for 10+ files - Don't try to hold all in context
- Process one file at a time - No shortcuts, no batching
- Read complete files - No skimming before changes
- Mark complete honestly - Only after full individual review
- Show progress periodically - Keep human informed
Documentation¶
- Follow retcon writing strictly - Write as if already exists
- PAUSE on conflicts - Never guess, always ask
- Delete duplicates - Suggest deletion, not update
- Global replacements are helpers - Never substitutes for review
Implementation¶
- Load full context first - Read all related files before coding
- PAUSE when docs conflict - Don't proceed with inconsistency
- Code matches docs exactly - No deviation without doc update
- Commit incrementally - Don't wait for everything complete
Testing¶
- Test as actual user - Not just unit tests
- Document thoroughly - Create detailed user testing reports
- Be honest about issues - Don't hide problems found
- Guide human testing - Recommend specific scenarios
Universal Tips¶
For Both Humans and AI¶
Communication:
- Be explicit and clear
- Ask when uncertain
- Confirm understanding
- Document decisions
Quality:
- Follow philosophy principles
- Verify against checklists
- Test thoroughly
- Iterate until right
Efficiency:
- Use systematic approaches (file crawling)
- Catch issues early (approval gates)
- Don't skip steps
- Trust the process
Red Flags to Watch For¶
For Humans:
- ❌ AI says "done" but you suspect files missed
- ❌ AI doesn't pause when you see conflicts
- ❌ AI marks files complete after global replace only
- ❌ AI proceeding without shared understanding
For AI:
- ❌ Human seems confused by your explanation
- ❌ You found conflicts but continued anyway
- ❌ You marked files done without reading them
- ❌ You're guessing at resolutions
If any red flags: STOP and address before continuing.
Success Patterns¶
Healthy Collaboration¶
✅ Clear back-and-forth in planning ✅ AI pauses appropriately for conflicts ✅ Human provides clear decisions ✅ Both aligned on approach ✅ Systematic progress visible ✅ Issues caught early ✅ Quality maintained throughout
Efficient Process¶
✅ File crawling used for large sets ✅ One file at a time processing ✅ Progress visible and trackable ✅ Conflicts resolved before continuing ✅ Documentation approved before implementation ✅ Testing thorough (code + user)
Return to: Reference | Main Index
See Also: Common Pitfalls | FAQ | Checklists