원클릭으로
atm-governance-router
Route natural-language cleanup, refactor, migration, and candidate ranking goals through ATM before local analysis.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Route natural-language cleanup, refactor, migration, and candidate ranking goals through ATM before local analysis.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when the user asks to switch AI role/mode/persona or uses role-trigger words such as 隊長, Captain, Coordinator, 派工, subagents, 寫文章, 技術文章, 部落格, 出版, 預覽. Routes the request to Project Captain or Publishing Director, loads repo-local keep when available, and applies the role workflow without excessive roleplay.
Captain 派工規範與決策手冊。當 AI 進入隊長模式或進行派工/派任務語境時,遵照這套標準,產出可供人類直接轉貼、高度結構化、符合 token 經濟且能動態適應可用 roster 的派工單。
Sanguo autopilot marathon skill. Use for: 一鍵跑完、全自動長跑、top50 每位人物完整度 95%、來源耗盡、checkpoint/resume、autopilot marathon、marathon controller、長跑總控器、一次啟動多輪 round。
Refresh or verify the newest deployed data by checking deployment commit, snapshot timestamps, and explicit version markers; invalidate cached results when freshness cannot be proven.
Create and register an atom through the provisioning facade.
Explain missing evidence or blocked guidance before proceeding.
| name | atm-governance-router |
| description | Route natural-language cleanup, refactor, migration, and candidate ranking goals through ATM before local analysis. |
| argument-hint | <ATM context> |
| charter-invariants-injected | true |
Use this skill when a user asks in natural language to inspect, rank, clean up, refactor, split, atomize, infect, migrate, or modernize existing source code.
The goal is to keep the user request natural while still routing the work through ATM evidence before choosing a local implementation path.
The objective is to deliver the task content, not to close task cards. A task
card is a delivery contract. done is only the record after the requested
code, data, pipeline, document, or artifact exists and validators/evidence pass.
Do not optimize for making many cards become done. Optimize for producing the
requested non-.atm deliverables for the current task or current batch queue
head.
If the natural-language request mentions a task id, task card, plan document, or
scoped task batch, invoke atm-task-intent-resolver first. It must write
.atm/runtime/task-intent.json from semantic reading of the user prompt and then
call:
node atm.mjs next --intent .atm/runtime/task-intent.json --json
Do not rely on keyword-only next --prompt extraction when the task intent
resolver skill is available.
node atm.mjs next --prompt "$ARGUMENTS" --json
If the first command returns a user notice, surface it briefly, then continue the original user request.
Before editing implementation files, inspect framework mode:
node atm.mjs framework-mode status --json
If the result mode is required or cross-repo-target-required, do not hand-edit
task status to done, do not bulk-close task cards, and do not treat static
atomic_workbench/evidence/*.json files as completion evidence. Claim/lock the
task, run guard framework-development, tasks audit, doctor, and the
required validators before closing with tasks close.
node atm.mjs guide --goal "$ARGUMENTS" --cwd . --json
This route is also referred to as the atm guide --goal workflow in validator
evidence and release documentation.
Validator shorthand terms for this route are atm guide --goal, atm candidates rank, atm start --legacy-flow, atm next, dry-run proposal, and human review.
Follow the returned nextCommand. If the matched intent is
legacy-candidate-ranking, run the candidate ranking command before doing local
source analysis by hand. If the matched intent is task-plan-import, run the
task import dry run before creating or editing any task files.
Before mutating repository files for implementation work, claim the prompt-scoped task:
node atm.mjs next --claim --actor "$ATM_ACTOR_ID" --prompt "$ARGUMENTS" --json
If the claim result says recommendedChannel: "batch", the governed route is:
evidence.nextAction.playbook before editing. Treat it as the
step-by-step work order for this request.node atm.mjs next --claim --actor "$ATM_ACTOR_ID" --prompt "$ARGUMENTS" --json.node atm.mjs batch checkpoint --actor "$ATM_ACTOR_ID" --json..atm/history/tasks/<task>.json,
.atm/history/evidence/<task>.json, and
.atm/history/task-events/<task>/.Do not manually loop through tasks reserve, tasks promote, tasks claim,
tasks close, or old close commits. That is governance bypass, not batch.
Do not commit before batch checkpoint succeeds.
If recommendedChannel is fast or normal, still read
evidence.nextAction.playbook first. It tells you the exact claim, evidence,
close, and commit order for that channel.
ATM's default task ledger is the active flow monitor when taskLedger.enabled
is true. Use the repo-local .atm/history/tasks store for adopter work; use the
ATM framework repo ledger only when framework-mode status reports
framework-development. If the user provides an external task (GitHub Issue,
Jira, Linear, or another provider) and no ATM mirror exists yet, create the
visible mirror before implementation:
node atm.mjs tasks mirror --provider <provider> --origin-task <id> --origin-url <url> --actor "$ATM_ACTOR_ID" --json
If the editor provides pre-write hooks, keep them thin and run only:
node atm.mjs guard mutation --task <task-id> --actor "$ATM_ACTOR_ID" --files <csv> --json
If no hook is available, continue with task claim + git prepare/check +
evidence verify gates as the fallback safety boundary.
For legacy candidate ranking, final reasoning should cite or create:
For task plan import, final reasoning should cite or create:
.atm/history/tasks/*.json paths, when --write is usedtasks verify reportnext result showing imported open work items, when availableIf the matched intent is task-plan-import, run the dry-run import first:
node atm.mjs tasks import --from <plan.md> --dry-run --cwd . --json
Confirm the parsed manifest before persisting. When the manifest looks correct, run the write phase and verify:
node atm.mjs tasks import --from <plan.md> --write --cwd . --json
node atm.mjs tasks verify --cwd . --json
Do not hand-write .atm/history/tasks/*.json and do not reuse atm create for
work-item import; atm create is for atom birth.
If preferred documents are missing, do not stop and do not silently improvise. Preserve the fallback contract from ATM output:
missingDocs[]fallbackSources[]continuedOriginalRequest: trueThen continue the user's original request with the fallback sources.
recommendedChannel is batch, finish each queue head with
node atm.mjs batch checkpoint --actor "$ATM_ACTOR_ID" --json.ready and has an
active claim.tasks create/import/mirror/claim/block/close/abandon.done by editing Markdown or JSON directly; use
node atm.mjs tasks close --status done so closure evidence is checked.tasks import, while atom birth uses create or a governed atomize flow..atm/history/tasks as the canonical imported work-item store; host
Markdown projections are optional secondary views.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.