dev-plan
Write the implementation plan for an approved issue before any code exists. Use when asked to "plan issue 12", "write the plan for" a feature or issue, "plan this before building", when picking up an issue labeled planning, when an acked brief needs its technical approach worked out, or when dev-intake requests the inline plan for a small issue. Not for writing or approving the brief itself (dev-intake), not for executing an approved plan (dev-implement), not for architecture stack advice (dev-architect — this skill consults it while planning).
- License 许可
- MIT
- 最近更新
- 2026-09-25
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- dev-plan
- description
- Write the implementation plan for an approved issue before any code exists. Use when asked to "plan issue 12", "write the plan for" a feature or issue, "plan this before building", when picking up an issue labeled planning, when an acked brief needs its technical approach worked out, or when dev-intake requests the inline plan for a small issue. Not for writing or approving the brief itself (dev-intake), not for executing an approved plan (dev-implement), not for architecture stack advice (dev-architect — this skill consults it while planning).
02 资源文件 9
- 参考文档agents/openai.yaml199 B
- 参考文档evals/evals.json4.1 KB
- 参考文档evals/files/issue-58-brief.md1.8 KB
- 参考文档references/plan-format.md6.2 KB
- 脚本scripts/plan-lint.mjs8.8 KB
- 参考文档tests/fixtures/plan-overlapping-groups.md655 B
- 参考文档tests/fixtures/plan-with-groups.md641 B
- 参考文档tests/fixtures/trigger-queries.json1.6 KB
- 脚本tests/plan-lint.test.ts7.3 KB
03 SKILL.md 正文
dev-plan
Advise: turn the approved brief into the plan the operator approves and dev-implement executes, against the repo as it is now.
The planning stage: an acked brief goes in, an acked plan comes out, and only then does code exist. A medium or large issue is planned in a separate session from intake, because code drifts between the brief ack and the build.
Nearest neighbors: dev-intake owns the brief and its ack — this skill owns the how; dev-implement executes what this produces, task by task.
Every run
- Read
.vegastack/dev.md, thenvegafactory issue sync <n>and read the files it lists. Runvegafactory issue check <n> --for plan: it confirms theplanninglabel, the size, and a valid brief ack. Anything else at this door is either intake's inline request (below) or a misroute — say so. - Re-ground before planning — open the brief's touch points in the current code and verify the flow, names and shapes the plan builds on, because code drifts between approval and build. A claim that no longer matches reality goes back to the operator (
handbackcomment,waiting-on-operator). - Stack-bearing choices (schema, hosting, services, jobs, auth) check
dev-architect— its verify protocol governs platform claims, and no plan re-proposes a recorded rejection.
The questionnaire
Numbered rounds over the full frontier (every open question whose prerequisites are settled), each question carrying a recommended answer so the operator can reply "all recommended":
- Approaches — two or three candidates with the trade-off that matters and one recommendation, because a single option is a decision dressed as a question.
- System design — schema, interfaces, migration shape, failure modes; what breaks at the edges.
- Risk — blast radius, what a rollback looks like, what should stop a dark run beyond the standing stop-list.
- Brief challenge — anything planning revealed the brief missed or got wrong goes back to the operator as a question, because a brief gap absorbed into the plan is a decision the operator did not make.
Rounds go out by the ask route (references/ask-route.md); an issue-routed round stops the session at waiting-on-operator and the next run parses the reply before re-asking anything. A vague or self-contradicting answer gets pushback with concrete options — simple words, a mermaid or ASCII sketch in the issue when a picture beats prose (conventions' collaboration rule).
The plan
Give every task its stable <issue>-T<n> identity before approval. Post one comment per plan-format: Goal · Approach (alternatives named) · Constraints · ordered - [ ] tasks, each with exact Files, an Interfaces block (consumes/produces with exact signatures), and Steps that put the failing test before the code. Before posting:
- Walk the brief section by section per plan-format's self-review — every requirement points at a task, names match across tasks, no banned placeholder.
- Tasks inside one issue run in order. For a
largeissue, the plan splits the work into small/medium sub-issues instead; each sub-issue's brief lists the files it touches, so siblings with no overlap (and no generated files, migrations, lockfiles orpackage.json) can run in parallel. A worker runs disjoint groups at the same time; without a declared group, siblings run one at a time. - Run this skill's plan-lint:
node <path-to-this-skill>/scripts/plan-lint.mjs --file <draft> --json; exit 2 = fix before posting (placeholders and structural gaps block).
Checkboxes belong to the implement session and post empty, because dev-status reads a ticked box as progress.
Labels and acks
Post a new plan with vegafactory issue comment and move the issue to waiting-on-operator (vegafactory issue label <n> --state waiting-on-operator), assigned to the operator. When the operator acks it — in the issue or in this session — record it with vegafactory issue ack <n> --stage plan --by <login> --quote "<their words>" --source comment:<id>|session; anything else they say is input to fold into the plan. Then confirm with vegafactory issue check <n> --for implement, move the issue to queued and unassign; stop — building is dev-implement's.
The ratchet — one home, this file
- Upgrade (any time, no permission needed to propose): planning reveals the work is bigger than its scope label — a
smallissue that needs real design, amediumone that is actually several deliverables. Stop, post onehandbackcomment proposing the new size or the epic split (parent map + sub-issues, each sized fresh),waiting-on-operator, assigned to the operator. A plan runs about one screen per task — Files, Interfaces, Steps — and a plan approaching GitHub's ~65,536-character comment cap is the slicing telling you it wants to be an epic. - Downgrade (operator's yes only): planning reveals the work is trivial — propose making it
smallwith the brief's inline approach, and wait for the yes.
Small-issue inline mode
Invoked from inside dev-intake's conversation, after the brief has consensus: same format, proportionally small (a four-item task list is a fine plan), posted as the plan comment alongside the brief. The operator's single ack covers both (--stage plan) — no planning stop, no second exchange. The re-grounding step collapses to what intake already read; the ratchet still applies.
04 同仓库更多 Skills
skills-refresh
Re-verify the dated platform and harness facts the dev skills pin, and file what changed as issues. Use when asked to "refresh the skills", "check the pinned facts", "are our platform facts still true", "run the facts sweep", "what changed in Cloudflare/Next.js/Claude Code since we last checked", when a fact is older than the 60-day window, or when a scheduled refresh run starts. Not for editing skill prose (dev-implement builds the issues this files), authoring or auditing a skill (skillify), or architecture advice from those facts (dev-architect).
beta
fixture
alpha
fixture
beta
fixture
alpha
fixture
alpha
fixture