← 返回
未分类
Bug 根因定位与修复助手
Diagnose software bugs with a root-cause-first workflow. Reproduce issues, narrow failure scope, identify root cause, propose minimal safe fixes, and generate verification steps. Use when users report errors, failing tests, regressions, crashes, or unexpected behavior.
Diagnose software bugs with a root-cause-first workflow. Reproduce issues, narrow failure scope, identify root cause, propose minimal safe fixes, and generate verification steps. Use when users report errors, failing tests, regressions, crashes, or unexpected behavior.
ztskills
未分类
community
v1.0.0 1 版本 99082.6 Key: 无需
#latest
概述
Bug 根因定位与修复助手
Goal
用最短路径定位根因,给出最小可行修复,并保证可验证。
Use When
- 报错日志、测试失败、线上回归、功能异常
- “这个为什么坏了”“帮我修一下但别影响其它功能”
Required Inputs
- 错误信息(栈追踪/报错文案)
- 复现步骤(输入、环境、预期 vs 实际)
- 相关代码路径(若有)
- 约束(不能改接口/不能改数据库结构等)
If missing, ask at most 3 focused questions, then continue with best assumptions.
Workflow
- 复现与边界确认
- 根因定位
- 先排高概率:空值、类型、边界、状态同步、时序、配置
- 给出“证据链”,不要只给猜测
- 修复方案
- 验证方案
- 风险说明
Output Contract
- 问题复述(1-2句)
- 根因(带证据)
- 修复改动点(文件/逻辑)
- 验证清单(手测 + 自动化)
- 风险与回滚建议(如需要)
Style Rules
- 先结论后过程
- 不输出大而空的“可能原因清单”
- 每条建议都要可执行
Guardrails
- 不做破坏性建议(如盲目删除核心逻辑)
- 不建议跳过测试或忽略错误
- 如证据不足,明确假设并标注待确认项
安全检测
腾讯云安全 (Sanbu)
安全,无风险
查看报告
🔗 相关推荐
user_ffcaaae9
Build robust API integrations end-to-end, including request/response schema handling, auth strategy, retries, timeout, i
★ 0
📥 114
user_ffcaaae9
Unified editor-agnostic productivity suite for mainstream code editors. Use when users want practical workflows to impro
★ 0
📥 89
user_ffcaaae9
End-to-end short-video growth suite for Chinese creator and business scenarios. Generates topic strategy, shot-by-shot s
★ 1
📥 372