-
-
Notifications
You must be signed in to change notification settings - Fork 7
Part IV AI Agent Instructions
Alp Yalay edited this page Aug 10, 2025
·
1 revision
Part IV converts your PRD and Technical Design into actionable instructions that AI coding agents can use to build your MVP. It generates a universal NOTES.md file and tool-specific configuration files for various AI coding platforms.
- PRD Document (from Part II) - Required
- Technical Design Document (from Part III) - Required
- Research Findings (from Part I) - Provides additional context
Users must specify:
- A) Vibe-coder - AI does everything, I guide and test
- B) Developer - I code with AI assistance
- C) Somewhere in between - Learning while building
- Claude Code - Terminal-based agent
- Gemini CLI - Free terminal agent
- Jules - Async Google agent
- Cursor - AI-powered IDE
- Windsurf - Beginner-friendly IDE
- Cline - Open source VS Code extension
- GitHub Copilot - In VS Code
- Bolt.new / Lovable - No-code platforms
- NOTES.md - Universal instructions readable by all AI agents
-
CLAUDE.md - Claude Code specific configuration
- Behavioral directives
- Command shortcuts
- File operation priorities
- Code generation preferences
- Working modes for complex features
- Progress tracking methods
-
.cursorrules - Cursor IDE configuration
- Code style rules
- AI behavior rules
- Component patterns
- Performance guidelines
- Security practices
- Git commit conventions
-
.windsurfrules - Windsurf IDE configuration
- Cascade AI behavior settings
- Code generation rules
- Communication style adaptation
- Supercomplete usage guidelines
- Chat command shortcuts
-
AGENTS.md - Jules async agent configuration
- Autonomous work guidelines
- Decision frameworks
- PR creation guidelines
- Audio summary formats
- Integration points
-
GEMINI.md - Gemini CLI configuration
- Project configuration YAML
- MCP server configuration
- Command patterns
- Development workflow
- Cost optimization strategies
-
.clinerules/config.md - Cline configuration structure
- Multiple configuration files:
-
instructions.md
- Primary directives -
patterns.md
- Code patterns -
workflow.md
- Development workflow -
commands.md
- Cline commands -
safety.md
- Safety rules -
learning.md
- Educational approach -
project.md
- Project-specific rules
-
- Multiple configuration files:
The universal instruction file follows a strict template:
- Project Overview - Context and learning goals
- What We're Building - App purpose and tech stack
- Setup Instructions - Prerequisites and initialization
- Implementation Phases - Step-by-step development plan
- Learning Resources - Technology-specific guides
- Common Issues & Solutions - Troubleshooting
- Code Patterns - Standard implementations
- Testing Approach - Manual and automated testing
- Architecture Understanding - Data flow and concepts
- Deployment Guide - Production preparation
- Definition of Done - MVP completion criteria
- Simple explanations with analogies
- Step-by-step instructions
- Clear examples with comments
- Troubleshooting guides
- Celebration of progress
- Technical specifications
- Best practices focus
- Architecture details
- Performance considerations
- Security implementations
- Balanced explanations
- Learning opportunities highlighted
- Progressive complexity
- Resource recommendations
- Skill development path
- Command shortcuts and aliases
- File operation priorities
- Error handling protocols
- Progress tracking methods
- Resource management
- Code style enforcement
- Component templates
- Testing patterns
- Performance guidelines
- Security practices
- Autonomous decision making
- PR creation guidelines
- Communication protocols
- Progress reporting formats
- Simplified instructions
- Platform-specific features
- Deployment automation
All generated instructions follow a phased approach:
- Project setup and environment configuration
- Basic structure creation
- Core dependencies installation
- Initial testing
- Feature-by-feature implementation
- Testing after each addition
- Error handling integration
- User feedback loops
- UI/UX improvements
- Performance optimization
- Production preparation
- Deployment execution
Generated files include:
- Component structures for frontend frameworks
- API endpoint patterns for backend services
- Database query templates with error handling
- Testing approaches for different scenarios
- Error handling patterns for user experience
- Incremental development approach
- Regular testing and validation
- Version control practices
- Documentation maintenance
- Code review guidelines
- Testing requirements
- Performance benchmarks
- Security standards
- Progress reporting methods
- Issue escalation procedures
- Documentation updates
- Stakeholder communication
- File upload and configuration: 2-3 minutes
- Instruction generation: 3-5 minutes
- Total time: 5-8 minutes
project-root/
├── NOTES.md # Universal instructions
├── [tool-specific configs] # Based on selection
└── docs/
├── research-[app].txt
├── PRD-[app]-MVP.md
└── TechDesign-[app]-MVP.md
Before starting development:
- All required files generated
- Tool-specific configurations match selected platforms
- Instructions align with PRD requirements
- Technical approach matches design document
- Budget and timeline constraints incorporated
After completing Part IV:
- Save all generated files in project directory
- Set up chosen AI coding agent/IDE
- Begin development with first prompt:
- "Read NOTES.md and begin implementing the MVP step by step"
- Follow incremental development approach
- Test after each feature implementation
cd your-project
claude "Read CLAUDE.md and NOTES.md, then start building the MVP"
"Read NOTES.md and begin implementing the MVP step by step"
gemini "Set up the project following NOTES.md specifications"
"Build this MVP following the PRD specifications"