intent-state-machine-auditor
Installation
SKILL.md
Audit a lifecycle
Trace the actual entry points that read or update the lifecycle. Record the current state, event, guard, next state and effects for each relevant edge. Look for scattered flags, nullable fields and asynchronous callbacks that independently encode the same phase.
Separate observed behavior from intended rules. Use code locations to show how an invalid combination, missing guard, or late response can arise. Include cancellation, retry and restart only where the flow supports them.
Report a transition table and the smallest explicit state model that would close a demonstrated gap. Identify effect ownership and a behavioral check for the affected edge. Keep the audit read-only.