hook-complexity-monitor
Monitors code complexity on edits and warns when quality thresholds are exceeded.
๐ก๏ธ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for hook-complexity-monitor, derived from its capabilities.
AIVSS 8.2 ยท High
View MAESTRO 7-layer threat model โOverview
A Claude Code plugin that monitors cyclomatic/code complexity as files change and flags when quality thresholds are exceeded, prompting refactoring. Implemented as hooks that analyze edited source, so it inspects code the agent writes.
Key features
- Complexity threshold monitoring
- Hook-based analysis on edit
- Refactor prompts
Use cases
- Keep code complexity in check
- Flag risky functions during edits