界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

dev-debug

dev-debug

【开发与工程】Systematically debug software failures before proposing fixes. Use for test failures, runtime errors, build failures, flaky behavior, performance regressions, integration failures, logs, screenshots, or any unexpected technical behavior where root cause must be established from evidence.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: dev-debug description: Systematically debug software failures before proposing fixes. Use for test failures, runtime errors, build failures, flaky behavior, performance regressions, integration failures, logs, screenshots, or any unexpected technical behavior where root cause must be established from evidence. category: development

Dev Debug

Use this skill when something technical is failing or behaving unexpectedly.

Workflow

  1. Read the exact error, log, screenshot, or failing output.
  2. Reproduce or identify why reproduction is unavailable.
  3. Trace the failing path through real code and configuration.
  4. Compare expected vs actual data at each boundary.
  5. Identify the smallest root cause that explains all observed symptoms.
  6. Fix the owner layer, not the visible symptom, when safe to do so.
  7. Add a regression test or explicit verification for the original symptom.

Evidence Ladder

Prefer evidence in this order:

  1. failing command output or runtime logs
  2. code path and config that directly own the behavior
  3. focused reproduction
  4. related tests
  5. historical memory or external docs

Guardrails

  • Do not patch before root cause unless containment is explicitly requested.
  • Do not blame UI, runtime, cache, or model behavior without tracing boundaries.
  • If multiple explanations remain, rank them and state what evidence would decide.
我的收藏