Skip to content
Projects
Playbook and templates

Claude Execution Playbook

A decision framework and prompt-template kit for running coding tasks with Claude and Claude Code. Unofficial; not affiliated with Anthropic.

Status
Released as v1.0.0. A generalized rewrite of a private execution framework. Reasoned defaults, not benchmarks; the examples are illustrative; the skill passed five functional smoke runs, and its output quality has not been benchmarked.
Authorship
"Drafted with AI assistance (Claude Code)," in the repository's own words.
Stack
Markdown · Python 3.10+ (build and check scripts) · Claude Code skill format
Demonstrates
Decision guides with stated defaults · Copy-ready templates and worked examples · Generated single-file edition and skill · Documentation CI with a freshness rule · Reproducible release assets
Verified
14 unit tests pass, the repository's consistency checks pass on 35 Markdown files, and the published v1.0.0 assets match their checksums and a rebuild from the tagged commit. Observed at commit 63c8a91ef487c9db36d56318a8c91728116638b9.
Commands run
python3 -m unittest discover -s tests
python3 scripts/check.py
python3 scripts/build.py --check
python3 scripts/build.py --package
Repository
github.com/Donovanfitch-dev/claude-execution-playbook
Release
Release v1.0.0 (single-file edition, skill and checksums)

Engineering problem

Every run of a coding agent involves five decisions (model, effort, speed, topology and strategy) and four boundaries (scope, authority, proof and exit). When any of them is left implicit, the result is a change nobody scoped, a session with more authority than intended, or a report of done with nothing behind it.

Representative solution

The playbook gives each decision and boundary a default, a reason to move off the default, and a place on a one-screen run card that travels with the prompt. It ships as modular chapters, nine templates, four worked examples on fictional repositories, a Claude Code skill that drafts a run card and prompt without starting the task, and a single-file edition generated from the chapters.

It is unofficial, and not affiliated with, endorsed by, or certified by Anthropic. Its recommendations are the author's, and it was drafted with AI assistance (Claude Code). Unlike the four reference implementations, it is not a clean-room build: it is a generalized rewrite of the portable ideas in a private execution framework. It carries none of that framework's private names, systems, thresholds or data, and shares no text with it beyond public links and attributed vendor quotations.

Architecture

The modular documents are the only source. A build script generates the single-file edition and the skill's reference files, and fails in check mode when a generated file is stale. A separate checker enforces the repository's consistency rules. Versioned model names and prices live in one file with a verification date and source links, and a check fails if they appear anywhere else.

  • Sources

    The only hand-edited documents

    Framework

    • chapters 00 to 08
    • quick reference
    • model-data.md

    Kit

    • templates
    • worked examples
    • skill/execution-brief
  • Generated

    Built from the sources; a stale file fails the build check

    • single-file edition
    • skill reference files
    • release assets and SHA256SUMS.txt
  • Tooling

    • scripts/build.py
    • scripts/check.py
    • build-script unit tests
    • CI workflow
The source documents, what is generated from them, and the tooling that keeps the two in step.

Core components

  • Chapters 00 to 08.Overview, model selection, topology and strategy, prompt construction, authority and safety, workspace isolation, verification, fallback and escalation, completion and release.
  • docs/model-data.md.A dated snapshot of models, limits and prices with a link to each source page. Treated as a snapshot to re-check, not a fact to depend on.
  • templates/ and examples/.Nine copy-ready templates, and four worked examples: a routine task, an architectural change, a multi-agent workflow, and an independent security review.
  • skill/execution-brief.A Claude Code skill that drafts the run card and prompt. It drafts only; it does not start the task or change the session's model.
  • scripts/build.py and scripts/check.py.Generation, staleness checks and release packaging; and the consistency rules, including freshness.

Engineering decisions

  • Volatile facts in one file.Model names, IDs, limits and prices change often, so chapters and templates use tier names and only the model-data file carries versions, enforced by a check.
  • Generated, never hand-edited, distributions.The single-file edition and the skill's references are built from the chapters, so they cannot drift without a failing check.
  • A freshness rule instead of a promise.The checker warns when the model data's verification date is more than 90 days old, rather than the documentation claiming to stay current.
  • Drafting, not acting.The skill produces a brief for a person to review. It has no authority to start work.

Tradeoffs

  • Reasoned defaults, not measured ones.Nothing in the playbook was benchmarked against alternatives, so its settings are starting points, not validated results for any workload.
  • Tool specifics age.Commands and limits are cited to vendor documentation as of the verification date, and need re-checking.

Verified functionality

Checked on every push by the repository's CI, and re-run for this page:

  • Internal links and heading anchors resolve
  • Every template has a copy block, and every example is complete, has no unfilled placeholders, and contains every run-card field and template block it uses
  • Versioned model names and prices appear only in the model-data file and the examples
  • The single-file edition and the skill's reference files match their sources
  • Unit tests for the build script

Demonstration

The playbook is documentation, so its demonstration is its own verification: the consistency checker that runs in its CI, and a rebuild of the release that is compared byte for byte with what was published.

The checker is run with --today set to the observation date, because its freshness rule depends on the date: it warns once the model data is more than 90 days older than that.

Consistency checks

Command: $ python3 scripts/check.py --today 2026-11-10

all checks passed (35 Markdown files)
Exit code 0. Recorded output, unedited.Internal links and anchors, template copy blocks, example completeness, model names and prices confined to the model-data file, generated files in step with their sources, and the model data's verification date.

Rebuilding v1.0.0 and checking it against the published checksums

Command: $ python3 scripts/build.py --package > /dev/null && cd dist/release && curl -sSL https://github.com/Donovanfitch-dev/claude-execution-playbook/releases/download/v1.0.0/SHA256SUMS.txt | shasum -a 256 -c -

claude-execution-playbook-v1.0.0.md: OK
claude-execution-playbook-v1.0.0.zip: OK
claude-execution-playbook-skill-v1.0.0.zip: OK
Exit code 0. Recorded output, unedited.Every file rebuilt from the tagged commit matches the SHA256SUMS.txt attached to the published release.

Reproduce it

git clone https://github.com/Donovanfitch-dev/claude-execution-playbook.git && cd claude-execution-playbook
git checkout v1.0.0
python3 scripts/check.py
python3 scripts/build.py --package

Failure modes and limitations

  • No benchmarks.The suggested settings are reasoned defaults.
  • Illustrative examples.The example repositories are fictional, so their prompts have not been run against real code.
  • Smoke-tested, not benchmarked.Beyond the repository's format checks against the documented skill layout, the skill was run end to end five times during release preparation, in a fictional project, installed from a fresh clone as the README instructs. All five runs completed, each brief matched the templates (no missing run-card field, no leftover placeholder), and the project was left unchanged because the skill only drafts. Five runs are a smoke test. No broader evaluation or benchmark of the briefs' quality was done, which is why the README still says their quality has not been evaluated.
  • External links and model data are checked by hand.They are verified at release time, not on every push.

Testing and validation

On 2026-11-10, against commit 63c8a91, which the v1.0.0 tag points to: the build script's 14 unit tests passed, the consistency checker passed on 35 Markdown files, and the build's stale-file check exited cleanly. During release preparation, five functional smoke runs of the skill also completed, as described under failure modes and limitations; they are recorded in the release's private preparation notes, not in the repository. The three published release assets matched SHA256SUMS.txt, and rebuilding them from the tagged commit produced byte-identical files. The repository's GitHub Actions workflow, which also runs Markdown lint and verifies the checksums, concluded success on the same commit.


Source and documentation