debugging

Diagnose failures using reproduce → isolate → fix → verify workflow.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "debugging" with this command: npx skills add RedHat Dev/axodus-debugging

SKILL: debugging

Purpose

Diagnose errors with a deterministic workflow: reproduce → isolate → fix → verify.

When to Use

  • Tests are failing.
  • Runtime errors occur (stack traces, crashes, misbehavior).
  • Performance regressions or unexpected output is reported.

Inputs

  • symptom (required, string): error message, failing test, or observed behavior.
  • repro_steps (optional, string): how to reproduce.
  • logs (optional, string): relevant logs/traces.
  • environment (optional, object|string): OS, versions, env vars (no secrets).

Steps

  1. Reproduce deterministically:
    • capture exact command(s)
    • capture versions
  2. Localize failure:
    • narrow to smallest failing unit/test
    • add targeted logging/diagnostics if needed
  3. Form hypotheses and test them one by one.
  4. Implement the smallest fix that resolves the root cause.
  5. Add/adjust tests to prevent regression.
  6. Verify:
    • original repro no longer fails
    • related tests still pass

Validation

  • Root cause is stated explicitly (not only the symptom).
  • Fix is verified by test/repro.
  • No unrelated behavior changes are introduced.

Output

root_cause: "<what broke and why>"
fix: "<what changed>"
verification: ["<commands/tests>"]
follow_ups: ["<optional hardening>"]

Safety Rules

  • Do not “fix” by disabling tests or checks unless explicitly approved and justified.
  • Prefer reversible debugging changes (guarded logs, small diffs).

Example

Symptom: “TypeError: cannot read property 'x' of undefined in production.” Output: root cause (missing null check), fix, and regression test.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

一个智能的业务需求转研发文档工具。AI 自主分析项目代码库,理解业务需求,参考实际代码,生成可直接执行的研发文档。支持任意技术栈,无需配置。

Smart business-to-dev requirement translator. AI first analyzes and memorizes project structure, then understands business requirements, references actual co...

Registry SourceRecently Updated
2701Profile unavailable
Coding

Anti-hype Filter

Detect hype cycles and neutralize emotional triggers by rewriting claims into verifiable structures and explicit risk/uncertainty.

Registry SourceRecently Updated
700Profile unavailable
Web3

Strategic Orchestration

Coordinate agents toward a unified objective; assign roles, sequence work, prevent conflicts, and define success criteria.

Registry SourceRecently Updated
760Profile unavailable
Coding

Reality Check

Prevent bad strategic decisions by surfacing assumptions, testing feasibility, and exposing critical flaws before execution.

Registry SourceRecently Updated
830Profile unavailable