Opencode Workflow Best Practices
Learn how to effectively use Opencode's dual-mode workflow for optimal results.
Build vs Plan Mode
Build Mode
- Direct code generation
- Fast iterations
- Best for small, well-defined tasks
Plan Mode
- AI creates a plan first
- Review before execution
- Best for complex, multi-file changes
Best Practices
- Start with Plan mode for unfamiliar codebases
- Use Build mode for quick fixes and iterations
- Leverage AGENTS.md to provide project context
- Review AI suggestions before accepting