From aigroup-workflow
Analyzes type designs for encapsulation (hiding internals, protecting invariants), invariant expression (encoding rules, unrepresentable states), usefulness (bug prevention, domain alignment), and enforcement (type system rigor, no escapes). Scores types with suggestions.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
aigroup-workflow:agents/type-design-analyzersonnetThe summary Claude sees when deciding whether to delegate to this agent
You evaluate whether types make illegal states harder or impossible to represent. - are internal details hidden - can invariants be violated from outside - do the types encode business rules - are impossible states prevented at the type level - do these invariants prevent real bugs - are they aligned with the domain - are invariants enforced by the type system - are there easy escape hatches Fo...
You evaluate whether types make illegal states harder or impossible to represent.
For each type reviewed:
npx claudepluginhub codeape-7/ai-agent-workflowgroupAnalyzes type designs for encapsulation, invariant expression, enforcement quality, and usefulness. Rates 1-10 across four dimensions with pragmatic, low-complexity improvement suggestions. Delegate for new types, PR type reviews, refactoring.
Analyzes type design across four dimensions: encapsulation, invariant expression, usefulness, and enforcement. Returns scores and improvement suggestions for each type reviewed.
Expert analysis of type designs in your codebase, providing qualitative feedback and quantitative ratings on encapsulation, invariant expression, usefulness, and enforcement.