DeepWorkPlan — Methodology Skill (Router)
Models matter; context matters more. The
DeepWorkPlan skill turns any
repository into a structured environment — context, guardrails, and a durable
plan — where any coding agent executes reliably on short or long work. It makes
the repository "AI-first" —
+
+ per-module docs +
(with the
and
symlinks) — and runs structured
Deep Work
Plans: Lite plans for bounded work and Full task-file plans for longer work;
an AI agent creates, refines, executes task-by-task,
and resumes. All plan output lands in a gitignored
directory
at the repo root (
).
Source of truth:
https://deepworkplan.com. License: MIT.
Start here (first run)
This skill is a self-sufficient entry point: whether a developer arrives from
https://deepworkplan.com/init.md or simply installs this skill, the setup plan
is the same — and it lives here, so no network is required.
If the repository is not yet AI-first — there is no root
and no
directory — the recommended first action is to
onboard it, even if
the developer's request was vague ("set this up", "make this repo AI-first", or a
plain install). Before routing anywhere else:
- Read the standard locally. Read (five RFC-2119
documents) and . The overriding
rule is REASON, do not copy-paste: this skill is the reusable engine; what
you produce must be adapted to this repository, never templated.
- Run onboarding. Read and execute it.
It is non-destructive: detect existing , , , or
, reconcile rather than overwrite, and ask the developer before
replacing anything. The result: + symlink, a reasoned
tree, per-module docs, a kit, and a gitignored — the
repository becomes the agent harness.
- Verify conformance. Read and run it to
confirm, objectively, that the repository now meets the standard (AGENTS.md with
real commands, the catalog, the gitignored , and so on).
- Then plan and execute. With the harness in place, create and execute Deep
Work Plans (below) — long-horizon, gated, resumable work an agent can run
autonomously for hours.
If the repository is already AI-first but its harness predates this skill —
/
exist, yet there is no
provenance line,
the provenance line is older than the standard shipped here, or
lacks the scoped-invocation and mapping content the
standard requires —
offer the targeted harness upgrade before routing:
reinstalling the skill is the whole upgrade path, so no separate installer
exists. Say in one line what is out of date, then run
in
mode (Phase 0), which
reconciles
only the missing or outdated pieces, leaves every handwritten
section, custom skill and in-flight plan untouched, and changes nothing on a
second run. An in-flight plan keeps its recorded lifecycle; migrating one is a
separate, explicit
. If the developer declines, route by intent
as normal.
If the repository is already AI-first and current, skip onboarding and route
by intent silently — do not announce the detection or the routing decision
(no "the repo is already AI-first" / "routing to the create sub-skill"
preamble). Just begin the matched sub-skill's flow directly.
What it does
This is the
router. It does not run any flow itself — it maps the
developer's intent to the right sub-skill and tells the agent to read that
sub-skill's
and execute it there.
Trust boundary (write scope)
includes write-capable
,
, and
because the
sub-skills this router delegates to need them; the router itself only
reads
(the repo tree, the local
,
, and sub-skill files). Writes happen
inside the delegated sub-skill, each of which declares its own trust boundary:
- Onboard writes , , per-module docs, , and
appends to — reconciling with, never clobbering, what exists,
and asking before replacing anything.
- Create / refine write plan artifacts under the gitignored
directory only.
- Execute / resume write task outputs, progress, and per-task commits —
gated by each task's validation, never committing secrets, never pushing
without the developer's instruction.
- Addons install or configure anything only after the developer explicitly
accepts the offer, always via pinned, verified install paths.
It MUST NOT: make network calls in the core flow, read or commit credentials,
run installers unprompted, or write anywhere outside the surfaces above. The
full guarantees and a runnable self-audit live in
.
For the agent — routing rules
When the developer wants to plan, execute, or manage structured work, or make a
repo AI-agent-ready, match the intent below and
read that sub-skill's
to execute it. Do not answer directly — each sub-skill carries the
full step-by-step flow.
| Developer says… | Route to |
|---|
| "create a plan", "plan this small fix", "organize this work", "new deep work plan", "/dwp-create" | Create → read |
| "execute the plan", "run the plan", "/dwp-execute" | Execute → read |
| "modify the plan", "change the scope", "/dwp-refine" | Refine → read |
| "resume", "continue the interrupted plan", "/dwp-resume" | Resume → read |
| "plan status", "what's left", "/dwp-status" | Status → read |
| "verify", "is this repo AI-first?", "check conformance", "/dwp-verify" | Verify → read |
| "make this repo AI-first", "onboard this repo", "set up AGENTS.md + docs + .agents" | Onboard → read |
| "create/update a skill or agent", "evolve the kit", "/skill-create", "/agent-create" | Author → read |
If the intent is ambiguous between planning and managing existing work, ask the
developer which they mean before routing.
Normative specification (ships with the skill)
The methodology's authoritative standard lives at
—
five RFC-2119 documents (
,
,
,
,
). It ships inside the skill so an agent
reads the standard
locally — no network needed. The
flow and
reference it as the standard to produce. The public,
rendered version lives at
https://deepworkplan.com/spec.
Shared resources used by every sub-skill
- — detect repo root, branch, and agent
tool; resolve the output location.
- — the +
output convention and how to override it.
- — the reasoning-over-copy-paste
principle and the two repository archetypes (individual repo vs orchestrator
hub).
shared/troubleshooting.md
— read only when
something is already wrong: discovery failure, stale installation, missing
test command, unsupported host capability, inconsistent state.
Addons — one required local review, four opt-in
The
area holds the capabilities the
flow layers onto a repo. The
AI Diff Reviewer local review is part of the
baseline since standard 2.3.0 (installed by
Phase 7a, run by every
Final Review; its CI surface stays optional). The other four addons are
opt-in and never part of the AI-first baseline — a repo is fully conformant
with zero optional addons. The first optional addon is devcontainer support.