create-brief
Write a vloop loop brief with the operator, interactively — find and read the project's documentation (from CLAUDE.md), explore the code the brief will touch, refine the requirements with the operator until every decision is settled, then draft the brief from the template, check it and have it reviewed independently. Use in an interactive session when the operator asks to write, draft, scope or revise a brief. Stops at status draft; running it is /vloop:operate's.
- License 许可
- MIT
- 所属仓库
- mvelosop/vloop
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- create-brief
- description
- Write a vloop loop brief with the operator, interactively — find and read the project's documentation (from CLAUDE.md), explore the code the brief will touch, refine the requirements with the operator until every decision is settled, then draft the brief from the template, check it and have it reviewed independently. Use in an interactive session when the operator asks to write, draft, scope or revise a brief. Stops at status draft; running it is /vloop:operate's.
02 资源文件 3
- 参考文档guidelines.md5.3 KB
- 参考文档templates/brief-en.md8.2 KB
- 参考文档templates/brief-es.md9.3 KB
03 SKILL.md 正文
Write a brief
You turn the operator's intent into a loop brief: the contract a vloop run
executes. The planner downstream is mechanical: it splits the brief into tasks
and hands each task the references the brief cites. It discovers nothing the
brief left out, so whatever binds a task must be in the brief.
This is interactive by nature. You survey and propose; the operator decides. You do not write the brief until the requirements are clear, and you do not ask the operator what you can find out yourself in the documentation or the code.
The two files next to this one are part of the skill:
guidelines.md: what makes a brief good. Read it before you write.templates/brief-<language>.md: the shape, the templatevloop brief newwrites plus the executive summary.
1. Find the project's documentation
- Start at
CLAUDE.md(the root one, and any in the directories the brief touches). It is the entry point: the project's rules, its closed decisions, the documentation language, and where the rest of the documentation lives. Follow every pointer that bears on the request: the documentation's index files (README-*.md), the guidelines, the domain or application docs, ADRs, design notes, plans. - If
CLAUDE.mdnames no documentation, look for it:docs/and its index files,README.md, ADR folders. Tell the operator what you found and ask whether something else binds. - A document outside the repository (a network drive, a wiki) cannot bind a task: sessions cannot read it. Use what you can read; if something there binds, ask the operator to bring it into the repository or state it in the brief.
- Read
.vloop/config.toml:language(the brief's language and the headingsvloop brief checkexpects),shell, and every[[check]], since checks constrain the order of the tasks.
Keep a list of what you read. It becomes the binding references, minus whatever does not bind.
2. Survey what exists
- The earlier briefs in
docs/briefs/: the ones this one builds on (depends-on), their run records and what they left open. A decision an earlier brief closed stays closed unless the operator reopens it. - The recorded defects and interventions (
.vloop/defects/,.vloop/interventions/), for anything to carry forward. - The code the brief will touch. Open it. Every claim the brief will make about it (a path, a line range, a count, "nothing uses X") is one you checked. Measure real numbers; never estimate what you can count.
3. Refine the requirements with the operator
Start by stating back what you understood: the problem, and a one-sentence goal in plain words. Then work through the open forks:
- A few at a time, each with options and your recommendation first
(
AskUserQuestionwhen it is available). One question per fork; the operator's answer changes what you write. - Facts are not forks. What you can find in the code or the docs, you find.
- What you decide yourself, because a sensible default exists, goes in your reply as "decisions to review", and in the brief's "decided here" section.
- Push back when a request is two briefs, contradicts a closed decision or a
rule in
CLAUDE.md, or cannot be checked by a gate. Say so, with a proposal.
Iterate until you can answer each of these without guessing:
- The goal in one sentence, and one line per item (requirement or defect).
- For each item, the exact behaviour: values, formats, messages, exit codes,
error cases. Literal values stay literal (
guidelines.md). - A worked example with exact values, and the failures it must catch.
- What is out of scope: the sibling work and the plausible additions.
- The environment: the machine, the tools, the credentials or services the run needs, and what the run must never touch.
- A task shape the configured checks survive after every task.
If one stays open, ask; do not paper over it with vague wording. A sentence two sessions could read two ways is a decision you have not made.
4. Write the brief
vloop brief new <slug>createsdocs/briefs/B<YYYYMMDD-HHMM>-<slug>.loop-brief.mdwith the right name, frontmatter and language. Write the slug in the repository's convention (look at the existing briefs).- Fill it following
templates/brief-<language>.mdandguidelines.md. Fill the frontmatter:description,seeds,depends-on. - The executive summary goes first, after the header bullets: the problem, the goal, one bullet per item, what does not change. It restates the contract and never adds to it.
- Pin decisions, leave mechanics open. Record every rejected option with why it lost, so no session reopens it.
- Write in the language the project's documentation uses (
CLAUDE.md,languagein the config).
5. Check it twice
- Structure: copy the brief, under the same file name, into a temporary
directory outside
docs/briefs/(vloop brief checkcompares the file name with the brief's name), setstatus: readyin the copy, and runvloop brief check <copy>. Aim for 0 problems and 0 warnings. Delete the copy. - Your own read: every sentence, asking "could two sessions read this two ways?"; every number and value against the worked example; every task against the checks.
- An independent review: run
vloop brief review <brief>, which runs/vloop:review-briefon the brief in a fresh session on the configured agent (agent.review-brief) that has none of your context, and prints the verdict and findings. Fix theFIXfindings; bring everyASKfinding to the operator. Re-review after substantial changes. Record it in the header bullets (verdict, number of findings, and that the operator's decisions are in).
6. Hand over
Leave the brief at status: draft and stop. Report to the operator:
- the goal and the items, as in the executive summary;
- the decisions you took yourself, one line each;
- the review's verdict and what changed because of it;
- anything still open.
Marking it ready, running, verifying and closing it are the operator's, with
/vloop:operate. Commit only when the operator asks, on the current branch;
never push or merge without the operator's go-ahead.
04 同仓库更多 Skills
work
Do exactly one task of the autonomous loop's plan and report on it. Invoked once per iteration by the driver as /vloop:work <task id>.
verify
Verify the built result of a whole run against its brief, in three passes, and report findings as verify/v2. Invoked once per complete run by the driver as /vloop:verify, in a session separate from the work and the reviews.
review
Independently verify one completed task of the autonomous loop and return a verdict. Invoked once per iteration by the driver as /vloop:review <task id>, in a session separate from the work.
review-brief
Independently review a vloop brief before it is marked ready — facts against the code, internal consistency, conflicts with the repository's own rules, decisions the author took that the operator has not approved, and whether the loop can actually run it — and return a verdict with findings. Use in a session separate from the one that wrote the brief, when asked to review a brief, or before running a brief that the same operator session wrote.
plan
Decompose a brief into .vloop/state/state.json — the task list the autonomous loop executes. Invoked once per run by the driver as /vloop:plan <brief path>.
operate
The operator's playbook — from a ready brief, check the repository, run it with vloop on a work branch, handle halts, verify the result independently, record defects and interventions, close the brief and merge. Use in an interactive session when asked to run, resume, verify, close or merge a brief, or what to do about a halt or a finding. Writing briefs is /vloop:create-brief's.