Token导航 LogoToken导航

Agent Skill · 研究检索

debugging(调试)

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

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

总安装 606周安装 25GitHub Stars 11下载 198核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/akillness/skills-template --skill debugging

这个 Skill 是做什么的

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

用于将失败现象转化为可复现的诊断过程。需构建最小复现用例并隔离问题边界。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。每次只验证一个假设,避免多变量干扰。应与原始条件保持一致进行验证。

debugging 属于研究检索类 Skill,可作为该场景下的辅助能力补充。安装时请确认是否有日志读取和执行调试命令权限。

来源仓库内路径:skills/debugging

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

debugging 怎么安装?

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

debugging 支持哪些 AI 工具?

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

debugging 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

debugging 是免费的吗?

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

debugging 用的人多吗?

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

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

调试 · 本页

60611操作浏览器未明确通过

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

SKILL.md 原文

Debugging

Use this skill when the job is to turn a concrete failure into a bounded diagnosis loop.

The center of the skill is small and repeatable:

  1. define the failing behavior in testable terms,
  2. build or confirm the cheapest reliable reproducer,
  3. isolate the narrowest failing boundary,
  4. run one discriminating check per hypothesis,
  5. verify the fix under the same conditions.

Read references/handoff-boundaries.md before taking work that may belong to log-analysis, testing-strategies, code-review, or performance-optimization. Read references/debug-loop.md for the full experiment-loop scaffolding. Read references/mode-selection-and-fast-checks.md when the case is clearly a regression, flake, env/config mismatch, or artifact-led investigation.

When to use this skill

  • A command, test, request, or UI flow fails and the user needs a root-cause workflow
  • A bug is reproducible or close to reproducible and needs narrowing before patching
  • A regression has a likely change window or last-known-good state
  • A flaky failure needs repeated-run evidence, isolation, and stabilization of one concrete case
  • CI/staging/prod-only behavior now has enough evidence to compare environment or config differences
  • The user asks how to reproduce, isolate, bisect, confirm, or verify a bug fix

When not to use this skill

  • The user only has logs / stack traces and still needs the first actionable failure → use log-analysis
  • The real task is test-program design, flake policy, or coverage planning → use testing-strategies
  • The task is reviewing a diff / PR for correctness, risk, or missing evidence → use code-review
  • The main job is telemetry rollout, dashboards, or observability-platform design → use monitoring-observability
  • The main job is bottleneck measurement and optimization tradeoffs → use performance-optimization

Instructions

Step 1: Freeze the failure definition

Write the failure in a form that can be retested.

Capture:

  • expected behavior
  • actual behavior
  • exact trigger, input, or state
  • environment: local / CI / staging / production / browser / mobile / runtime
  • deterministic vs flaky vs unknown
  • last-known-good state if this may be a regression

Minimum shape:

Expected: ...
Actual: ...
Trigger: ...
Environment: ...
Confidence: high | medium | low

If the report is still just "something failed" with giant logs and no narrowed symptom, route to log-analysis first.

Step 2: Choose the right first evidence source

Pick the cheapest path that can falsify or confirm your next hypothesis.

Use this routing shortcut:

  • Known failing command/test/request/UI flow → reproduce it directly
  • Regression with last-known-good → compare recent changes and consider git bisect
  • Flaky / intermittent → measure frequency first with repeated runs
  • CI/staging/prod only → compare env/config/runtime facts before speculating about code
  • Artifact-led case → inspect the first meaningful log/trace/screenshot, then narrow to one suspect boundary
  • Performance-only complaint → route to performance-optimization unless a concrete broken behavior still needs diagnosis

Step 3: Build the smallest reliable reproducer

Prefer the cheapest reproduction that still fails.

Common shapes:

  • one CLI command
  • one HTTP request or API call
  • one UI flow with exact steps
  • one failing test or fixture
  • one save file / seed / payload / config combination
  • one commit range for regression hunting

Useful tactics:

  • reduce unrelated setup
  • freeze time/randomness/network when possible
  • capture exact env/config values that differ
  • keep repeated-run loops focused on one suspect

Step 4: Isolate the boundary before proposing fixes

Narrow the problem first.

Isolation angles:

  1. boundary — UI vs API vs DB vs worker vs config vs dependency vs asset/runtime
  2. input — one payload, record, seed, scene, or fixture
  3. history — what changed between good and bad
  4. environment — local vs CI vs staging vs production
  5. timing — ordering, retries, caching, clocks, async waits, shared state

