Features
Plan & Act

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.

Use Plan to analyze context before executing implementation

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

Execute mode capabilities

Recommended Workflow

For optimal results when tackling new features or complex issues:

  1. Initiate in Plan mode to define objectives
  2. Allow Bwat to analyze relevant code sections
  3. Collaboratively develop solution architecture
  4. Validate approach considering edge cases
  5. Transition to Execute mode for implementation
  6. Bwat executes based on the established plan

1. Strategic Planning Phase

Begin all significant development work in Plan mode:

Plan mode workflow

Key activities:

  • Define clear requirements
  • Conduct codebase analysis
  • Clarify objectives through dialogue
  • Develop comprehensive implementation strategy

Planning process

2. Transition to Execution

After establishing a solid plan, switch to Execute mode:

Transitioning 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

Implementation best practices

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

Mode selection patterns

Community Engagement

Contribute to Bwat's evolution:

  • Join our developer community on Discord
  • Participate in technical discussions
  • Submit enhancement proposals
  • Report any issues encountered