From hatch3r
Maps current code state: complexity, coupling, cohesion, coverage, smells, dependencies, tests, patterns. Identifies problems motivating changes with structured output.
npx claudepluginhub hatch3r/hatch3rMap the current state of the code being analyzed. Measure complexity, coupling, cohesion, test coverage, and code quality. Identify the specific problems that motivate the change. **Dimension-specific focus** (when provided): - **Structural:** Emphasize coupling, cohesion, module boundaries, dead code - **Logical:** Emphasize behavior contracts, data flows, state management, business rules - **...
Full codebase health assessment with quantified scores (0-100) per module across 6 dimensions: complexity, test coverage, documentation, dependencies, code smells, maintenance. Ranks highest tech debt, generates RESCUE-REPORT.md.
Codebase analyzer that maps architecture, dependencies, patterns, and concerns into structured markdown documents in .planning/. Supports focus areas like --tech, --arch, --quality.
Autonomous agent for codebase analysis: architecture mapping via dependency graphs, hotspot detection with risk scores, key module breakdowns. Delegate for project overviews, onboarding, deep dives.
Share bugs, ideas, or general feedback.
current-stateMap the current state of the code being analyzed. Measure complexity, coupling, cohesion, test coverage, and code quality. Identify the specific problems that motivate the change.
Dimension-specific focus (when provided):
Output structure:
## Current State Analysis
### Module Map
| Module / Component | Files | Lines of Code | Responsibility | Coupling |
|-------------------|-------|---------------|---------------|----------|
| {module} | {count} | {approx} | {what it does} | {what it depends on and what depends on it} |
### Complexity Metrics
| File / Function | Complexity Signal | Severity | Notes |
|----------------|------------------|----------|-------|
| {file:function} | {high cyclomatic complexity / deep nesting / large function / etc.} | High/Med/Low | {context} |
### Code Smells
| # | Smell | Location | Description | Impact on Maintainability |
|---|-------|----------|-------------|--------------------------|
| 1 | {smell type} | {file:line range} | {description} | {how it hurts} |
### Dependency Graph
| Component | Depends On | Depended On By | Coupling Type |
|-----------|-----------|---------------|---------------|
| {component} | {dependencies} | {dependents} | Hard/Soft/Circular |
### Test Coverage
| Area | Unit Tests | Integration Tests | Coverage Level | Safety for Refactoring |
|------|-----------|------------------|---------------|----------------------|
| {area} | {count / exists / missing} | {count / exists / missing} | High/Med/Low | Safe/Needs tests first |
### Pattern Inventory
- **{pattern}**: {where used} — {whether to keep, replace, or extend}
### Current State Summary
{2-3 paragraphs describing the state of the code, why it needs changing, and what the key structural problems are}