Skip to main content

debugging

Diagnose regressions, failing tests, runtime errors, and unexpected behavior before applying a fix. Use when the cause is unknown or when a proposed fix has not been tied to a reproducible failure.

来源信息

仓库
rapidaai/voice-ai
最近来源活动
2026年9月27日 04:00
检测到的 SKILL.md 语言
英语
星标
737
分支
121

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
debugging
description
Diagnose regressions, failing tests, runtime errors, and unexpected behavior before applying a fix. Use when the cause is unknown or when a proposed fix has not been tied to a reproducible failure.
# Debugging ## Mission Produce a reproducible explanation of the failure, then prove the smallest correct fix with a regression test. ## Respect the request If the user asked only for diagnosis, stop after reporting the supported root cause and fix options. Do not edit production code without authorization. ## Debugging sequence 1. Record expected behavior, actual behavior, environment, and the smallest known reproduction. 2. Reproduce the failure with the narrowest command that exercises the real path. 3. Trace ownership and state from the first incorrect observation backward to the responsible boundary. 4. Form one falsifiable hypothesis. State what evidence would confirm or reject it. 5. Run the smallest safe check that discriminates that hypothesis. 6. Repeat one hypothesis at a time until the root cause explains all observed evidence. 7. Add a regression test and watch it fail for the expected reason before changing behavior. 8. Apply the smallest fix at the owning layer, then run focused and fallback-path verification. ## Failure analysis Check invalid input, cancellation, timeout, retry, partial success, cleanup, goroutine lifetime, packet ordering, and provider fallback when relevant. Do not patch a downstream symptom while leaving the owning transition incorrect. ## Evidence log Maintain a compact record: - reproduction command and result - hypothesis and discriminating check - root cause with `file:line` - regression test and its pre-fix failure - changed owner and why it is the correct layer - focused and broader verification results ## Escalation Return to `development-lifecycle` when the root cause expands scope or reveals a Governed trigger. For voice integration failures, activate the matching domain skill before editing. ## Governed lifecycle Debugging evidence may amend a Governed plan. If it materially changes an accepted decision, create a superseding RFC and obtain the required challenge and approval. This skill must not self-approve that decision.
在 GitHub 查看