"Slow down the process to speed up the understanding"
Intent defines the scope and approach β let purpose drive process
Intent-Driven Atomic Development is a minimalist workflow designed to bridge the gap between "Vibe Coding" (Chaos) and "Spec-Driven Development" (Bureaucracy).
We believe that AI coding fails in two extremes:
π The Vibe Trap: You let the AI drive. It moves fast, generates massive code changes beyond human comprehension, and paints you into a corner. You feel frustrated and alienated from your own codebase.
π The Spec Trap: You write exhaustive documentation before coding. AI generates large implementations that work, but the sheer volume alienates you from the codebase. You feel like a contributor, not an owner.
β¨ Intent-Driven Atomic Development is the Golden Ratio. It forces a "π€ Handshake" before every coding task and keeps changes within human comprehension limits. You don't write the code, but you authorize the architecture and verify the implementation.
This creates the psychological sweet spot where you maintain ownership while leveraging AI capabilities. The secret is deliberate pacing β "slow down the process to speed up the understanding."
We deliberately work only with atomic-sized intents to maintain small scope. This actually slows down the process β you can't tackle massive features in one go. But this constraint gives you better understanding and genuine ownership. When your brain can fully comprehend each small mission, you maintain control instead of becoming a passenger to AI speed.
The Mission Toolkit implements this philosophy through a systematic approach that converts user intents into structured, executable missions with built-in complexity management and continuous improvement.
1. π Intent Analysis (Human) - You define what you want, the Mission Toolkit categorizes complexity using a 4-track system
2. π οΈ Mission Planning (AI + Human) - AI proposes scope and plan, you authorize the architecture
3. π Execution & Learning (AI + Human) - AI implements, you verify, system learns patterns
- π WETβDRY Evolution: Write Everything Twice (WET) first, then Don't Repeat Yourself (DRY) β allows duplication initially, then extracts abstractions when patterns emerge
- π― Mission-Based Execution: Breaks work into atomic, verifiable missions
- π Continuous Improvement: Tracks metrics and patterns for process optimization
Note: Amazon Q CLI and Kiro CLI differences:
- Use '@' commands instead of '/' (e.g., @m.plan, @m.clarify, @m.apply, @m.complete)
- Inline arguments are ignored - the AI will prompt for input
Converts your intent into a structured mission. You define what, AI proposes how, you authorize.
# Example usage
/m.plan "Add user authentication to the API"Features:
- π― 4-track complexity analysis (Atomic, Standard, Robust, Epic)
- π Automatic scope estimation and file identification
- π Security validation and input sanitization
- π Backlog management for complex intents
Refines vague or complex intents before planning. Helps break down ambiguous requirements into actionable missions.
# Example usage
/m.clarifyFeatures:
- π― Intent disambiguation and scope refinement
- π Requirement extraction from vague descriptions
- π Interactive clarification process
- π Structured output ready for m.apply
Implements your authorized plan. AI handles execution while you maintain oversight.
# Example usage
/m.applyFeatures:
- π― Focused scope enforcement (only modify listed files)
- π WET vs DRY mission differentiation
- β Mandatory verification execution
- π Pattern detection for future refactoring
Captures what was accomplished and learned. Builds organizational memory for future missions.
# Example usage
/m.completeFeatures:
- π Mission archival with timestamps
- π Metrics collection and analysis
- π Backlog updates and pattern tracking
- π Historical data preservation
.mission/
βββ governance.md # Core principles and workflow rules
βββ backlog.md # Future work and refactoring opportunities
βββ metrics.md # Aggregate performance statistics
βββ mission.md # Current active mission (auto-generated)
βββ execution.log # Current mission execution log
βββ completed/ # Archived missions and detailed metrics
β βββ MISSION-ID-mission.md
β βββ MISSION-ID-metrics.md
β βββ MISSION-ID-execution.log
βββ paused/ # Temporarily paused missions
β βββ TIMESTAMP-mission.md
βββ libraries/ # Template system (embedded)
βββ analysis/ # Analysis guidance templates
βββ displays/ # User output templates
βββ logs/ # Execution logging templates
βββ metrics/ # Metrics templates
βββ missions/ # Mission file templates
βββ scripts/ # Operation templates
βββ variables/ # Variable calculation rules
# AI-specific prompt directories:
.amazonq/prompts/ # Amazon Q prompts
.claude/commands/ # Claude commands
.kiro/prompts/ # Kiro prompts
.opencode/command/ # OpenCode commands
βββ m.clarify.md # Clarification prompt for vague intents
βββ m.plan.md # Planning prompt and complexity matrix
βββ m.apply.md # Execution prompt and safety checks
βββ m.complete.md # Completion prompt and observability
| Track | Scope | Files | Keywords | Action |
|---|---|---|---|---|
| TRACK 1 (Atomic) | Single line/function | 0 new files | "Fix typo", "Rename var" | Skip Mission, direct edit |
| TRACK 2 (Standard) | Single feature | 1-5 files | "Add endpoint", "Create component" | Standard WET mission |
| TRACK 3 (Robust) | Cross-cutting concerns | Security/Auth/Performance | "Add authentication", "Refactor for security" | Robust WET mission |
| TRACK 4 (Epic) | Multiple systems | 10+ files | "Build payment system", "Rewrite architecture" | Decompose to backlog |
Note: Test files don't count toward complexity
- Purpose: Understand the problem domain through implementation
- Approach: Allow duplication to explore solutions
- Outcome: Working features with identified patterns
- Trigger: User explicitly requests refactoring after patterns emerge
- Approach: Extract abstractions based on observed duplication
- Outcome: Clean, maintainable code with appropriate abstractions
User Intent β [m.clarify] β m.plan β .mission/mission.md β m.apply β Verification β m.complete β Archive
β β
.mission/backlog.md ββββββββββββββββββββββββββββββββββββββββββββββββββ .mission/metrics.md
- Only modify files explicitly listed in mission SCOPE
- Prevents scope creep and unintended changes
- Enables precise impact assessment
- All changes broken into verifiable steps
- Each mission has clear success criteria
- Mandatory verification before completion
- Automatic complexity detection and routing
- Epic decomposition into manageable sub-missions
- Progressive disclosure of complexity
- Embedded template system ensures consistent outputs
- Standardized variable system across all operations
- LLM-agnostic design works with any AI assistant
- Detailed metrics collection and analysis
- Pattern detection for process optimization
- Historical data preservation for trend analysis
- Execution logging for debugging and learning
Download the latest release for your platform from GitHub Releases:
# macOS (Intel)
curl -L https://github.com/dnatag/mission-toolkit/releases/download/v1.1.4/mission-toolkit_Darwin_x86_64.zip -o m.zip
unzip m.zip && chmod +x m && sudo mv m /usr/local/bin/
# macOS (Apple Silicon)
curl -L https://github.com/dnatag/mission-toolkit/releases/download/v1.1.4/mission-toolkit_Darwin_arm64.zip -o m.zip
unzip m.zip && chmod +x m && sudo mv m /usr/local/bin/
# Linux (amd64)
curl -L https://github.com/dnatag/mission-toolkit/releases/download/v1.1.4/mission-toolkit_Linux_x86_64.zip -o m.zip
unzip m.zip && chmod +x m && sudo mv m /usr/local/bin/
# Linux (arm64)
curl -L https://github.com/dnatag/mission-toolkit/releases/download/v1.1.4/mission-toolkit_Linux_arm64.zip -o m.zip
unzip m.zip && chmod +x m && sudo mv m /usr/local/bin/
# Windows (PowerShell)
Invoke-WebRequest -Uri https://github.com/dnatag/mission-toolkit/releases/download/v1.1.4/mission-toolkit_Windows_x86_64.zip -OutFile m.zip
Expand-Archive m.zip -DestinationPath .
# Add to PATH manuallybrew tap dnatag/mission-toolkit
brew install mission-toolkit# Prerequisites: Go 1.21+
git clone https://github.com/dnatag/mission-toolkit.git
cd mission-toolkit
go build -o m main.go
sudo mv m /usr/local/bin/m version-
π Initialize Project
# Initialize Mission Toolkit project with AI-specific templates m init --ai q # Supported AI types: q, claude, kiro, opencode # Creates .mission/ directory with governance files and prompt templates
-
π Check Project Status
# Display interactive TUI showing current and completed missions m status # Use β/β to navigate missions, Enter to view details, / to search # Shows mission progress and provides clear next steps
-
π Plan Your First Mission
/m.plan "Your development intent here" -
βοΈ Execute the Mission
/m.apply
-
π Complete and Track
/m.complete
- Analysis Templates: Clarification and complexity assessment guidance
- Display Templates: Consistent user output for all command outcomes
- Mission Templates: WET, DRY, and clarification mission structures
- Script Templates: Standardized operations for status updates and archival
- Metrics Templates: Individual mission and aggregate project metrics
- Logging Templates: Execution step tracking and debugging
- Consistent naming across all templates ({{TRACK}}, {{MISSION_TYPE}}, etc.)
- Type-safe variable handling (numeric vs string)
- Default values for missing variables
- Cross-template variable dependencies
- Automatic slash prefix adaptation (@m.plan vs /m.plan)
- AI-specific directory structure (Amazon Q, Claude, Kiro, OpenCode)
- Template deployment to appropriate AI prompt directories
- Unified versioning for CLI and templates
- Step-by-step mission execution tracking
- Timestamped log entries with success/failure status
- Archived logs with completed missions
- Debugging support for failed missions
- Mission duration and complexity correlation
- Track distribution and success rates
- WETβDRY evolution effectiveness
- Verification success/failure patterns
- Template system usage analytics
- Automatic duplication identification
- Abstraction opportunity recognition
- Common failure pattern analysis
- Process bottleneck identification
- Timestamped mission archives with full context
- Performance trend analysis
- Process evolution tracking
- Evidence-based improvements
- π§ Reduced Cognitive Load: Atomic missions eliminate decision paralysis β your brain stays in sync with AI speed
- π Maintained Ownership: You authorize architecture and verify implementation β never feel like just a contributor
- β Quality Assurance: Mandatory verification and scope constraints prevent the "Vibe Trap" chaos
- π οΈ Technical Debt Management: Systematic WETβDRY evolution avoids premature abstraction
- π Scalability: Handles projects from toy features to enterprise systems through complexity decomposition
- π§ Template Consistency: Embedded template system ensures reliable, predictable outputs across all AI assistants
- π Full Observability: Execution logging and metrics provide complete visibility into mission progress and outcomes
- π AI-Agnostic: Works seamlessly with Amazon Q, Claude, Kiro, OpenCode, and other AI assistants
# Check current version
m version
# Update version (for maintainers)
./scripts/sync-version.sh v1.0.0-
Tag the release:
git tag -a v1.0.0 -m "Release v1.0.0" git push origin v1.0.0 -
Automated build: GitHub Actions will automatically:
- Run tests and validation
- Build cross-platform binaries (Linux, macOS, Windows)
- Create zip archives for each platform
- Generate checksums and changelog
- Publish release with artifacts
-
Download binaries: Users can download platform-specific zips from the GitHub releases page.
- Linux (amd64, arm64)
- macOS (amd64, arm64)
- Windows (amd64, arm64)
This project is licensed under the terms specified in the LICENSE file.