Subagents
This directory contains subagent definitions for use with Claude Code.
What are Subagents?
Subagents are specialized AI agents that operate autonomously to perform specific tasks. Unlike skills (which provide instructions for the main agent), subagents run independently and can be invoked automatically by Claude Code when relevant.
Learn more: https://code.claude.com/docs/en/sub-agents
Available Subagents
code-simplifier
Based on: Anthropic's code-simplifier subagent
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. This subagent operates autonomously and proactively, refining code immediately after it's written or modified.
senpai
Senior engineer and technical mentor designed for new Sentry engineering hires. Automatically invoked when users need:
- Explanations of Sentry's infrastructure and architecture
- Clarification of Sentry-specific terminology and concepts
- Guidance on development environment setup and workflows
- Understanding of architectural decisions and design patterns
Senpai breaks down complex technical concepts into easy-to-understand steps, provides relevant documentation references, and offers learning resources to help new engineers become productive quickly.
Adding New Subagents
To add a new subagent:
- Create a
.mdfile in this directory with YAML frontmatter - Include required fields:
name,description, and optionallymodel - Add attribution if the subagent is from an external source
- Update this README to document the new subagent