Skip to content
Back to skills

Diagnose

ASecurity

Disciplined diagnosis loop for a hard bug or performance regression — reproduce → minimize → hypothesize → instrument → fix the cause → regression-test. Use when something is broken / throwing / failing or regressed, or when the user says "diagnose this", "debug this", "버그 진단", "왜 안 되지", "디버깅".

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentsbashperformance

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add jhlee0409/omni-harness-kit --skill diagnose --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Diagnose?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Diagnose
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jhlee0409-diagnose/badge)](https://www.skillsdirectory.com/skills/jhlee0409-diagnose)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: diagnose
description: >-
  Disciplined diagnosis loop for a hard bug or performance regression —
  reproduce → minimize → hypothesize → instrument → fix the cause → regression-test.
  Use when something is broken / throwing / failing or regressed, or when the user
  says "diagnose this", "debug this", "버그 진단", "왜 안 되지", "디버깅".
argument-hint: "[the symptom]"
allowed-tools: Read, Grep, Glob, Bash, Edit, Write
---

# diagnose

Don't guess-and-patch. Find the real cause, then fix it.

## Loop
1. **Reproduce** — get a reliable, minimal repro. A bug you can't reproduce, you
   can't confirm you fixed. Capture the exact failing command + output.
2. **Minimize** — strip the repro to the smallest input / path that still fails.
   The minimal case usually names the cause.
3. **Hypothesize** — state ONE falsifiable hypothesis ("X is null because Y returns
   early when Z"), not a vibe — a claim a check can disprove.
4. **Instrument** — add the cheapest probe (a log, an assert, a breakpoint) that
   confirms or kills the hypothesis. Let evidence decide, not intuition. Killed →
   back to step 3.
5. **Fix the cause**, not the symptom. A narrow patch that hides the symptom while
   the cause remains is a stopgap — label it as one if you must ship it.
6. **Regression-test** — write a test that fails before the fix and passes after,
   so the bug can't silently return.

## Discipline
- Verify against the REAL system (a real query / real run), never inferred from
  code alone.
- One hypothesis at a time; record what you ruled out.
- "Looks fixed" is not fixed — the regression test (red → green) is the proof.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.