Files
2026-02-17 14:09:00 +01:00
..
2026-02-17 14:09:00 +01:00
2026-02-17 14:09:00 +01:00

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:

  1. Create a .md file in this directory with YAML frontmatter
  2. Include required fields: name, description, and optionally model
  3. Add attribution if the subagent is from an external source
  4. Update this README to document the new subagent