How Skills Work
Skills are loaded dynamically when OpenCode detects that a task matches a specific pattern. You can also invoke skills explicitly when you know which workflow you need.Skills contain detailed instructions, checklists, and process flows that guide OpenCode through proven workflows. They ensure consistency and quality across all development tasks.
Automatic Activation
OpenCode automatically loads relevant skills based on the task context:- Brainstorming loads when you describe a feature or component to build
- Test-Driven Development loads when implementing features or fixing bugs
- Systematic Debugging loads when encountering errors or unexpected behavior
- Writing Plans loads when you have specifications that need implementation plans
Manual Invocation
You can explicitly request a skill by name:Available Skills
Using Superpowers
The foundation: invoke relevant skills BEFORE any response or action.
Brainstorming
Turn ideas into fully-formed designs through collaborative dialogue before writing any code.
Test-Driven Development
Write failing tests first, then implement minimal code to pass. No exceptions.
Systematic Debugging
Find root causes before attempting fixes. Stop guessing, start investigating.
Writing Plans
Create comprehensive, bite-sized implementation plans with exact file paths and commands.
Executing Plans
Execute written plans in batches with review checkpoints for architect feedback.
Subagent-Driven Development
Dispatch fresh subagents per task with two-stage review for fast, high-quality iteration.
Using Git Worktrees
Create isolated development workspaces for parallel feature development.
Requesting Code Review
Dispatch code-reviewer subagent to analyze changes against requirements.
Receiving Code Review
Handle review feedback with technical rigor and know when to push back.
Finishing a Development Branch
Complete work systematically: verify, decide (merge/PR/keep/discard), cleanup.
Verification Before Completion
Never claim completion without verification. Evidence over claims.
Dispatching Parallel Agents
Launch multiple agents to work on independent problems concurrently.
Writing Skills
Create and test new skills using TDD methodology applied to documentation.
Core Principles
All skills in the library follow these fundamental principles:1. Process Over Instinct
Skills provide systematic workflows that prevent common pitfalls. Following the process consistently produces better results than ad-hoc approaches.2. Verification at Every Step
Each skill emphasizes verification:- Tests must fail before implementation
- Changes must be tested before marking complete
- Root causes must be found before proposing fixes
3. Incremental Progress
Skills break complex tasks into small, manageable steps:- One test at a time
- One fix at a time
- Frequent commits
- Regular checkpoints
4. Documentation as Code
Designs, plans, and decisions are documented in markdown files alongside code:docs/plans/YYYY-MM-DD-<feature>-design.mdfor designsdocs/plans/YYYY-MM-DD-<feature>.mdfor implementation plans- Version controlled with git
Skill Categories
Design & Planning
Skills that help turn ideas into actionable plans:- Brainstorming: Explore requirements and create designs
- Writing Plans: Transform designs into detailed implementation tasks
Development
Skills for writing and testing code:- Test-Driven Development: Red-green-refactor cycle
- Executing Plans: Batch execution with checkpoints
- Subagent-Driven Development: Parallel task execution with reviews
Problem Solving
Skills for investigating and fixing issues:- Systematic Debugging: Root cause analysis before fixes
Workflow Integration
Skills are designed to work together in natural workflows:Anti-Patterns
Skills also document common anti-patterns to avoid:- “Too simple for a design” - Every project needs design, even simple ones
- “Tests after implementation” - Tests written after prove nothing
- “Quick fix now, investigate later” - Root cause analysis always comes first
- “Skip verification, I’ll test manually” - Automated tests are systematic and repeatable
Next Steps
Start with Brainstorming
When building anything new, start with the Brainstorming skill to explore requirements and create a design.
Learn TDD
Understand the Test-Driven Development workflow - it’s used throughout all implementation.
Master Debugging
Study Systematic Debugging before you need it - it’ll save hours when issues arise.