AgentStack
SKILL verified MIT Self-run

Fr Debugging

skill-derio-net-super-fr-fr-debugging · by derio-net

>

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-derio-net-super-fr-fr-debugging

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Fr Debugging? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

fr-debugging

superpowers:systematic-debugging, wrapped in isolation. The root-cause investigation, the failing test, and the fix all happen in the isolation workspace, so the base repo is never touched and the fix lands as a reviewed PR — the debugging analogue of fr-brainstorming / fr-goal.

Announce at start: "I'm using fr-debugging to find the root cause in isolation."

This skill owns WHERE debugging happens (isolation) and the autonomy contract. It delegates HOW — the Iron Law, the four phases, the supporting techniques — to superpowers:systematic-debugging, invoked unchanged.

0. Isolation first — hard gate

Before ANY command — reproduction, evidence-gathering, instrumentation, reads included; "just check X first" never reorders this:

  • Already inside an active fr isolation workspace? (e.g. a bug found

mid-fr-goal implementation) — reuse it. The failing test + fix land on that feature's branch and ride its existing PR; a bug found while building a feature must not spawn a competing PR. Confirm with fr isolation status.

  • Cold start (standalone bug, no active workspace):

``bash fr isolation up --branch fix/ [--profile ] ` Name the branch for the bug now (fix/); the worktree, PR, and cleanup key off it. A cold-start fix/ is cut from freshly-fetched origin/ (#322), so the fix is clean of whatever the base checkout is parked on — to debug on the current branch by intent, add --base HEAD`. No devcontainer profile → HARD STOP — offer the fr-init interview; there is no unisolated fallback. (Under fr-goal: treat as a blocker — pause, fr-init, resume.)

From here on follow fr-isolation's exec-bridge discipline: read/edit files in the worktree, run every command through fr isolation exec -- ….

1. Debug

Run superpowers:systematic-debugging as written — the Iron Law (no fixes without root cause), the four phases (root cause → pattern → hypothesis → implementation), the red flags, and the supporting techniques (root-cause-tracing, defense-in-depth, condition-based-waiting) all apply unchanged. Phase 4's failing test uses superpowers:test-driven-development.

2. Autonomy — autonomous, with two hard stops

Like fr-goal, run to a reviewed PR with no intermediate approval gates — EXCEPT the two checkpoints systematic-debugging genuinely reserves for the human. At each, stop, state what you found / tried, and ask (a wrong guess shipped in a PR costs more than a paused run):

  • "I don't understand X" (Phase 3, step 4). Investigation can't form a

confident single hypothesis — non-reproducible, or genuinely ambiguous evidence. Pause and ask; don't guess.

  • 3+ fixes failed → question the architecture (Phase 4, step 5). Not a

failed hypothesis but a wrong-architecture signal. After the 3rd failed fix, stop, present the pattern (each fix surfacing a new coupling/symptom), and ask before any 4th attempt.

Everything else — reading errors, reproduction, evidence instrumentation, pattern analysis, single-hypothesis testing, the failing-test-then-fix, the milestone review — runs autonomously.

3. Record — durable debugging log

Write the investigation to docs/superpowers/debugging/.md in the worktree, committed alongside the fix. Lighter than a spec — a bug fix does NOT enter the spec → plan pipeline — but durable and searchable:

  • Symptom & reproduction — the failing behavior and exact repro steps.
  • Evidence — error messages, the data-flow trace, the component-boundary

instrumentation that localized the failure.

  • Root cause — the single confirmed cause, stated as "X because Y".
  • Fix — the one change at the source, and the failing test that pins it.
  • Rejected hypotheses — what was tested and ruled out.

4. Deliver

Verify first (superpowers:verification-before-completion: failing test now passes, no others broken). Open ONE PR via superpowers:finishing-a-development-branch; the body summarizes and links the debugging log (root cause + fix + the failing-test-first narrative). Stop — the operator merges. Cleanup: fr isolation down for immediate teardown when this skill brought the workspace up cold — otherwise fr isolation gc reaps the merged workspace automatically (fired on any up/down), so a missed down no longer leaks it.

Scope notes

  • Owns WHERE debugging happens and the autonomy contract — NOT the method.

systematic-debugging's craft (Iron Law, four phases, red flags, supporting techniques) is delegated unchanged; restating it would duplicate a skill that evolves independently.

  • When reusing a feature's workspace, the fix joins that branch/PR — do not

open a second PR.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.