principle-outcome-oriented-execution
Use during a planned rewrite or migration with declared phases. Aim for a correct, fully checked final state rather than spending effort keeping each intermediate step working with compatibility code you will discard.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- principle-outcome-oriented-execution
- description
- Use during a planned rewrite or migration with declared phases. Aim for a correct, fully checked final state rather than spending effort keeping each intermediate step working with compatibility code you will discard.
- disable-model-invocation
- true
03 SKILL.md 正文
Outcome-oriented execution
In a planned rewrite or migration, the target is a correct end state you can verify. Effort spent keeping every intermediate step fully functional through disposable compatibility code is wasted.
When it applies
Rewrites and migrations that were planned ahead and have declared phase boundaries.
It does not apply to unplanned work without declared phases or verification points, or to changes where intermediate breakage would reach users. A migration deployed incrementally to production must keep every step working.
What to do
- Put the integrity of the end state ahead of stability during the transition.
- Allow intermediate breakage only if it was planned in advance, its scope is bounded, and it can be undone.
- Declare up front, in the plan, where temporary breakage is permitted. For example: "Between phases 2 and 4, the legacy session store tests fail; nothing ships from this branch until phase 4."
- Keep high-signal checks running on the areas actively being changed.
- At the end of the plan, demand complete verification, both static checks and runtime checks.
Security checks are never part of the permitted breakage. If the migration moves authentication middleware, the authorization tests for the moved routes stay green at every phase, because a temporary gap there is the kind that ships by accident.
The failure it prevents
Temporary shims that become permanent debt, and effort spent stabilizing intermediate states nobody will keep.
Done when
The final state passes complete static and runtime verification.
Each unit still ends in a check (principle-sequence-verifiable-units); this principle only relaxes what that check must cover mid-plan.
Related: principle-migrate-callers-then-delete-legacy-apis, principle-sequence-verifiable-units, principle-prove-it-works.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.