Plan & Execute Methodology
Bwat's Plan & Execute approach represents a structured framework for AI-assisted development, emphasizing strategic planning before implementation. This dual-mode system enables developers to create higher-quality, more maintainable code while minimizing rework.
Plan Mode: Strategic Thinking
Plan mode serves as the blueprinting phase where you and Bwat collaboratively design solutions. In this mode, Bwat:
- Thoroughly analyzes your codebase to establish context
- Maintains read-only access to prevent premature changes
- Focuses on requirement analysis and solution architecture
- Identifies potential challenges before implementation begins
Execute Mode: Solution Implementation
With a validated plan, Execute mode enables Bwat to:
- Apply all available development capabilities
- Make direct modifications to your codebase
- Retain full planning context
- Systematically implement the agreed solution
Recommended Workflow
For optimal results when tackling new features or complex issues:
- Initiate in Plan mode to define objectives
- Allow Bwat to analyze relevant code sections
- Collaboratively develop solution architecture
- Validate approach considering edge cases
- Transition to Execute mode for implementation
- Bwat executes based on the established plan
1. Strategic Planning Phase
Begin all significant development work in Plan mode:
Key activities:
- Define clear requirements
- Conduct codebase analysis
- Clarify objectives through dialogue
- Develop comprehensive implementation strategy
2. Transition to Execution
After establishing a solid plan, switch to Execute mode:
Execute mode enables:
- Implementation of planned solutions
- Direct codebase modifications
- Continuous reference to planning context
3. Iterative Development
Complex projects often benefit from multiple planning-execution cycles:
- Re-enter Plan mode for unexpected complexity
- Use Execute mode for solution implementation
- Maintain development velocity while ensuring quality
Optimal Practices
Planning Best Practices
- Provide comprehensive requirements
- Share relevant context proactively
- Direct Bwat to critical files when needed
- Validate approach thoroughly before execution
Implementation Guidelines
- Adhere to established plan
- Monitor progress against objectives
- Track change impact systematically
- Document significant decisions
Advanced Techniques
Enhanced Planning Strategies
- Utilize Plan mode for edge case analysis
- Return to Plan mode for unexpected complexity
- Leverage code analysis to validate assumptions
- Have Bwat document plans in markdown for future reference
Mode Selection Guide
When to Use Plan Mode
Ideal for:
- Novel development with unclear approaches
- Complex debugging scenarios
- Architectural decision-making
- Understanding intricate workflows
When to Use Execute Mode
Optimal for:
- Implementing validated solutions
- Routine modifications with clear patterns
- Following established code conventions
- Testing and incremental adjustments
Community Engagement
Contribute to Bwat's evolution:
- Join our developer community on Discord
- Participate in technical discussions
- Submit enhancement proposals
- Report any issues encountered