PANYUXIN6/pyx-skills / reliable-task-execution
reliable-task-execution
Verified当任务涉及完成声明、破坏性或外部状态变更、排错、长时间或可恢复的工作、子代理协作,或高风险审查时,采用轻量保护措施。在不强制固定开发流程的前提下,保留证据、可恢复性和用户控制权。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.6 KB |
| references/delegation.md | markdown | 1.5 KB |
| references/diagnosis-and-recovery.md | markdown | 1.4 KB |
| references/independent-review.md | markdown | 1.5 KB |
| references/safe-operations.md | markdown | 1.7 KB |
| references/task-continuity.md | markdown | 1.4 KB |
| references/verification.md | markdown | 1.9 KB |
references/delegation.md
View on GitHub# 委派
默认由单个代理完成工作。只有上下文隔离、并行执行、专门能力或独立判断的收益大于交接成本时才委派。
## 判断是否委派
比较预期收益与准备上下文、协调决策、整合产出及验证结果的成本。
以下情况有明显收益时可委派:
- 有界调查会占用大量主任务上下文。
- 独立任务能通过稳定接口并行执行。
- 专门工具或领域上下文能够清楚隔离。
- 审查或裁决需要独立视角。
如果子任务需要当前上下文的大部分内容、与进行中的工作共享频繁变化的状态、修改同一批文件,或需要频繁往返沟通,则留在当前任务处理。不要仅因有子代理可用或计划分了多步就委派。
## 定义交接约定
向受委派代理提供最少且完整的上下文:
- 目标及委派原因。
- 相关输入、约束和权威文件。
- 允许修改的准确范围,或只读调查范围。
- 所需产出和证据。
- 成功标准及需要上报的情况。
优先写简短、自包含的任务说明。如果必须复制父任务的大部分上下文,应重新考虑委派。
## 协调与整合
明确归属,避免写入范围重叠。只并行执行相互独立的工作。回答阻塞问题时不要扩大范围。
代理报告只是摘要,并非证明。接受完成结论前,应检查产物、解决冲突并运行相关验证。委派工作需要跨上下文压缩或会话恢复时,使用 [任务延续](task-continuity.md)。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |