local-vs-global-state

Installation
SKILL.md

Local vs Global State Auditor

Audit a component tree and classify every piece of state, then produce a concrete refactored structure with rationale.


Overview

When a user shares components, a file tree, or describes their app's state, follow this process:

  1. Extract all state declarations (useState, useReducer, stores, context values, server fetches)
  2. Classify each piece of state into one of three categories
  3. Identify problems (prop drilling, redundant global state, missing cache layer, etc.)
  4. Output a refactored structure with code snippets

Step 1: Extract State

Related skills

More from blunotech-dev/agents

Installs
2
GitHub Stars
2
First Seen
Apr 18, 2026