plandesk-scope-work
Turns raw signal or a whole idea into board-ready Plan Desk tasks: dedups submissions, a backlog, or a brain-dump into `scope` tasks with provenance, and scaffolds an idea, RFC, or PRD into tasks, edges, lanes, and a Design doc in one call. Use when asked to triage a backlog or submissions, sort a brain-dump into tasks, plan a feature onto the board, or decompose a Goal, even when Plan Desk is not named.
- License 许可
- MIT
- 最近更新
- 2026-10-04
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- plandesk-scope-work
- description
- Turns raw signal or a whole idea into board-ready Plan Desk tasks: dedups submissions, a backlog, or a brain-dump into `scope` tasks with provenance, and scaffolds an idea, RFC, or PRD into tasks, edges, lanes, and a Design doc in one call. Use when asked to triage a backlog or submissions, sort a brain-dump into tasks, plan a feature onto the board, or decompose a Goal, even when Plan Desk is not named.
- argument-hint
- [backlog | submissions | <brain-dump> | <idea, RFC, or PRD>]
- user-invocable
- true
02 资源文件 6
- 参考文档references/convert-design-doc.md897 B
- 参考文档references/decomposing-a-goal.md1.1 KB
- 参考文档references/dedup-precision.md252 B
- 参考文档references/gotchas.md433 B
- 参考文档references/offer-groom.md400 B
- 参考文档references/prior-art.md627 B
03 SKILL.md 正文
Scope work onto the board
One skill, two shapes of input. Both end the same way: reviewable tasks in
scope, each with a lane and a traceable reason for existing.
| mode | input | produces |
|---|---|---|
signal |
submissions, the backlog column, or a pasted brain-dump |
deduped tasks, one decision per item |
plan |
an idea, RFC, PRD, or a Goal to decompose | a whole WBS — tasks, edges, and a Design: doc, in one atomic call |
Pick by what you were handed: a pile of items that already exist is signal;
one thing that needs breaking down is plan. When a brain-dump describes a
single coherent initiative rather than a list of unrelated asks, treat it as
plan — the edges matter more than the dedup.
Lane: approve. Everything here lands as a proposal, and the scope → todo
release is the resolution of that proposal — a separate act from making it.
This skill never performs it: a plan is not evidence that the plan was
accepted, and an intake that releases its own output has reviewed nothing.
Who may perform that release is decided elsewhere — by default a human, and under autonomy an agent with its reasoning posted first. Either way it is a decision taken after this skill returns.
Rules both modes share
- Never create a task as
todo.scopeis the only valid status out of this skill, with one exception: the human driving the session explicitly said to release something ("plan this and start the first chunk"). A plan is not evidence that the work is approved. - Draft against the Definition of Ready in groom-task — the one readiness bar this project keeps. Source material rarely clears every row; draft what it supports, never invent the rest, and leave the unmet rows for groom to finish.
- Decision tasks for open questions. When decomposition surfaces a question
whose answer changes what gets built — a schema tradeoff, a product choice, a
dependency call — create a
decisiontask (kind: 'decision',status: 'scope') rather than folding a guess into a build task's description. A guess written as a spec is indistinguishable from a decision to whoever reads it next. Creating a decision task records the question; it does not answer it. This skill does not resolve decision tasks — that is a conversation, and autonomy already forbids an agent settling a call that belongs to a human. - Refer to board items by name in narration and comments — see
.plandesk/skill.md. Ids are for tool calls. - Label in house style — imperative and outcome-focused, "Verb Noun in Location", so the label alone says what done looks like.
- Assign a lane by blast radius (
auto/approve/full, from lanes.md) and a severity (low/medium/high), using the task's typed fields. - Record provenance on everything created or merged (see below).
Mode signal — a pile of items
Normalize each item to { id, title, body, source_ref } first, where
source_ref is a submission ID, a backlog task ID, or "text:<n>" for a
brain-dump line.
submissions→list_submissions(project_id, status: "pending")backlog→list_tasks(project_id, status: "backlog")— the default when no mode is giventext→ the pasted block, one item per paragraph or marked line
Then, for every item in order:
- Cross-check open work.
list_tasks(project_id)across all statuses and compare against every existing label and description. A match is a duplicate when it describes the same problem or outcome — not merely the same area. When unsure, prefer merging over creating a near-duplicate.
Read references/prior-art.md when a near-match is already done.
2. Decide exactly one outcome:
reject— noise, already shipped, or out of scope. Leave the source untouched. For a submission, do not calltriage_submissionunless the item is unambiguous spam; when in doubt, leave itpending.accept-new— genuinely new.create_task(status: "scope", ...).accept-merge— a duplicate. For a submission,triage_submission({ submission_id, action: "accept", link_task_id }). For a backlog or text item, comment on the surviving task and leave the original in place pointing at it — there is no delete tool by design.pending— ambiguous or high-severity. Do not force it. Post a comment describing the fork and let a human decide. Every item gets a decision or an explicit "needs a human"; silently dropping one is the failure mode.
- Comment the reasoning — even for
rejectandpending, so the decision is traceable later.
Read references/dedup-precision.md when dedup matching proves unreliable.
Mode plan — one thing to break down
1. Frame the problem
A few sentences: what must change, why now, what "done" looks like at the project level. From an RFC or PRD this is a restatement, not new analysis. From a raw idea with no scope boundary — "make the app better" — ask before scaffolding; a WBS on an unbounded ask produces a plan nobody can execute.
2. Build the WBS with real edges
Read references/convert-design-doc.md when the source is a Plan Desk document with a decomposition sketch.
Each node is one task-sized unit. For each, decide its dependencies and express
them as edges (blocks, depends_on, feeds, enables, unblocks,
clarifies, supports). A plan with no edges is a list, not a graph —
get_next_task only sequences correctly when the edges are real. Group related
tasks on the canvas (~200 units apart), blockers above what they block.
Pull the interfaces, pseudocode, and validation detail out of the source RFC and into each task's own description, so a worker executes the task without re-reading the parent. Descriptions stay consumer-clean — link a Plan Desk document rather than citing an external ticket ID inline.
3. Write the Design doc
One document, Design: prefix, linked to the entry-point task. It carries the
one-liner, why this shape (the tradeoffs the WBS encodes), what is explicitly
out of scope, and sequencing notes. If the source was already an RFC, link it
rather than restating it — the Design doc is the board-native index.
4. Make one call
scaffold_project_from_plan({
project_id?, name?, description?, // project_id → add to it; else name → new project
tasks: [{ key, label, description, status, x, y }, ...],
edges: [{ from: key, to: key, label }, ...],
documents: [{ title, body, link_to: key, status_line }, ...],
})
Give every task a stable key you choose (c1, auth-migrate) and reference
those keys — never IDs — in edges and link_to. The response's key_to_id
map is how you find real IDs afterward. It is atomic: the whole plan lands or
none of it does.
When the repo is already bound, always pass project_id from
.plandesk/config.json. Omitting it creates a second project duplicating the
bound one — the most expensive mistake available here, because the board splits
and neither half is complete.
Reach for create_task / create_edge / create_document only for a one-off
single addition.
Decomposing a Goal
Read references/decomposing-a-goal.md when the input is a Goal.
Provenance — why each task exists
Automated task creation is only trustworthy when every task traces to what caused it. A task nobody can explain back to a request is the vacuous structure the board exists to prevent.
Every accept-new, accept-merge, or promotion records { sources, reason }
in two places, because they serve different readers:
- In the description — the first line of the References section, so a
human scanning the
scopecolumn sees it without opening anything:Provenance: <decision> — <reason> (source: <id>[, <id>...]) - In a comment — the full context, via
add_commenton the task's linked document, or a project note titledScope work — <date>listing every decision from that run. Batch a run's decisions into one note; it reads as a session log rather than board clutter.
sources is always plural-capable — merging three duplicate reports lists all
three. reason is one human-legible clause explaining why this became a task
or why it merged, not a restatement of the label.
This rides on existing fields. Do not propose a dedicated provenance column; it is a courtesy to the reviewer, not a stored primitive.
When you are done
Stop. Assign the lanes, then hand back — the scope → todo release happens
after this skill returns, by whoever lanes.md says may
make it. Do not start executing the plan you just scaffolded unless the human
asked for that in the same request.
Read references/offer-groom.md when any task landed thinner than the Definition of Ready.
Gotchas
Read references/gotchas.md when scaffold_project_from_plan fails or a brain-dump mixes shapes.
References
groom-task (the Definition of Ready this drafts
against, and where thin drafts get finished);
plan-writer (authors the RFC this consumes);
foreman (executes what a human releases);
autonomy (the human-gate rule);
.plandesk/skill.md (task, document, and edge conventions);
lanes.md (lane vocabulary and the stop-after-intake rule).
04 同仓库更多 Skills
connecting-agents
Agent conventions for Plan Desk MCP — task labels, docs, notes, files, artifacts, sharing, edges, and agent runs.
.plandesk
暂无简介
plandesk
暂无简介
plandesk-timebox
暂无简介
plandesk-standup
暂无简介
plandesk-standdown
暂无简介