重现根本原因猎人

工程开发 社区

技能解读

当前原文的自动摘译,尚未人工审校。

概述

将松散的错误报告转变为可重复的调试工作流程,每个步骤都有证据。

核心工作流程

使报告正常化。捕获预期行为、实际行为、确切错误、输入和环境详细信息。重现失败。在理论化之前使用现有的测试、应用程序命令、日志或最小重现路径。缩小表面。确定触发错误所需的最小文件、条件、标志、数据状态或请求集。检验假设。检查最近的差异、周围的代码和相关测试以验证可能的原因。

交付

重现成功时提供准确的重现步骤。用具体证据陈述最可能的根本原因。如果复制失败,记录下尝试过的内容、仍然可行的内容以及下一个最佳实验。将修复计划与诊断分开。

护栏

不要在没有证据的情况下声称确定性。更喜欢将最近的变化和环境差异作为早期怀疑,而不是自动得出的结论。保留进一步调试所需的任何原始错误输出。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
工程开发
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@00PrabalK00 · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Bug Reproduction Root Cause Hunter

## Overview

Turn loose bug reports into a repeatable debugging workflow with evidence at each step.

## Core Workflow

1. Normalize the report. Capture expected behavior, actual behavior, exact errors, inputs, and environment details.
2. Reproduce the failure. Use existing tests, app commands, logs, or a minimal repro path before theorizing.
3. Narrow the surface. Identify the smallest set of files, conditions, flags, data states, or requests needed to trigger the bug.
4. Test hypotheses. Inspect recent diffs, surrounding code, and related tests to validate likely causes.
5. Propose the fix path. Recommend the smallest safe change, the regression test to add, and any rollout concerns.

## Deliver

- Provide exact repro steps when reproduction succeeds.
- State the most likely root cause with concrete evidence.
- If reproduction fails, document what was tried, what remains plausible, and the next best experiment.
- Keep the fix plan separate from the diagnosis.

## Guardrails

- Do not claim certainty without evidence.
- Prefer recent changes and environment differences as early suspects, not automatic conclusions.
- Preserve any raw error output needed to debug further.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。