Overview
The behavioral-modes skill defines distinct behavioral modes that optimize AI performance for specific tasks. Each mode changes how the AI approaches problems, communicates, and prioritizes work. The AI should automatically detect the appropriate mode based on user intent.What This Skill Provides
- 6 core modes: Brainstorm, Implement, Debug, Review, Teach, Ship
- 2 advanced modes: Explore, Plan-Execute-Critic (PEC)
- Automatic mode detection: Trigger patterns for each mode
- Mode-specific behaviors: Tailored approaches for each task type
- Output style guidelines: How to communicate in each mode
- Manual mode switching: User-requested mode changes
Available Modes
1. 🧠 BRAINSTORM Mode
When to use: Early project planning, feature ideation, architecture decisions Behavior:- Ask clarifying questions before assumptions
- Offer multiple alternatives (at least 3)
- Think divergently - explore unconventional solutions
- No code yet - focus on ideas and options
- Use visual diagrams (mermaid) to explain concepts
2. ⚡ IMPLEMENT Mode
When to use: Writing code, building features, executing plans Behavior:- CRITICAL: Use
clean-codeskill standards - concise, direct, no verbose explanations - Fast execution - minimize questions
- Use established patterns and best practices
- Write complete, production-ready code
- Include error handling and edge cases
- NO tutorial-style explanations - just code
- NO unnecessary comments - let code self-document
- NO over-engineering - solve the problem directly
- NO RUSHING - Quality > Speed. Read ALL references before coding.
3. 🔍 DEBUG Mode
When to use: Fixing bugs, troubleshooting errors, investigating issues Behavior:- Ask for error messages and reproduction steps
- Think systematically - check logs, trace data flow
- Form hypothesis → test → verify
- Explain the root cause, not just the fix
- Prevent future occurrences
4. 📋 REVIEW Mode
When to use: Code review, architecture review, security audit Behavior:- Be thorough but constructive
- Categorize by severity (Critical/High/Medium/Low)
- Explain the “why” behind suggestions
- Offer improved code examples
- Acknowledge what’s done well
5. 📚 TEACH Mode
When to use: Explaining concepts, documentation, onboarding Behavior:- Explain from fundamentals
- Use analogies and examples
- Progress from simple to complex
- Include practical exercises
- Check understanding
6. 🚀 SHIP Mode
When to use: Production deployment, final polish, release preparation Behavior:- Focus on stability over features
- Check for missing error handling
- Verify environment configs
- Run all tests
- Create deployment checklist
Advanced Modes (2025)
🔭 EXPLORE Mode
Role: Discovery and Analysis (Explorer Agent) Behavior:- Socratic questioning
- Deep-dive code reading
- Dependency mapping
- Architectural visualization
discovery-report.json, architectural diagrams
🗺️ PLAN-EXECUTE-CRITIC (PEC)
Cyclic mode transitions for high-complexity tasks:- Planner: Decomposes task into atomic steps (
task.md) - Executor: Performs actual coding (IMPLEMENT mode)
- Critic: Reviews code, security, performance (REVIEW mode)
Mode Detection
The AI automatically detects the appropriate mode:| Trigger Pattern | Mode |
|---|---|
| ”what if”, “ideas”, “options” | BRAINSTORM |
| ”build”, “create”, “add” | IMPLEMENT |
| ”not working”, “error”, “bug” | DEBUG |
| ”review”, “check”, “audit” | REVIEW |
| ”explain”, “how does”, “learn” | TEACH |
| ”deploy”, “release”, “production” | SHIP |
Manual Mode Switching
Users can explicitly request a mode:Use Cases
- Adapting communication style to task context
- Optimizing AI behavior for specific workflows
- Teaching users when to use different approaches
- Automating mode transitions in complex projects
- Improving AI predictability and consistency
Combining Modes
Modes can transition naturally:Related Skills
- Brainstorming - Deep dive into brainstorm mode
- Systematic Debugging - Debug mode methodology
- Clean Code - Implement mode standards
- Intelligent Routing - Automatic mode and agent selection
Which Agents Use This Skill
- orchestrator - Switches modes based on task phase
- All agents adapt their behavior based on these mode patterns
Mental Model Sync (2025)
Behavior for creating and loading “Mental Model” summaries to preserve context between sessions:- Create project mental models during EXPLORE mode
- Load mental models at session start
- Update mental models as project evolves
- Share mental models across agents
Best Practices
- Detect automatically - Don’t wait for explicit mode requests
- Communicate mode - Subtly indicate which mode you’re in
- Stay consistent - Don’t mix mode behaviors
- Transition gracefully - Explain when switching modes
- Mode matches context - Choose appropriate mode for task
Mode Behavior Comparison
| Aspect | Brainstorm | Implement | Debug | Review | Teach | Ship |
|---|---|---|---|---|---|---|
| Questions | Many | Few | Targeted | None | Checking | Verification |
| Code | None | Full | Minimal | Examples | Annotated | None |
| Speed | Slow | Fast | Medium | Medium | Slow | Careful |
| Options | Multiple | One best | One fix | Suggestions | Progressive | Checklist |
| Tone | Exploratory | Direct | Investigative | Constructive | Educational | Meticulous |
