/serena — Problem-solving with Serena MCP
Use Serena MCP for structured app development and debugging.
Usage
/serena <problem> [options]
/serena debug "memory leak" # 5-8 thoughts
/serena design "auth system" # 8-12 thoughts
/serena implement "add feature" # 6-10 thoughts
/serena review "optimize code" # 4-7 thoughts
Options
| Flag | Mode | Use Case |
|---|---|---|
-q |
Quick (3-5 thoughts) | Simple bugs |
-d |
Deep (10-15 thoughts) | Complex systems |
-c |
Code-focused | Refactoring |
-s |
Step-by-step | Full features |
-v |
Verbose | Show process |
-r |
Research | Tech decisions |
-t |
Todos | Create task list |
Problem Detection
| Keywords | Pattern | Thoughts |
|---|---|---|
| error, bug, broken | Debug | 5-8 |
| architecture, system | Design | 8-12 |
| build, create, add | Implement | 6-10 |
| performance, slow | Optimize | 4-7 |
| analyze, check | Review | 4-7 |
Workflow
- Auto-detect problem type
- Use Serena MCP tools for code analysis
- Research with Context7 if needed
- Provide actionable solution
- Create todos if
-sflag used
Guidelines
- Use
-qfor simple problems (saves tokens) - Use
--focus=AREAfor domain-specific analysis - Combine related problems in single session