holistic-analysislisted
Install: claude install-skill mthines/agent-skills
# Holistic Analysis
When this skill activates, STOP all incremental patching. Do not attempt another
narrow change. Instead, execute the full analysis protocol below before writing any
code.
## Contents
- [Mode Detection](#mode-detection) — pick `fix` (default), `refactor`, or `review` (rule file)
- [Context Gathering](#context-gathering) — 11-point checklist before reasoning
- [Call-Graph Map (optional accelerator)](./rules/call-graph-map.md) — mechanically seed the execution map when a call-graph CLI is available
- [Phase 1: Full Execution Path Walkthrough](#phase-1-full-execution-path-walkthrough) — entry-to-exit map, per-block analysis, contract boundaries, summary
- [Phase 2: Step Back — Identify the Principle](#phase-2-step-back--identify-the-principle)
- [Phase 3: Scene Set — Explain the Situation to the Duck](#phase-3-scene-set--explain-the-situation-to-the-duck)
- [Phase 4: Structured Hypothesis Generation](#phase-4-structured-hypothesis-generation) — fix-mode root causes / refactor-mode approaches
- [Phase 5: Meta-Cognitive Check — Challenge Your Own Reasoning](#phase-5-meta-cognitive-check--challenge-your-own-reasoning)
- [Phase 6: Confidence Gate — Analysis Validation](#phase-6-confidence-gate--analysis-validation) — `/confidence analysis` or `/confidence plan`
- [Phase 7: Plan the Change — Words Before Code](#phase-7-plan-the-change--words-before-code)
- [Phase 8: Implement and Verify](#phase-8-implement-and-verify) — `/confidence code` gate
- [Output Format](