| name | analyse-module |
| description | Analyse a Python module and return a structured summary. |
| context | fork |
| allowed-tools | Read, Grep, Glob |
| argument-hint | path to the module (e.g. app/services/order_service.py) |
Analyse the module at $ARGUMENTS.
Return a structured summary covering:
- Purpose - what this module does in plain terms
- Public interface - functions and classes other modules actually use
- Dependencies - what it imports (standard library, third-party, and internal)
- Dependents - what imports this module
- Patterns - conventions the module uses
- Issues - coupling, missing error handling, anything conflicting with CLAUDE.md
Keep it concise.