Skills Getting started Skills GitLab Hub

write-tech-epic-plan

Writes or revises an epic plan — its outcome, the real problems it solves, task boundaries, cross-task dependencies, epic acceptance, and proof. Use when an epic MR is drafted, or when a merged epic is split into task plans.

Synopsis

User-invoked. Name this skill when you want the agent to apply it. disable-model-invocation is true.

Source file: skills/write-tech-epic-plan/SKILL.md.

Front matter

name
write-tech-epic-plan
description
Writes or revises an epic plan — its outcome, the real problems it solves, task boundaries, cross-task dependencies, epic acceptance, and proof. Use when an epic MR is drafted, or when a merged epic is split into task plans.
disable-model-invocation
true

Full contents

---
name: write-tech-epic-plan
description: Writes or revises an epic plan — its outcome, the real problems it solves, task boundaries, cross-task dependencies, epic acceptance, and proof. Use when an epic MR is drafted, or when a merged epic is split into task plans.
disable-model-invocation: true
---

# Write an epic plan

Read [write-tech-core](../write-tech-core/SKILL.md) first.

An epic plan answers three questions: what this epic makes true, which pieces
can ship on their own, and what order the dependency graph forces. It is not a
directory listing, and it does not plan how any single task is implemented.

## Template

```markdown
# <Epic outcome>

**Outcome:** what is true when the epic is done.
**Spec:** `.slopkit/specs/<slug>/SPEC.md`.            (only when true)
**Delivery shape:** size · shape · one-sentence rationale.

## Problem and evidence
## What the epic delivers
## Out of scope
## Tasks and order
## Risks that shape the split
## Acceptance criteria
## Proof
## Open decisions
```

## Problem and evidence

The problem the epic exists to solve, with the observation that proved it: a
failing schedule, a repeated support question, a security review finding, a
customer report. Cite the source. Do not restate the spec.

## What the epic delivers

The behaviour a reader gets when every task has landed, written for that
reader. Out of scope is a separate list and is required.

## Tasks and order

One task per independently reviewable end-to-end behaviour. A task is a
vertical slice: it cuts through the layers the behaviour needs, so a reviewer
can accept or reject it on its own.

- The count follows from the work. Keep it a reasonable number for one epic.
  When it does not fit — when the tasks would ship as separate products, or a
  single epic would carry a dozen tasks — split the work into more epics
  instead of growing this one.
- Split by functionality, not by layer. Never create a task whose subject is
  "write the tests", "update the docs", "wire it up", or "refactor first".
- Never create a task that only verifies work another task delivered.
- Order by dependency, not convenience. Schemas, contracts, and interfaces
  come before their callers; risky shared-state changes come early enough to
  fail cheaply.
- A task with no blocker says `—`. A blank cell hides whether ordering was
  considered.
- Each row says what the task delivers, not which files it touches. The
  developer decides the files.

```markdown
| # | Task | Blocked by | Delivers |
| --- | --- | --- | --- |
| 1 | Relay refuses an unsigned webhook | — | a forged request gets 401 and no session |
| 2 | Session token cannot push the default branch | 1 | a session push to `main` fails with a named error |
| 3 | Cleanup archives then deletes `test-*` projects | — | a leftover project is gone after two schedules |
```

The task's own acceptance criteria belong in the task plan. The epic states
the behaviour each task owns, so the split can be judged before any task
exists.

## Risks that shape the split

Only risks that change the order or the boundaries: a contract that must
exist before two tasks can start, a migration that cannot be reversed, a
dependency on another repository. Say which task absorbs the risk.

<!-- fragment:acceptance_template -->
## Acceptance criteria

Write each criterion as external behaviour: the actor, the starting state, the
action, and the result. Add the denial or failure path when one exists. A
developer must be able to deliver the criterion, and a reviewer must be able to
see that it holds.

Do not describe how the criterion is tested. Evidence belongs under Proof, and
a check is not the behaviour it checks.
<!-- /fragment:acceptance_template -->

Epic-level criteria describe the behaviour at the end of the epic. A criterion
that can only hold after task 2 belongs under task 2, not here.

<!-- fragment:proof_template -->
## Proof

Record evidence that each acceptance criterion holds. Any form counts: a
command and its output, a log line, a screenshot, a recording, a page the
reader can open, a pipeline job. Name what you ran or where you looked, and
include the part of the result that settles the question.

Choose the evidence the behaviour needs. A narrow check does not prove a wide
behaviour, and a wide check is noise when one line settles it.
<!-- /fragment:proof_template -->

## Open decisions

Only decisions that block the split. Name the person who decides.

## Self-check

1. Does every task deliver a behaviour a reviewer could accept alone?
2. Does any task exist only to support another task's plumbing or tests?
3. Is the order justified by a stated dependency, or by habit?
4. Does any acceptance criterion name a check instead of a behaviour?
5. If the tasks landed one by one, would each leave the system working?