Skip to content

PANYUXIN6/pyx-skills / reliable-task-execution

reliable-task-execution

Verified

当任务涉及完成声明、破坏性或外部状态变更、排错、长时间或可恢复的工作、子代理协作,或高风险审查时,采用轻量保护措施。在不强制固定开发流程的前提下,保留证据、可恢复性和用户控制权。

references/diagnosis-and-recovery.md

View on GitHub
# 诊断与恢复

用证据驱动缺陷、失败、性能问题和意外行为的诊断,避免不断猜测造成不可靠的修复。

## 确认故障

- 能够稳定复现时,先复现问题。
- 阅读完整错误、日志、堆栈和相关工具输出。
- 检查近期变更、环境差异及附近正常工作的示例。
- 将错误值或行为追溯到最早有证据支持的来源。

无法复现时,收集能区分不同原因的证据,不要臆造原因。

## 检验根因假设

1. 明确提出一个具体假设及支持它的证据。
2. 选择能够证伪该假设的最小实验。
3. 每次只改变一个主要变量。
4. 解读结果后再尝试下一次修改。
5. 用范围最小的变更修复有证据支持的根因。

当回归测试或持久化复现能切实保护行为时,补充它们。若测试先行对某类产物没有可靠信号,不要强制套用流程。

## 限制修复循环

记录每次失败尝试证伪了什么、揭示了什么。上一次尝试未带来新认识时,不要继续叠加补丁。

若多次尝试仍只针对同一症状、证据不再改善,或拟议变更超出原诊断范围,应停下重新评估。重新检查需求、系统边界、环境和架构假设。重要的不确定性仍存在时,交给独立审查者、更有能力的模型或用户处理。

修复后使用 [验证](verification.md) 证明原故障已解决,相关行为仍正常。
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall