Features
Deep Analysis
Agent-powered architectural analysis for complex changes
Deep Analysis
Deep Analysis leverages the Claude Agent SDK to perform comprehensive architectural review, understanding your entire codebase context.
How It Works
Deep Analysis goes beyond the diff to understand:
- Architectural impact - How changes affect system design
- Cross-cutting concerns - Effects on logging, caching, auth
- Integration points - API contracts, database schemas
- Technical debt - Patterns that may cause future issues
- Scalability - Performance under load, resource usage
Agent Capabilities
The Deep Analysis agent can:
- Read and analyze related files beyond the PR diff
- Search the codebase for similar patterns
- Understand project conventions and enforce consistency
- Trace data flow across multiple components
- Identify missing abstractions or duplicated logic
When to Use Deep Analysis
Deep Analysis is essential for:
- Major refactors
- New architectural components
- Security-critical changes
- Performance-sensitive code
- Breaking API changes
Credit Usage
Deep Analysis typically uses 60-100 credits per review due to the extensive codebase exploration and multi-step reasoning involved.
Example Insights
[Architecture] This change introduces a circular dependency
between UserService and AuthService. Consider extracting
shared logic to a new CredentialsService.
[Scale] The new query pattern will result in O(n) database
calls. Consider batch fetching with a single JOIN query.
[Security] API key is passed through query parameter. Move
to Authorization header to prevent logging exposure.