Write or revise the executable plan for one phase of a project under a mandate - ordered tasks that each end in an acceptance check, exit criteria that can fail, prohibitions, and the gates the phase will reach. Use when a phase in the status table has no doc yet, when the user asks to "plan the next phase", "break this down", "write the plan for X", or when reality has contradicted an existing phase doc and it needs correcting.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Phase?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mohamedbechirkefi-phase)
---
name: phase
description: Write or revise the executable plan for one phase of a project under a mandate - ordered tasks that each end in an acceptance check, exit criteria that can fail, prohibitions, and the gates the phase will reach. Use when a phase in the status table has no doc yet, when the user asks to "plan the next phase", "break this down", "write the plan for X", or when reality has contradicted an existing phase doc and it needs correcting.
argument-hint: "[phase id or title]"
---
# Plan a phase
A phase doc is the authority for one phase. It exists so that "done" is decided before
the work starts, by checks that can fail, instead of afterwards by how the result feels.
Phase: $ARGUMENTS
## Before writing
- Read the charter line(s) this phase serves. If it serves none, it should not exist.
- Read the code or material the phase touches. A plan that states facts about a system
must have looked at that system: wrong facts about a dependency are the most common
defect in plans.
- Check the preconditions actually hold. A phase that depends on a measurement does not
start with a guess in its place.
## Write it
Copy `.mandatum/templates/phase.md` to `.mandatum/phases/<ID>-<slug>.md` and fill it.
**Tasks** are ordered and small enough that each one ends in an observable result. Every
task closes with an acceptance line naming the check and the passing result:
> 3. Add the import parser.
> Acceptance: `pytest tests/test_import.py` exits 0 with at least the twelve cases in
> `tests/fixtures/import/`, each of which has a hand-written expected output committed
> before the parser exists.
Weak acceptance lines to rewrite: "works", "is implemented", "looks right", "reviewed".
**Expectations come first.** Where a task produces output to be judged (a model's
answers, a benchmark, a migration), the task that writes the expected results comes
before the task that produces the output. Once you have seen the output you can no longer
write an unbiased expectation for it.
**Exit criteria** are the phase-level version: a short list, each with how it is checked.
Include at least one criterion the phase could plausibly fail. If the bar includes the
owner's own judgment (a design, a piece of writing), write "owner's verdict" as a
criterion and expect to loop.
**Prohibitions** name the shortcuts that would look like progress: relaxing a failing
test, tuning on the held-out set, changing the baseline after seeing results, widening
scope.
**Gates this phase reaches** lists every point where work will stop for the owner, so the
requests can be put to them early and together.
**Unknowns** names what could make the plan wrong and the cheapest test for each. Put
those tests at the front of the task list.
**Written output** names the report or documentation section drafted during this phase.
A phase is not closed with its writing still owed.
## Have it attacked
Before executing an M or L phase, give the doc to the `refuter` agent with the charter
and the relevant code. Ask specifically for: tasks whose acceptance cannot fail,
circular preconditions, statements about existing code that are false, and exit criteria
that the tasks do not actually establish. Check each finding yourself, fix the real ones,
and note in the doc that it was reviewed and when.
For a small phase, reread it once as someone who wants it to fail. That is enough.
## Register it
Add or update the row in the Phases table of `.mandatum/STATUS.md` with the doc's path
and state `planned` or `active`. If the phase map in the charter no longer matches, that
is a charter amendment for the owner, not a quiet edit.
## Revising a phase mid-flight
When reality contradicts the doc, change the doc and record why
(`mandatum decision "Revise <ID>: <what changed>"`). Never revise an exit criterion
downward in the same session that failed it without telling the owner: put it under
"Open questions for the owner".