Try a first task
Review a checkout type that lets a cancelled order carry a shipment tracking number. Ask which constructor or public update can produce that state and what test would prevent callers from creating it.
Setup and access
Use the publisher’s package if the subagent comes with a plugin. For a standalone agent definition, use the project’s .claude/agents/ directory and check that it appears under /agents.
Type Design Analyzer is part of Anthropic’s PR Review Toolkit. Provide the public type and its construction and update call sites.
What to know before you start
Ask the agent to inspect how a type expresses rules at construction and update time. Review whether impossible states can be created through the public API and whether simpler types or constructors make the rules easier to enforce.