Skip to content
Agentmart
Submit a tool

debug

依据证据诊断缺陷、故障与性能回退,并在用户要求修复时完成修复。适用于崩溃、错误输出、异常、偶发问题和响应变慢;单纯解释已知错误、不需要调查时不调用。

Skill by iZiTTMarvin

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying debug?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/izittmarvin-debug

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

依据证据诊断缺陷、故障与性能回退,并在用户要求修复时完成修复。适用于崩溃、错误输出、异常、偶发问题和响应变慢;单纯解释已知错误、不需要调查时不调用。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/debug

What's inside

Skill name
debug
Description
依据证据诊断缺陷、故障与性能回退,并在用户要求修复时完成修复。适用于崩溃、错误输出、异常、偶发问题和响应变慢;单纯解释已知错误、不需要调查时不调用。
License
MIT
Instructions
35 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • openai.yaml · agents/
  • hitl-loop.template.sh · scripts/

SKILL.md (first lines)

# Debug

诊断要把用户描述的症状、成立条件和原因连接起来。先区分“只诊断”与“检查并修复”;已有修复授权无需重复确认,诊断本身不授予修改生产代码的权限。

## 建立信号

读取相关代码、测试、项目规则和已有日志,选择能区分目标失败与正常结果的最小可行信号:现有失败测试、命令、请求、轨迹重放、性能测量或有界人工检查。确认信号走过真实问题路径;依赖缺失、启动失败不算复现了业务缺陷。

优先复用已有信号。偶发问题记录有界尝试次数和复现率;性能回退先记录基线。信号应足够稳定和便宜以支持判断,无需为了达到固定秒数重建整套支架。只有人工能完成操作时,参考 [scripts/hitl-loop.template.sh](scripts/hitl-loop.template.sh);当前环境无法运行 Bash 时给出等价的步骤与结果记录方式。

环境不可用时继续检查最近可控边界的证据,标明原始场景尚未复现。只有缺失信息会阻止下一项有效调查时才请求环境、脱敏日志或必要授权;源码推断不得报告为已证实根因。采集与展示仅限相关信号,凭据保留在已有安全机制中,输出先脱敏。

## 隔离原因

缩减不影响判断的输入和步骤,形成可证伪解释,用最便宜的探测区分它们。假设数量随证据变化,不为凑数生成解释;原因已由直接证据锁定时,验证它及受影响正常路径。

每次探测改变一个有关变量。优先对照正常与异常状态、切换疑似条件,或在关键边界定向插桩。需要添加日志时加唯一标记,方便只清理本次产物。错误压制、重试或关闭功能不能单独证明根因。

能够说明“什么条件通过哪条路径造成哪个症状”时,报告原因和决定性证据。仍有多个解释时说明未决项,不把最可能的解释写成定论。

## 报告或修复

只诊断时,交付原因、位置、证据和剩余不确定性,到此完成。

用户要求修复时:

1. 有可信测试边界时复用或扩展回归测试,确认它因目标缺陷失败。没有合适边界时保留最强检查并说明限制,不为测试扩大公共接口。
2. 在根因所属位置修复,保护无关行为、错误语义和状态归属。
3. 运行回归检查、相关正常路径和最初的完整场景。原始症状仍存在时重新审视原因,避免叠加猜测性补丁。

## 完成

清理本次临时插桩和无用产物,保留需要交付的证据。说明原因、已授权的实际修改、运行过的检查及未验证部分。只有修复结果在原始场景或明确说明的替代检查上成立,才能报告相应范围已完成;提交和外部操作遵循当前授权。

From iZiTTMarvin/agent-skills-zh, MIT.

More from iZiTTMarvin/agent-skills-zh

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Sep 9, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from iZiTTMarvin

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get debug running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying debug?

CallGet help
Cite this page

debug skill. Agent Mart. https://agentmart.dev/skills/izittmarvin-debug (last updated 2026-10-24)