DokuDocs
Playbooks

Playbooks

A Playbook is a reusable, outcome-driven recipe for agent-assisted work.

A Playbook packages repeatable work so another agent can pursue the same result with explicit Variables, bounded access, a task graph, and completion proof. It is more than a prompt and more than a checklist: it defines the contract around the work.

The Playbook model

PartWhat it answers
OutcomeWhat user-facing result should this Run make true?
ClaimWhat must be true, and what evidence would prove it?
VariableWhat information may the agent need?
CapacityWhat external ability or connector access may the work require?
SkillWhat reusable operating guidance should the agent load?
MilestoneHow is the work grouped into meaningful stages?
TaskWhat bounded unit of work can become runnable?

Source-backed packages

Each Playbook lives in its own Playbook Repository. The canonical package definition is playbook.doku.ts; supporting instructions and page content live beside it. Doku builds and validates that source before it can become a Published Playbook Version.

A minimal repository begins like this:

playbook.doku.ts        # typed Playbook definition
doku.config.ts          # package kind and stable package identity
README.md               # repository notes
instructions/           # optional task instruction files
page/content.md         # optional user-facing Playbook page copy

Design from the result backward

Start with the Outcome, not the task list.

  1. Write the result in language a user would recognize.
  2. List the Claims that would make the result trustworthy.
  3. Define the evidence required for each Claim.
  4. Declare the Variables and Capacities needed to do the work.
  5. Create Tasks that produce the evidence and satisfy the Claims.
  6. Group Tasks into Milestones that make progress legible.

This order keeps the Playbook outcome-driven instead of turning it into an unverified sequence of instructions.

Next

Author a Playbook or go deeper on Outcomes and Claims.

On this page