Skip to content
Back to skills

Debug

ASecurity

CTK debug for failing tests or behavior: reproduce, diagnose, fix, regression. Use when CTK debugging is requested, or when no standalone debugging skill is installed.

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 25, 2026
developmentdebugging

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 25, 2026

npx -y skills add tc3oliver/claude-team-kit --skill debug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debug?

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

Security grade badge for Debug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tc3oliver-debug/badge)](https://www.skillsdirectory.com/skills/tc3oliver-debug)

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: debug
description: "CTK debug for failing tests or behavior: reproduce, diagnose, fix, regression. Use when CTK debugging is requested, or when no standalone debugging skill is installed."
argument-hint: "<symptom or failing command>"
---

Symptom: $ARGUMENTS. Work the phases in order; do not skip ahead to a fix.

Use this CTK diagnosis flow when explicitly selected or delegated inside a CTK team. If a separate standalone debugging Skill is available for an ordinary non-CTK request, follow **one** full diagnosis protocol, not both. BetFirst may provide one bounded, reversible probe within the feedback loop; it never bypasses reproduction or final verification. Neither Backlog nor BetFirst is required.

## 1. Reproduce
Write the failing command or test first and run it. Record the exact error.
If it does not fail, you do not have the bug yet: get more detail from the user, do not guess.

## 2. Minimize
Shrink input, config and code path until the failure remains with the least surface.
Note what you removed that made it pass or fail.

## 3. Diagnose
- List 2-4 hypotheses, most likely first, each with the observation that would refute it.
- Run one probe per hypothesis (a log line, a print, a narrower test). One variable at a time.
- Record result per hypothesis: confirmed, refuted, unclear.
- After three refuted hypotheses, stop and ask the user. Report what you ruled out.
Probe patterns: `references/probes.md`.

## 4. Fix
Change the root cause, not the symptom. Smallest diff. Remove every probe you added.

## 5. Regression test
The reproduction from phase 1 becomes a permanent test. Run it red-before (stash the fix) and
green-after, then run the surrounding suite. Report: cause, fix, test, commands and results.

Files in this skill

  • SKILL.md1.7 KB
  • references/probes.md1.1 KB

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.

View all in development →

Comments

Loading comments…

Newsletter

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