Enforces design review gate after brainstorming — bridges superpowers:brainstorming into the metaswarm quality pipeline
中文简介正在准备中。当前显示原文说明。
Analyze the current session and write a self-contained handoff document so a fresh agent can resume the work with full context — outputs a single "Read XXX.md and do YYY." sentence
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Capture everything a fresh agent with zero prior context needs to resume the current work, write it to a single self-contained markdown document, and hand it off with one unambiguous sentence:
Read
docs/handoffs/<file>.mdand do<the next concrete action>.
Use this when a session is ending, when context is about to be compacted, when you are switching machines or sessions, or when the user explicitly asks for a handoff. The goal is zero context loss: the receiving agent should be able to act correctly after reading exactly one file.
This skill produces exactly two things:
A handoff document at docs/handoffs/handoff-<YYYY-MM-DD-HHmm>.md (created if the directory does not exist). It is comprehensive, self-contained, and links to — or quotes — every artifact the next agent must read.
A single closing sentence, and nothing else after the document is written, of the exact form:
Read docs/handoffs/handoff-2026-06-17-1432.md and do <YYY>.
Where <YYY> is one concrete, actionable next step (an imperative, not a vague theme). Good: "implement the parseConfig validation in src/config.ts:84 and make tests/config.test.ts pass". Bad: "continue the work" / "look into the config stuff".
The sentence is the deliverable the user hands to the next agent. The document is what makes that sentence safe to follow.
Review the session to date and answer, concretely:
Pull from: the user's original request, any GitHub Issue (gh issue view <n>), the design/plan docs, and the arc of the conversation.
If this project uses metaswarm's context persistence, read and fold in whatever exists — do not duplicate it blindly, summarize and link:
ls .beads/plans/active-plan.md # the approved plan (if mid-execution)
ls .beads/context/project-context.md # completed work units, patterns, tooling
ls .beads/context/execution-state.md # current work unit, phase, retry count
bd prime --work-type recovery 2>/dev/null # reload plan + state + knowledge, if beads present
If an active plan exists, the handoff must point to it explicitly and state which work unit/phase is in progress.
Be honest and specific about state. Distinguish clearly between:
Capture the working tree reality so the next agent is not surprised:
git branch --show-current
git status --short
git log --oneline -10
git diff --stat
Note uncommitted changes, stashes, and whether the branch is pushed.
List every artifact the next agent must read before acting, and for each one say why and what to look for. Categories to sweep:
docs/plans/*-design.md and any approved design..beads/plans/active-plan.md, docs/plans/*-plan.md.file:line anchors that are the focus of the work, plus any pattern files to imitate..coverage-thresholds.json, CLAUDE.md rules, CI config that the change must satisfy.Prefer precise pointers (src/foo.ts:120-145) over whole-file references. If something is short and load-bearing, quote it directly into the handoff so the next agent does not have to hunt.
YYY)Pick the one most important, concrete next step. It must be:
Create docs/handoffs/handoff-<YYYY-MM-DD-HHmm>.md using the template below. Fill every section; write "None" where a section genuinely does not apply rather than deleting it.
After writing the file, verify it (Step 8), then output the single sentence — exactly one line, the literal file path, and the concrete action. Do not add commentary after it.
Confirm, as if you were the receiving agent who knows nothing:
ls/git)?# Handoff: <short title of the work>
**Date**: <YYYY-MM-DD HH:mm> · **Branch**: `<branch>` · **Author session**: <model/agent>
## 1. Objective
<1–2 sentences: what we are trying to accomplish and why.>
## 2. Definition of Done
- [ ] <verifiable acceptance criterion>
- [ ] <…>
## 3. Current Status
**Done & verified:**
- <item> (evidence: <tests/commit>)
**Done, not yet verified:**
- <item>
**In progress (stopped here):**
- <the exact thing being worked on, and where/why it paused>
**Not started:**
- <remaining item>
### Working tree
- Branch `<branch>`, <pushed/not pushed>
- Uncommitted changes: <git status --short summary, or "clean">
- Recent commits:
- `<sha>` <subject>
## 4. Required Reading (read these before acting)
| # | Path / reference | Why it matters | What to look for |
|---|---|---|---|
| 1 | `<path-or-issue>` | <reason> | <specific thing> |
| 2 | `<path:line>` | <reason> | <specific thing> |
## 5. Key Decisions & Rationale
- **<decision>** — <why; what alternatives were rejected and why>. Do not undo without reason.
## 6. Code Map
- `<file:line>` — <what lives here / its role in this task>
- Pattern to imitate: `<file>` — <why>
## 7. How to Verify
```bash
<test command> # e.g., npm test
<coverage command> # reads .coverage-thresholds.json
<lint/build command>
```
Expected: <what green looks like>.
## 8. Open Questions / Blockers
- <question needing the user, or external dependency> — or "None"
## 9. Next Action
<The single concrete next step — the YYY — expanded with any detail the one-liner can't hold.>
## 10. Remaining Work (after the next action)
1. <subsequent step>
2. <…>
Read <file> and do <action>. line./prime (which loads knowledge into a session) by serializing context out of a session for the next one..beads/plans/active-plan.md and .beads/context/execution-state.md rather than restating them, so the next agent can bd prime --work-type recovery and then read the handoff for the human-readable narrative./self-reflect separately to capture durable learnings into the knowledge base; /handoff captures this task's transient state to resume it.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Enforces design review gate after brainstorming — bridges superpowers:brainstorming into the metaswarm quality pipeline
中文简介正在准备中。当前显示原文说明。
Create comprehensive GitHub issues with TDD plans, acceptance criteria, and agent instructions for autonomous PR lifecycle management
中文简介正在准备中。当前显示原文说明。
Automatic review gate that runs after brainstorming completes - spawns PM, Architect, Designer, Security, and CTO agents in parallel, iterates until all approve
中文简介正在准备中。当前显示原文说明。
Delegate implementation and review tasks to external AI CLI tools (Codex, Gemini) with cross-model adversarial review
中文简介正在准备中。当前显示原文说明。
Address PR review feedback systematically — fetch inline comments, review bodies, handle outside-diff-range comments, resolve threads with proper attribution
中文简介正在准备中。当前显示原文说明。
Migrate from npm-installed metaswarm to the marketplace plugin — removes redundant files with safety checks
中文简介正在准备中。当前显示原文说明。