Skip to content
Development
Skill

/diagnosing-bugs

General software bug diagnosis for broken, failing, throwing, flaky, or incorrect behavior. Read-only by default. Inside a requested fix, engineering-workflow owns the lifecycle. Use performance-forensics for latency, CPU, throughput, I/O, contention, or traces.

BOOST
From plugin
khanelinix
34750 skills10 agents6 commands
Install
$ npx -y skills add khaneliman/khanelinix --skill diagnosing-bugs --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/diagnosing-bugs

Context preview

The summary Claude sees to decide when to auto-load this skill.

General software bug diagnosis for broken, failing, throwing, flaky, or incorrect behavior. Read-only by default. Inside a requested fix, engineering-workflow owns the lifecycle. Use performance-forensics for latency, CPU, throughput, I/O, contention, or traces.

SKILL.md

diagnosing-bugs.SKILL.md
name: diagnosing-bugs
description: "General software bug diagnosis for broken, failing, throwing, flaky, or incorrect behavior. Read-only by default. Inside a requested fix, engineering-workflow owns the lifecycle. Use performance-forensics for latency, CPU, throughput, I/O, contention, or traces."
license: Complete terms in LICENSE

Diagnosing Bugs

Use this skill to establish why general software behavior fails. Diagnosis-only work is read-only by default. If the user requests a fix, use this method inside the `engineering-workflow` Ground phase and return control to that lifecycle.

Safety Boundary

  • Redact secrets from commands, output, logs, traces, and fixtures.
  • Do not create persistent files, edit source, alter the caller's working copy,

or change external state during diagnosis-only work without explicit authority.

  • Before a remote probe, confirm the user placed the target in scope and the

endpoint or interaction contract is non-mutating.

  • Run throwaway harnesses and mutation-capable history probes only in isolated

temporary directories.

  • If temporary instrumentation is authorized, tag it with one unique

`[DEBUG-<id>]` prefix and remove it before handoff.

Diagnosis Contract

Choose one evidence path. Read [diagnosis-loop.md](references/diagnosis-loop.md) for the selected path's detail:

1. **Reproduction, preferred:** run a focused command that detects the user's exact symptom. Reuse it to test the cause and verify a requested fix. Minimize the reproduction only as far as needed to isolate the relevant uncertainty. 2. **Source or contract evidence:** when the defect follows conclusively from source, a schema, documentation, or an input/output contract, establish the mismatch directly. State what this proves and what still needs runtime confirmation. Do not claim an unexecuted reproduction or fix check.

Start with the best-supported explanation and a check that could disprove it. Compare alternative hypotheses when the evidence is ambiguous or a check fails; do not invent a quota of alternatives for an established mismatch.

A caller may strengthen either path, for example by requiring runtime reproduction for a timing bug or release acceptance. Honor that requirement without imposing it on every diagnosis. When neither path provides sufficient evidence, report the gap and request only the access or artifact needed to resolve it. Do not replace missing evidence with speculation.

For diagnosis-only work, stop after the evidence report. For a requested fix, return the evidence and supported cause to `engineering-workflow`. That lifecycle owns implementation, regression verification, review, and handoff.

Read more
Ships withkhanelinix

Run packages directly with: Or install from the packages output. For example:

Get the whole plugin

Other skills on khanelinix.