Token导航 LogoToken导航

Agent Skill · 研究检索

debugging(调试)

debugging 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

debugging 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 45,444。

总安装 848周安装 35GitHub Stars 16下载 277核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:debugging(调试)
来源仓库:https://github.com/krzysztofsurdy/code-virtuoso
仓库路径:skills/debugging
安装命令:
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill debugging
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill debugging

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

debugging 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于调试相关的研究检索任务。通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。安装前需确认权限范围和维护状态,注意是否涉及联网或文件操作。

debugging 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/debugging

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill debugging;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

debugging 怎么安装?

在终端执行 npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill debugging。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

debugging 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

debugging 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

debugging 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

debugging 用的人多吗?

公开数据是累计安装 848 次,近一周安装 35 次,下载 277 次,GitHub 16 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

debugging 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
debugging

调试 · 本页

84816需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Debugging

Systematic methodology for finding and fixing bugs. Prioritizes root cause analysis over symptom treatment, evidence over intuition, and prevention over recurrence.

Iron Law

No fix without root cause. Never apply a fix until you can explain WHY the bug exists, not just WHERE it manifests. Symptom-level fixes create new bugs.

When to Use

  • Bug report from QA or production alert
  • Test failure with unclear cause
  • Intermittent/flaky behavior
  • Performance degradation
  • Unexpected behavior that "used to work"
  • Integration failures between components

Workflow

Phase 1: Reproduce

Establish a reliable reproduction before investigating.

  1. Collect all evidence — error messages, stack traces, logs, screenshots, user steps
  2. Identify the exact conditions: environment, data state, user actions, timing
  3. Create a minimal reproduction — strip away everything that isn't needed to trigger the bug
  4. Confirm reproduction is consistent (if intermittent, note frequency and conditions)
  5. Write down the reproduction steps precisely — someone else should be able to follow them

Output: Documented reproduction steps, minimal test case

If you cannot reproduce: Document what you tried, check environment differences, add instrumentation and wait for next occurrence. Do not proceed to Phase 2 on guesswork — unreproducible bugs get logged, not "fixed."

Phase 2: Investigate

Gather evidence systematically. Do NOT form hypotheses yet — this phase is about observation, not explanation.

  1. Read the full error message and stack trace — every line, not just the first one
  2. Check git history — what changed recently? (git log --since="2 weeks ago", git bisect)
  3. Trace the data flow — follow the input from entry point to failure point
  4. Check boundaries — where does data cross component/service/layer boundaries?
  5. Collect environmental context — versions, configuration, dependencies, resource state
  6. Map the blast radius — what else is affected? Is this an isolated failure or systemic?

Production vs development debugging:

  • Production: Prioritize impact assessment and mitigation first. Can you reduce blast radius before investigating? Read-only access only — never debug by modifying production state.
  • Development: You have full control. Use breakpoints, modify state, add temporary logging freely.

Output: Evidence log (what you found, where, timestamps), affected component map

Phase 3: Hypothesize

Form competing hypotheses ranked by evidence strength.

  1. List ALL plausible causes — do not anchor on the first idea
  2. Classify each hypothesis by bug category (see bug categories reference)
  3. Rate each: evidence strength (strong/medium/weak), testability (easy/hard), likelihood
  4. Pick the most likely AND most testable hypothesis first
  5. Define what would CONFIRM and what would FALSIFY each hypothesis

Example hypothesis table:

#HypothesisCategoryEvidenceTestabilityTest Plan
1Cache returns stale data after updateStateLog shows old value 2s after writeEasyBypass cache and compare
2Race condition between two workersRace conditionIntermittent, high load correlationMediumAdd locking, stress test
3Upstream API returns unexpected formatIntegrationNo evidence yetEasyLog raw response

Output: Ranked hypothesis list with evidence and test plan

Phase 4: Test

Validate one hypothesis at a time. Single-variable changes only.

  1. Change ONE thing and observe the result
  2. If confirmed — proceed to Phase 5
  3. If falsified — update evidence log, return to next hypothesis
  4. If inconclusive — add more instrumentation, gather more evidence
  5. After 3 failed hypotheses — STOP. Re-examine your assumptions. The bug model may be wrong.

Red flags (return to Phase 2 immediately):

  • "Quick fix for now, investigate later"
  • Changing multiple things at once
  • Fixing without understanding
  • Copy-pasting a fix from the internet without understanding why it works

Output: Confirmed root cause with evidence chain

Phase 5: Fix

Implement the fix at the source, not at the symptom.

  1. Write a failing test that reproduces the bug FIRST
  2. Implement the fix — single, focused change addressing the root cause
  3. Verify the failing test now passes
  4. Run the full test suite — ensure no regressions
  5. Review your own fix: is this the simplest correct solution?

Fix principles:

  • Fix at the SOURCE where bad data/state originates, not where the error appears
  • Add defense-in-depth: validate at boundaries even after fixing the source
  • Prefer making invalid states unrepresentable over runtime validation
  • One bug = one fix = one commit = one test

Output: Fix with regression test, clean test suite

Phase 6: Prevent

Ensure this class of bug cannot recur.

  1. Add defensive validation at the boundary where bad data entered
  2. Improve error messages — would future-you understand this error immediately?
  3. Update monitoring/alerting if this was a production issue
  4. Write a post-mortem if the bug was significant (see post-mortem template)
  5. Share findings with the team — this is how institutional knowledge grows

Output: Prevention measures, post-mortem (if significant)


Bug Category Strategies

Different bug types need different investigation approaches. See bug categories reference for the full guide.

CategoryFirst MoveKey Technique
Logic errorRead the code, trace conditionsRubber duck walkthrough, truth tables
Data issueInspect actual vs expected data at each boundaryBoundary logging, data flow trace
State/race conditionAdd timestamps to all state mutationsSequence diagram, concurrency analysis
Integration failureCheck API contract complianceRequest/response logging, contract tests
PerformanceProfile before guessingProfiler, flame graphs, query analysis
EnvironmentCompare working vs broken envDifferential analysis, config audit
Intermittent/flakyIncrease observability firstStatistical logging, stress testing

Escalation Criteria

Stop debugging and escalate when:

  • You have spent more than 2x your initial time estimate without meaningful progress
  • The fix requires architectural changes beyond your component
  • The root cause is in a dependency you do not control
  • You have found 3+ bugs in the same area — the code needs redesign, not more patches
  • The bug exposes a fundamental design flaw
  • Production impact is growing and a workaround/rollback is faster than a fix

Escalate to:

SituationEscalate To
Design or architecture issuesArchitect
Cannot reproduce, need more infoQA team
Scope, priority, or trade-off questionsPM / Product Owner
Dependency or infrastructure issuesPlatform / DevOps team
Security implications discoveredSecurity team immediately

Decision Framework

Fix depth

  • Fix at the SOURCE where bad data/state originates, not where the error appears
  • Add defense-in-depth: validate at boundaries even after fixing the source
  • Prefer making invalid states unrepresentable over runtime validation

Scope of fix

  • Fix the specific bug, not the surrounding code
  • If you see other issues nearby, file them separately — do not scope-creep a bug fix
  • One bug = one fix = one commit = one test

When to rewrite vs patch

  • Patch: isolated bug, clear root cause, code is otherwise sound
  • Rewrite: 3+ bugs in same module, root cause is structural, fix would be more complex than rewrite
  • Rollback: production is burning and the previous version worked — roll back first, debug second

Integration with Team Roles

This debugging workflow connects to broader team processes:

PhaseTeam Integration
ReproduceQA provides bug reports with reproduction steps; request more detail if insufficient
InvestigateArchitect can help map component dependencies and blast radius
FixCode review by a peer before merge — a second pair of eyes catches fix-induced regressions
PreventPost-mortem shared with the team; action items tracked in the backlog

When using other code-virtuoso skills:

SituationRecommended Skill
Bug fix reveals design problemsInstall design-patterns-virtuoso from krzysztofsurdy/code-virtuoso
Fix involves refactoringInstall refactoring-virtuoso from krzysztofsurdy/code-virtuoso
SOLID violation is root causeInstall solid-virtuoso from krzysztofsurdy/code-virtuoso
PR for the fixUse pr-message-writer from krzysztofsurdy/code-virtuoso

Quality Checklist

Before marking a bug fix done:

  • Root cause is identified and documented
  • Failing test existed before the fix
  • Fix addresses root cause, not symptom
  • Full test suite passes
  • Fix is the simplest correct solution
  • Error messages improved where relevant
  • Post-mortem written for significant bugs
  • Team notified if the bug affects shared components

Critical Rules

  1. No fix without root cause. This is the iron law. If you cannot explain why the bug exists, you are not done investigating.
  2. Reproduce first. Do not investigate what you cannot reproduce. If reproduction fails, add observability and wait.
  3. Single-variable testing. Change one thing at a time during hypothesis testing. Changing multiple variables makes results uninterpretable.
  4. Evidence over intuition. Log your evidence. "I think it might be X" is not a hypothesis — "Log line Y shows value Z when it should show W" is.
  5. Test before and after. A fix without a regression test is a fix that will break again.
  6. Escalate without ego. Knowing when to stop and ask for help is a skill, not a weakness. See the escalation criteria above.
  7. Document for the next person. The next person debugging this area might be you in six months. Leave the codebase more observable than you found it.
  8. Never debug production by modifying production. Read-only investigation. Fixes go through the normal deployment pipeline.
  9. Scope discipline. Fix the bug. Only the bug. Other improvements are separate tickets.
  10. Share what you learn. Every significant bug is a learning opportunity for the team. Post-mortems are not blame — they are institutional memory.

平台分布

Codex

35.45%
按下载量换算98

Claude

30.36%
按下载量换算84

Cursor

17.82%
按下载量换算49

Gemini CLI

9.87%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills