MiCode
399 GitHub stars — Structured Brainstorm → Plan → Implement workflow with full session continuity.
Overview
MiCode enforces a structured development pipeline: brainstorm ideas, create a detailed implementation plan, then execute with session continuity. This prevents agents from jumping straight to code without understanding requirements and ensures every implementation step is grounded in an approved plan.
When to Use
| Scenario | Benefit |
|---|---|
| Complex features | Ensure requirements are fully understood before coding |
| Team collaboration | Plans can be reviewed and approved before implementation |
| Learning and onboarding | Structured workflow guides less experienced developers |
| Quality control | Each implementation step is verified against the plan |
How It Works
Phase 1: Brainstorm
The agent explores the problem space, asks clarifying questions, and documents requirements:
- Problem analysis — What are we solving and why?
- Constraint identification — What are the boundaries and requirements?
- Solution exploration — What approaches are available?
- Risk assessment — What could go wrong?
Phase 2: Plan
The agent creates a detailed implementation plan:
- Architecture overview — Components, data flow, and interfaces.
- Step-by-step breakdown — Concrete implementation steps.
- Dependency mapping — What needs to exist before what.
- Testing strategy — How each step will be verified.
- Timeline estimate — Expected effort per step.
Phase 3: Implement
The agent executes the plan with verification:
- Step execution — Implement one step at a time.
- Verification — Each step is tested before proceeding.
- Progress tracking — Completion status is maintained across the session.
- Continuity — If interrupted, the agent can resume from the last completed step.
Installation
- npm
- Local
{
"plugin": ["micode"]
}
git clone https://github.com/vtemian/micode.git ~/.config/opencode/plugins/micode
Configuration
Basic Setup
{
"plugin": ["micode"],
"micode": {
"require_plan_approval": true,
"verify_each_step": true
}
}
Automated Mode
{
"micode": {
"require_plan_approval": false,
"verify_each_step": true,
"auto_proceed": true
}
}
Usage
Start a Brainstorm
/micode brainstorm implement user notification preferences
The agent begins Phase 1: asking questions and exploring the problem space.
Review a Plan
After brainstorming, the agent presents a plan:
/micode review-plan
The agent shows the detailed implementation plan. In require_plan_approval mode, you must approve before implementation begins.
Execute the Plan
/micode implement
The agent begins Phase 3, working through each step sequentially and verifying before moving to the next.
Continue After Interruption
/micode continue
The agent picks up from the last completed step, restoring full context.
Best Practices
Be Thorough in Brainstorming
- The quality of the plan depends on the quality of the brainstorm.
- Take time to answer the agent's clarifying questions fully.
Review Plans Carefully
- The plan is your opportunity to correct course before code is written.
- Check for missing edge cases, incorrect assumptions, and architectural misalignments.
Use Verification
- Keep
verify_each_stepenabled for production work. - Automated verification catches issues early and reduces rework.
GitHub
- Repo: vtemian/micode
- Topics:
brainstorm,planning,workflow,rpi - Category: Agent Workflow / Orchestration