ワンクリックで
atm-next
Recommend the next official ATM guidance action from current state.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Recommend the next official ATM guidance action from current state.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
ATM Captain 派工治理。觸發詞 派工 / 派工單 / dispatch / 開卡 / 派任務 / 派代理 / Phase 0 / Phase 1 / AAO / task card / condition review / 收口。負責 AI-Atomic-Framework (AAF) + 3KLife 雙 repo 治理:強制 Context Map 4 層、雙代理拆分(防外卡 mirror commit)、AAF 嚴格 2 commit、3KLife target_repo 嚴格 1 commit、7-8 段回報、禁止清單前置強化、Captain condition review。承載 0064 → 0093+ 累積的紀律教訓。
通用任務開單器 SKILL — 統一建立或回寫 Markdown task card、docs/tasks/tasks-*.json 分片、UI quality shard,並強制遵守 docs/agent-briefs/Readme.md (doc_ai_0023) 與 docs/遊戲規格文件/系統規格書/名詞定義文件.md (doc_spec_0008) 的硬規則。USE FOR: 開任務卡、開單、task card、task shard、tasks-ui.json、tasks-prog.json、tasks-dc.json、tasks-data.json、agent-briefs/tasks、docs/tasks/*_task.md、UI pipeline 開卡。DO NOT USE FOR: 純 runtime 除錯、單純修改既有功能碼但不需要新卡、只做極小 typo 修補。
Plan ATM framework refactors by preserving atom/map semantics before splitting large governance modules.
Route natural-language cleanup, refactor, migration, and candidate ranking goals through ATM before local analysis.
Resolve the current user prompt into an atm.taskIntent.v1 proposal before next-action routing.
Use when the user asks to switch AI role/mode/persona or uses role-trigger words such as Captain, Coordinator, 寫文章, 寫文章模式, 文章模式, 技術文章, 部落格, 出版, 預覽. Routes the request to Project Captain, Publishing Director, or Article Writing Mode, loads the matching keep memory when available, and applies the role's workflow without excessive roleplay.
| name | atm-next |
| description | Recommend the next official ATM guidance action from current state. |
| argument-hint | <ATM context> |
| charter-invariants-injected | true |
If the current user prompt mentions a task id, task card, plan document, or a scoped batch of tasks, choose the narrowest route before editing. For one exact task id, do not write the shared runtime intent file; route directly with:
node atm.mjs next --task TASK-ABC-0001 --json
Invoke the atm-task-intent-resolver skill when the prompt needs semantic
resolution for fuzzy task, plan, or batch scope. That skill writes
.atm/runtime/task-intent.json and routes with:
node atm.mjs next --intent .atm/runtime/task-intent.json --json
Use the prompt-scoped command below only when no task or plan scope is present or when the editor cannot run the semantic intent skill.
First command:
node atm.mjs next --prompt "$ARGUMENTS" --json
After the first command returns, read evidence.nextAction.playbook before
editing, closing, or committing. The playbook is the authoritative short
instruction sheet for the selected channel:
fast: small quickfix, no task close.normal: one task, claim -> implement -> validators -> evidence add -> tasks
close -> commit.batch: many tasks, claim original prompt -> deliver queue head -> evidence
-> batch checkpoint -> commit -> continue next queue head.For normal task-card work, keep this order fixed:
claim -> implement -> validators -> evidence add -> tasks close -> commit
Do not commit a normal task before the matching evidence has been added and
tasks close has succeeded.
Framework critical files have one narrow exception to the close timing, not to
the evidence requirement. If tasks close is blocked by
ATM_TASK_CLOSE_FRAMEWORK_DIFF_ACTIVE, keep the active claim and command-backed
evidence, make a governed delivery commit for the scoped non-.atm
deliverables, then close with:
node atm.mjs tasks close --task <task-id> --actor "$ATM_ACTOR_ID" --status done --historical-delivery <commit> --json
After that close succeeds, make a separate closure commit for the ATM ledger updates. Do not treat the critical-diff gate as permission to skip ATM or close without evidence.
Use this ATM command only after the first command confirms it is the current governed route:
node atm.mjs next --prompt "$ARGUMENTS" --json
For collaboration workflows, claim the selected imported task before edits:
node atm.mjs next --claim --actor "$ATM_ACTOR_ID" --prompt "$ARGUMENTS" --json
For one exact task id, prefer:
node atm.mjs next --claim --actor "$ATM_ACTOR_ID" --task TASK-ABC-0001 --json
If the route returns recommendedChannel: "batch", do not manually run
tasks reserve, tasks promote, tasks claim, or tasks close in a loop.
Work only on the queue head, do not commit before checkpoint, and finish it
through:
node atm.mjs batch checkpoint --actor "$ATM_ACTOR_ID" --json
Batch is the fast path for many task cards. Its speed comes from automated queue
bookkeeping, not from weaker delivery or evidence requirements.
After checkpoint succeeds, commit the queue-head deliverables together with the
matching .atm/history/tasks/<task>.json, .atm/history/evidence/<task>.json,
and .atm/history/task-events/<task>/ files.
node atm.mjs handoff summarize --task "$ARGUMENTS" --json
INV-ATM-001 — No second registry (enforcement: gate, breaking change: yes)
Rule: A host project must not create a second AtomicRegistry implementation outside of packages/core or introduce a parallel ID allocation, version tracking, or registry promotion path.INV-ATM-002 — Lock before edit (enforcement: doctor, breaking change: no)
Rule: No governed file mutation may occur without a valid ScopeLock recorded in .atm/locks/ for the current WorkItem. Agents must call atm lock before editing files.INV-ATM-003 — Schema-validated promotion only (enforcement: gate, breaking change: yes)
Rule: An UpgradeProposal must pass all automatedGates (including JSON Schema validation) before promotion. Direct registry mutation that bypasses the UpgradeProposal path is forbidden.INV-ATM-004 — No competing highest authority (enforcement: doctor, breaking change: yes)
Rule: No host project rule, profile, or configuration may declare itself to have authority equal to or higher than the AtomicCharter. Any rule that contradicts an invariant must go through a charter waiver proposal.INV-ATM-005 — Host rule amendments require waiver flow (enforcement: waiver-required, breaking change: no)
Rule: When a host project rule conflicts with a charter invariant, the host must submit a behavior.evolve UpgradeProposal with a charterWaiver field and a linked HumanReviewDecision. Silent override is not permitted.INV-ATM-006 — Framework work tracking stays downstream (enforcement: doctor, breaking change: yes)
Rule: The framework repository must not host coordinating implementation task cards, planning queues, or project-specific work tracking artifacts beyond ATM's own bootstrap/runtime-managed files. Upstream planning cards belong in the coordinating host workspace and may feed evidence back upstream without becoming framework-resident work tracking.INV-ATM-007 — Public framework docs remain English-only (enforcement: doctor, breaking change: yes)
Rule: Public contributor-facing documentation in the framework repository must remain English-only and repository-neutral. Non-English planning notes, local experiments, or downstream operating guidance must live in the coordinating host workspace unless they are translated into neutral English framework documentation.batch checkpoint; do not hand-roll a lifecycle
loop over low-level tasks commands.ATM_USER_NOTICE message or evidence.userNotice is present, show it to the user in natural language before executing the returned next action.ATM_ACTOR_ID as the default actor identity variable. AGENT_IDENTITY
is legacy-compatible only.