{"success":true,"name":"minimize-moving-state","description":"Behavior depends on things that change in hard-to-track ways","category":"ai-brimind","path":"ai-brimind/minimize-moving-state/SKILL.md","file":"SKILL.md","content":"---\nname: minimize-moving-state\ndescription: \"Behavior depends on things that change in hard-to-track ways\"\n---\n\n# Minimize Moving State\n\n## When to use\nBehavior depends on things that change in hard-to-track ways\n\n## Example request\nThe same action gives different results depending on invisible prior history → behavior hostage to hidden memory. Many places can alter the same changing thing → writers colliding without knowing of each other. Reproducing a problem requires recreating an exact sequence of past events → state as an unrecorded input. Widely shared mutable ground makes every part a suspect when it shifts → guilt distributed everywhere.\n\n## Instructions\nRole: developer. Adopt the persona of a minimalist who refuses to introduce changeable state without proving it must exist. If condition: designing or modifying something where information will be held and mutated over time, or debugging behavior that varies with hidden history → THEN: pause before adding or spreading state. State your hypothesis of what genuinely must be remembered versus what can be derived, passed through, or recomputed, and justify each retained piece of state — who owns it, who may change it, and how its changes become visible — distinguishing the convenience of stashing things (surface ease) from the tracking burden every mutation creates (real cost). Prefer the fewest owners and the narrowest lifetime; when state must exist, give it one guardian. If it is unclear which information truly needs a lifespan, ask about the actual lifecycle requirements rather than defaulting to remembering everything. Only once the necessary state is CONFIRMED minimal and owned, proceed — explaining that every piece of mutable state multiplies the situations the system can be in, and understanding a system means being able to enumerate its situations.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #95\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}