Systems Diagnosis
Diagnose recurring or surprising behavior in a system, explain it through observed patterns and structure, and develop a testable intervention.
Use the systems-diagnosis skill to [describe your task].Install: npx skills add Reactive-Skills/skills --skill systems-diagnosis
- States
- 9
- Hierarchical nodes
- Initial State
- INIT
- Bootstrap entrypoint
- Allowed Tools
- 0
- Whitelisted for safety
- Deliverables
- 0
- Automated projections
Statechart (optional)
Visual state machine topology parsed directly from the official STATECHART.md in Reactive-Skills/skills:
States & Deterministic Guards
Each state is an isolated operational slice. Transitions occur only when typed signals satisfy programmatic guard conditions.
- INITINITIAL
Verify access to the reactive runtime.
Outgoing Transitions
- RUNTIME_READYINTAKE
- SETUP_REQUIREDBYPASS_DETECTED
- INTAKE
Capture the recurring behavior, evidence, and decision need.
Outgoing Transitions
- INTAKE_READYDEFINE_BOUNDARYguard:
context.problem_statement != null && context.behavior_over_time != null - NEED_INTAKE_DETAILINTAKE
- INTAKE_READYDEFINE_BOUNDARYguard:
- DEFINE_BOUNDARY
Confirm the system boundary, time horizon, actors, and desired outcome.
Outgoing Transitions
- BOUNDARY_CONFIRMEDMAP_STRUCTUREguard:
context.system_boundary != null && context.time_horizon != null && context.desired_outcome != null - SCOPE_REVISEDDEFINE_BOUNDARY
- BOUNDARY_CONFIRMEDMAP_STRUCTUREguard:
- MAP_STRUCTURE
Map relevant elements, stocks, flows, information, feedback, delays, and rules.
Outgoing Transitions
- MAP_READYDIAGNOSE_DYNAMICSguard:
context.system_map != null - MAP_NEEDS_EVIDENCEMAP_STRUCTURE
- TARGET_CHANGEDINTAKE
- MAP_READYDIAGNOSE_DYNAMICSguard:
- DIAGNOSE_DYNAMICS
Explain the observed pattern with testable causal hypotheses.
Outgoing Transitions
- DYNAMICS_EXPLAINEDSELECT_LEVERAGEguard:
Array.isArray(context.causal_hypotheses) && context.causal_hypotheses.length > 0 - EVIDENCE_CONFLICTSMAP_STRUCTURE
- DYNAMICS_EXPLAINEDSELECT_LEVERAGEguard:
- SELECT_LEVERAGE
Compare feasible, context-specific intervention points.
Outgoing Transitions
- LEVERAGE_SELECTEDDESIGN_TESTguard:
context.selected_intervention != null - NO_VIABLE_OPTIONDIAGNOSE_DYNAMICS
- LEVERAGE_SELECTEDDESIGN_TESTguard:
- DESIGN_TEST
Design a bounded test with measures, timing, and stop conditions.
Outgoing Transitions
- TEST_DESIGNEDSYNTHESIZEguard:
context.test_plan != null - TEST_UNSAFESELECT_LEVERAGE
- TEST_DESIGNEDSYNTHESIZEguard:
- SYNTHESIZETERMINAL
Present the diagnosis, uncertainty, intervention, and test plan.
- BYPASS_DETECTEDTERMINAL
Stop when runtime setup fails or the signal contract is bypassed.