debug-state
Installation
SKILL.md
State Inspector Investigation
Investigate application state to identify corruption, inconsistencies, and unexpected mutations.
Investigation Checklist
State Snapshot Analysis
- Capture and compare actual state against expected state
- Identify fields with unexpected or invalid values
- Check for partially initialized objects or incomplete state
- Verify invariants and business rules hold at each checkpoint
- Look for default values that should have been overwritten
State Transitions
- Trace the sequence of state changes leading to the current state
- Verify each transition follows valid state machine rules
- Identify out-of-order transitions that violate preconditions
- Check for missing transitions that leave state in limbo
- Detect duplicate transitions that corrupt accumulated state