360 Secure SkillHub
360 安全技能中心

principle-outcome-oriented-execution

为计划内的重写和迁移提供执行原则:以可验证的目标架构为准,接受明确范围且可回滚的中间破坏,减少临时兼容代码,并在完成时要求完整的静态与运行时验证。

michael-denyer
热度 0.00
最近更新 2026-10-19 04:13:21
分类:开发依赖:纯提示词应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add michael-denyer/pstack-claude/principle-outcome-oriented-execution
Metadata
name
principle-outcome-oriented-execution
description
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.
user-invocable
false

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