# Principle outcome oriented execution

> Principle outcome oriented execution is an open-source agent skill for developer tools. Guides agents to reach a verified target architecture during planned migrations. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/michael-denyer/pstack-claude/tree/main/plugins/pstack/skills/principle-outcome-oriented-execution
- **Repository:** https://github.com/michael-denyer/pstack-claude
- **GitHub stars:** 5,057
- **License:** MIT
- **Skill name:** principle-outcome-oriented-execution
- **Collection:** https://github.com/michael-denyer/pstack-claude
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill tells the agent to aim for the intended end state of a planned rewrite or migration rather than keeping every intermediate step stable. It discourages building throwaway compatibility layers that tend to become lasting technical debt.

The workflow centers on explicit phase boundaries. The agent is asked to declare where temporary breakage is acceptable, keep focused checks on the areas it is actively changing, and then run full static and runtime verification when the plan completes. Breakage between phases is meant to be planned, scoped and reversible.

The skill is guidance only: it ships no scripts and sets no tool restrictions. It is intended to be loaded by the agent during migration work and is not invoked directly by the user.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/principle-outcome-oriented-execution)
- [License: MIT](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/principle-outcome-oriented-execution)

## Features

- **End-state focus:** Directs the agent to optimize for the intended, verifiable target architecture over preserving transitional stability.
- **Avoid throwaway compatibility code:** Discourages temporary shims that would otherwise persist as long-lived debt after a migration.
- **Declared phase boundaries:** Asks the agent to state where temporary breakage is acceptable within a multi-phase plan.
- **Scoped interim checks:** Recommends high-signal checks limited to the areas being actively touched during the migration.
- **Full completion verification:** Requires complete static and runtime verification once the plan is finished.

## Good for

- Plan and carry out a framework migration in phases
- Rewrite a legacy module to a new architecture without shims
- Move a codebase from one database layer to another
- Verify a completed refactor with full static and runtime checks

## Install

### Claude Code

This skill ships in the `pstack` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Or copy only this skill to `~/.claude/skills/principle-outcome-oriented-execution`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/principle-outcome-oriented-execution &&
cp -R "$tmp/plugins/pstack/skills/principle-outcome-oriented-execution" ~/.claude/skills/principle-outcome-oriented-execution &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/principle-outcome-oriented-execution` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/principle-outcome-oriented-execution` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/principle-outcome-oriented-execution &&
cp -R "$tmp/plugins/pstack/skills/principle-outcome-oriented-execution" ~/.agents/skills/principle-outcome-oriented-execution &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/principle-outcome-oriented-execution` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/principle-outcome-oriented-execution` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/principle-outcome-oriented-execution &&
cp -R "$tmp/plugins/pstack/skills/principle-outcome-oriented-execution" ~/.cursor/skills/principle-outcome-oriented-execution &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/principle-outcome-oriented-execution` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/principle-outcome-oriented-execution
```

Or copy the folder to `~/.gemini/skills/principle-outcome-oriented-execution` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/principle-outcome-oriented-execution`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/principle-outcome-oriented-execution &&
cp -R "$tmp/plugins/pstack/skills/principle-outcome-oriented-execution" ~/.copilot/skills/principle-outcome-oriented-execution &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/principle-outcome-oriented-execution` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git
```

Then copy `pstack-claude/plugins/pstack/skills/principle-outcome-oriented-execution` into your agent's skills folder as `principle-outcome-oriented-execution`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Principle outcome oriented execution apply?

It applies during planned rewrites and migrations that have explicit phase boundaries.

### Does Principle outcome oriented execution add scripts or tools to my project?

No. The skill folder contains only its instructions and a README, with no scripts, and it does not set allowed tools.

### Can the agent be invoked directly?

The skill is marked as not user-invocable, so it is loaded by the agent when a matching migration task comes up.

### How do I install Principle outcome oriented execution in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/principle-outcome-oriented-execution to use it in all your projects, or to .claude/skills/principle-outcome-oriented-execution in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.

### Does Principle outcome oriented execution run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Principle outcome oriented execution?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Principle outcome oriented execution?

The closest alternatives to Principle outcome oriented execution are Principle make operations idempotent, Principle migrate callers then delete legacy APIS, Architecture reasoning, Refactor seams and Principle prove it works.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Principle make operations idempotent](https://ai-powered.com/skills/principle-make-operations-idempotent): Principle make operations idempotent is an open-source agent skill for developer tools.
- [Principle migrate callers then delete legacy APIS](https://ai-powered.com/skills/principle-migrate-callers-then-delete-legacy-apis): Principle migrate callers then delete legacy APIS is an open-source agent skill for developer tools.
- [Architecture reasoning](https://ai-powered.com/skills/architecture-reasoning): Architecture reasoning is an open-source agent skill for developer tools.
- [Refactor seams](https://ai-powered.com/skills/refactor-seams): Refactor seams is an open-source agent skill for developer tools.
- [Principle prove it works](https://ai-powered.com/skills/principle-prove-it-works): Principle prove it works is an open-source agent skill for developer tools.
- [Principle never block on the human](https://ai-powered.com/skills/principle-never-block-on-the-human): Principle never block on the human is an open-source agent skill for developer tools.
- [Figure it out](https://ai-powered.com/skills/figure-it-out): Figure it out is an open-source agent skill for developer tools.
- [Agentic engineering](https://ai-powered.com/skills/agentic-engineering): Agentic engineering is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/principle-outcome-oriented-execution
