analyze-state
Skill0 starsChanged 10 months agoMITView on GitHub
Analyze state management and mutation patterns. Use when debugging state bugs or investigating race conditions.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyze-apiSkill
- analyze-architectureSkill
- analyze-codebaseSkill
- analyze-cross-cuttingSkill
- analyze-dead-codeSkill
- analyze-dependenciesSkill
- analyze-domainSkill
- analyze-errorsSkill
- analyze-performanceSkill
- generate-featureSkill
- generate-reportSkill
- init-configSkill
- scaffold-projectSkill
The file
Files
Analyze State
Map state flows using the state-flow-analyzer agent.
What It Finds
- State locations (DB, cache, globals)
- Mutation points
- Transaction boundaries
- Race condition risks
- Cache invalidation gaps
When to Use
- "Why is data inconsistent?"
- "Find race conditions"
- "Where is X modified?"
- "Audit cache usage"
Output
### State Locations
| Type | Location | Scope | Mutators |
### Mutation Points
| State | Written By | Read By | Sync |
### Transaction Boundaries
| Operation | Has Transaction | Consistency |
### Race Condition Risks
| Location | Pattern | Impact | Fix |
### Recommendations
| Priority | Issue | Location | Fix |Agent
Use subagent_type: state-flow-analyzer
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

