Cfn investigate

From masharratt/claude-flow-novice · View interactive version

Cfn investigate is an AI agent skill from the GitHub repository masharratt/claude-flow-novice. Root-cause debugging: 5-phase protocol, 3-strike escalation, scope lock. Enforces investigation before fixes. Use when diagnosing bugs, system failures, or unexpected behavior.

How to use this skill

Skill file

CFN Investigate

Purpose: Enforce systematic root-cause debugging. No fixes without investigation.

Protocol

Phase 1: Symptom Collection

Phase 2: Root Cause Hypothesis

Phase 3: Hypothesis Testing

Phase 4: Targeted Fix

```bash

OUT=/tmp/test-${PWD##*/}-$(date +%s).txt

<test-cmd> 2>&1 | tee "$OUT"

```

No watch mode, no bail/fail-fast flag. Read "$OUT" for the complete failure set.

Phase 5: Verification

Red Flags (stop and reassess)

Scope Lock

During investigation, edits should be restricted to the affected module. Use cfn-edit-safety to create backups before any changes. Do not fix unrelated issues discovered during investigation. Log them to TODO instead.

Integration

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.