| name | code-specialist |
| description | Delegate complex coding tasks to a specialist model. Use when facing algorithmic challenges, performance optimization, or tricky debugging that benefits from focused code expertise. |
Code Specialist
When facing a complex coding task, delegate to the specialist rather than solving it yourself.
When to delegate
- Algorithm implementation requiring specific knowledge (graph algorithms, dynamic programming)
- Performance optimization (O(n²) → O(n log n) conversions)
- Debugging complex race conditions or memory issues
- Code generation requiring precise syntax (regex, SQL, shell)
How to use
Describe the problem clearly to the specialist. Include:
- What the code should do (input → output)
- Constraints (time/space complexity, language)
- Edge cases to handle
The specialist returns code that you should integrate into your solution.