principle-outcome-oriented-execution
它能做什么
为智能体提供一条适用于大型计划迁移的规则,在这类迁移中,目标设计比过程中的平稳步骤更重要。适合开展结构化重写的团队。
适用场景
- ✓当你正在按既定阶段进行计划中的重写或迁移的时候。
- ✓当保持每个中间步骤都可用需要临时代码的时候。
- ✓当你需要在计划结束时验证最终架构的时候。
技能链接
https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-outcome-oriented-execution/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们分三个阶段重写数据层。请以最终设计为目标,并告诉我哪些临时破坏是可以接受的。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会以预定的最终状态为目标,说明允许临时破坏的范围,对正在改动的区域保持检查,并在计划完成时要求完整的验证。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Outcome-Oriented Execution
Optimize for the intended, verifiable end state rather than preserving smooth intermediate states.
Why: Keeping every intermediate step fully stable often creates temporary compatibility code that becomes long-lived debt. Converge on the target architecture and prove correctness at explicit verification boundaries.
Core rule:
- Prioritize end-state integrity over transitional stability
- Intermediate breakage is acceptable when it is planned, scoped, and reversible
Guardrails:
- Use this for planned rewrites and migrations with explicit phase boundaries
- Declare where temporary breakage is acceptable
- Keep high-signal checks for actively touched areas while migrating
- Require full static and runtime verification at plan completion
常见问题
允许临时破坏吗?
允许,但前提是它是有计划的、有范围的、可以回退的,并且阶段边界已经声明。
什么时候不应使用?
该技能适用于有计划的重写,而不适用于必须始终保持正常运行的日常改动。
最后需要什么?
对完成的计划进行完整的静态和运行时验证。
详情
作者的原始描述
Apply during planned rewrites and migrations with explicit phase boundaries. Converge on the target architecture; don't preserve smooth intermediate states with throwaway compatibility code.
repo: cursor/plugins
热度
- GitHub 星标
- 15k
- 排名
- #10984
- 许可证
- —
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
advisor
15k如果你开启该功能,让你的智能体在关键节点咨询一个更强的第二模型,例如在重大决定之前,或在错误上卡住时。
check-agent-compatibility
15k全面检查 AI 编程智能体能否启动、验证和记录某个代码仓库,并返回一个兼容性评分以及主要问题。
cli-for-agents
15k教你的智能体设计或审查命令行工具,使 AI 智能体无需提示即可运行,并提供清晰的帮助文字和示例。
continual-learning
15k通过把回顾过往对话的工作交给专门的记忆更新程序,使你的 AGENTS.md 笔记保持最新。