一键导入
batch-to-build
Execute an authorized batch with subagents, validate, update statuses, and write build log.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute an authorized batch with subagents, validate, update statuses, and write build log.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert a PRD, design doc, or feature requirements into work/kanban.md and work/SUBAGENT.md for multi-agent implementation planning. Planning only. Sub-command: install for Claude Code trigger rules.
Create work/PRD.md from work/idea.md. Enforces No-New-Fields Rule; gates eagerly when idea.md is sparse.
Advance PraxisKit by one or more steps from work/praxiskit-context.md. Single mode by default; budget mode loops until a checkpoint, blocker, completion, or budget. Never auto-authorizes execution or acceptance.
Create work/task-graph.md and work/SUBAGENT.md from work/PRD.md. Pre-flight-validated; planning only.
Produce work/review.md from build evidence, surface the accept/revise/continue/not-yet decision, archive the iteration, and reset work/ for the next loop.
Create work/idea.md from a rough seed; gate missing user-owned fields. Eager-gate on sparse seeds.
| name | batch-to-build |
| description | Execute an authorized batch with subagents, validate, update statuses, and write build log. |
Execute one authorized batch. Scheduling belongs to task-graph-to-batch; this skill implements, validates, closes bookkeeping, and stops before acceptance.
work/execution-batch-{n}.md -> batch-to-build -> code + work/build-log-{n}.md + task statuses
Build log template: templates/build-log.md.
Inputs: work/execution-batch-{n}.md with Mode: execute (carried from task-graph-to-batch), OR dry-run plus fresh scoped authorization
Output: modified source, work/build-log-{n}.md, updated task statuses in work/task-graph.md, updated work/praxiskit-context.md
Preconditions: batch exists; baseline pass (unless valid baseline-repair batch); authorization scoped to this batch
Stop boundary: Does not make acceptance decisions or extend scope. Hand off to review-and-accept.
baseline.status = failed or baseline.status = unavailable is not executable unless the batch explicitly says Baseline mode: fresh-start or this is a baseline-repair batch. Route other cases back to task-graph-to-batch.subagent-driven. The orchestrator must not implement those tasks directly.work/task-graph.md, work/execution-batch-*.md, work/build-log-*.md, work/praxiskit-context.md, work/review.md, and work/acceptance.md.Mode: execute is already set (carried from task-graph-to-batch), proceed directly to upgrade checks (step 5) — skip the user prompt. Re-prompt only if a check fails.
If dry-run and no current-turn authorization exists, ask once with host-native input if available:
execute_now, keep_dry_runCannot execute: batch is dry-run only.
Execution requires a yes/no decision for this exact batch.
[ ] and unblockedMode: execute, Approved by user: yes, Authorization source: decision-ui | chat-confirmation, current timestamp.subagent-driven, treat that as a contract defect and update/refuse before execution.work/task-graph.md at most once during authorization/upgrade checks; use targeted lookup for statuses.work/task-graph.md in at most two grouped edits: mark selected tasks [/], then final [x] / [!].RESULT: line is enough unless a blocker or risk needs one extra sentence.work/praxiskit-context.md, the next batch, and work/SUBAGENT.md.[/] in one grouped edit.Task; in Codex or other hosts, use the platform subagent/delegation tool.work/SUBAGENT.mdRESULT: {T_ID} | files: [...] | summary: ... | validation: ...RESULT[x] / [!] in one grouped edit. Subagent completion notifications alone do not close tasks.work/build-log-{n}.md from templates/build-log.md.work/praxiskit-context.md.Before stopping:
[x] or [!].next_batch, blocked, deferred, or cleanup.work/archive/ only after summarizing relevant content in the build log.work/praxiskit-context.md, record last batch, validation result, blockers, recommended next skill, and exact fresh-session artifacts.create_next_batch: run task-graph-to-batch now; this is planning only and will show a separate execution authorization promptreview_current_build: run review-and-accept nowstop_here: stop with the resume artifactscreate_next_batch authorizes only planning the next batch; batch-to-build still requires its own scoped execution authorization.Formal accept/revise/continue decisions belong to review-and-accept Phase 2.