Skip to content

PANYUXIN6/pyx-skills / reliable-task-execution

reliable-task-execution

Verified

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

references/safe-operations.md

View on GitHub
# 安全操作

操作会改变外部状态或难以撤销时,保留用户控制权和恢复能力。

## 评估操作

行动前确定:

- 受影响的准确资源、文件、分支、记录或环境。
- 操作是本地还是外部、可逆还是不可逆。
- 用户是否授权此操作及其范围。
- 目标是否由其他工具、进程或人员管理。
- 操作失败或判断有误时的恢复路径。

通过只读检查确认目标。破坏性操作应避免宽泛路径、未解析变量、含糊的通配符或未经证实的归属判断。

## 保护措施与风险相称

对局部且可逆的变更使用常规实施判断。影响或不确定性增加时,逐步增加保护:

- 支持时预览或试运行操作。
- 恢复困难时备份或制作快照。
- 长时间、并行或高风险变更中,若隔离收益大于准备成本,则使用 worktree 或隔离环境。
- 删除、破坏性迁移、强制推送、发布、生产环境变更或其他难以撤销的外部操作前,须有明确授权。

若用户的直接请求已经明确准确目标、范围和重要后果,该请求即构成授权。只有其中某项仍不明确时才请求确认;不要从笼统的修复、清理或完成请求推断破坏性操作授权。

## 执行与收尾

若状态可能变化,执行前立即重新核对已确认的目标。范围、归属或前提条件意外变化时停止。

外部操作返回模糊结果时,先检查当前状态再重试,避免超时或响应丢失造成重复操作。

之后验证结果状态,并在相关时说明改动、保留内容及恢复方法。只清理有证据表明由当前任务创建或拥有的资源。
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