High-value questions:

  • Can one file/module/config branch now be named as the primary suspect?
  • Is the failure about data shape, state transition, config drift, dependency behavior, or code path?
  • Is the current bottleneck still diagnosis, or has the task shifted to review / test-policy / optimization work?

Step 5: Run one discriminating check per hypothesis

Do not patch five things at once.

For each hypothesis:

  • state why it explains the failure
  • run one read-only or reversible check first
  • record the result
  • keep or reject the hypothesis based on evidence

Good first checks:

  • inspect the request/payload/config at the narrowed boundary
  • compare one good state and one bad state
  • rerun one targeted test instead of the whole suite
  • diff the suspect commit range
  • add temporary instrumentation only at the narrowed boundary

Step 6: Use the right mode packet

Once the case type is clear, follow the matching packet in references/mode-selection-and-fast-checks.md:

  • regression debugging
  • flaky-failure debugging
  • env/config mismatch debugging
  • artifact-led debugging after log/trace/screenshot triage
  • runtime / browser / game-loop debugging

Step 7: Fix the cause, then prove it

A good debugging result shows that the cause was addressed, not just the symptom muted.

Verification checklist:

  • the reproducer now passes
  • nearby edge cases still behave correctly
  • a regression guard exists when practical
  • the explanation matches the observed failure
  • the fix scope is smaller than the search space you started with

Step 8: Escalate honestly when evidence is still weak

If reproduction or isolation still fails:

  1. say confidence is low,
  2. ask for the smallest missing artifact only,
  3. avoid pretending the root cause is known,
  4. prefer one more discriminating check over speculative patching.

Output format

Always return a concise debugging brief or debugging plan.

# Debugging Brief

## Failure definition
- Expected: ...
- Actual: ...
- Reproducer: ...
- Confidence: high | medium | low

## Isolation result
- Narrowed boundary: ...
- Recent change / env difference / artifact clue: ...

## Hypotheses and checks
1. Hypothesis: ...
   - Check: ...
   - Result: ...

## Likely root cause
- 1-3 sentences grounded in evidence

## Fix direction
1. ...
2. ...

## Verification
- Reproducer rerun: ...
- Regression guard: ...

## Handoff
- Stay in `debugging` | route to `log-analysis` | route to `testing-strategies` | route to `code-review` | route to `performance-optimization`

Examples

Example 1: Regression after a refactor

Input

Saving a profile without uploading a new avatar now clears the existing avatar. It worked before the refactor.

Output sketch

  • Define expected vs actual behavior in one reproducible form submission
  • Compare the update path before/after the refactor
  • Check whether absent field and explicit null are treated the same
  • Verify with a focused regression test and rerun of the original flow

Example 2: Flaky CI failure

Input

This checkout test passes locally but fails in CI about one in eight runs.

Output sketch

  • Mark the case as flaky, not deterministic
  • Run a repeated-run loop and compare timing/shared-state/env differences
  • Inspect only the failing test and nearby fixtures first
  • Route to testing-strategies only if the job expands into suite-wide flake policy

Example 3: Prod-only behavior with artifact clue

Input

The job only fails in staging. I have the first failing request payload and the config diff.

Output sketch

  • Treat this as env/config mismatch debugging
  • Compare staging vs local/runtime facts before patching code
  • Narrow to the one flag/version/secret branch that changes behavior
  • Verify with the same payload under the corrected config

Example 4: Symptom-only log dump

Input

Here are 500 lines of retries and stack traces. Can you debug this?

Output sketch

  • Route first to log-analysis
  • State that the first actionable failure still needs narrowing
  • Do not pretend a root-cause loop can start yet

Best practices

  1. Reproduce before patching — unproven fixes are guesses.
  2. Use the cheapest evidence source first — direct repro, repeated run, env diff, or artifact clue.
  3. Keep mode selection explicit — regression, flake, env/config, artifact-led, and runtime cases need different first checks.
  4. Separate symptom triage from diagnosis — logs help you start, not finish.
  5. Change one thing at a time — debugging is an experiment loop.
  6. End with verification — every result should say how the cause was confirmed.

References

平台分布

Codex

33.78%
按下载量换算67

Claude

29.21%
按下载量换算58

Cursor

20.67%
按下载量换算41

Gemini CLI

10.28%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

继续浏览同类 Skills