Vet a new or changed third-party dependency for license, provenance, and supply-chain risk before any install runs.
日本語の概要は準備中です。原文の説明を表示しています。
The Socratic spec-refinement front of /feature, and the planning front of /sprint. Routed to BEFORE any code — it turns a one-line idea into a concrete spec with testable criteria, ready for initial combined sprint review or explicit sequential approval. Five gated phases — frame, shape, refine, write, review-and-approve. No implementation before an approved spec; the caller retains required planning, execution and delivery ordering. Each acceptance criterion becomes one tdd Phase 1 obligation.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
For new full-lane work or an existing HTML spec/plan, load
{{PLUGIN_ROOT}}/includes/artifacts.md before artifact I/O. Before Phase 1, call
_select_authoring_route with the trusted project root, slug, invoking workflow,
and selected lane; use only its returned mode, format, and paths. For a selected
HTML route it checks the
installed capability before writing; missing or invalid HTML capability is a
STOP and the workflow must not fall back to Markdown. Its typed
ID, binding, readiness, receipt, contextual-read and scope-state rules replace
legacy Markdown parsing and direct status-cell edits for that pipeline. Keep all
other workflow gates, including human checkpoints, unchanged. Existing .md
artifacts remain on their legacy path. New full-lane specs use the installed
structured-artifact engine and default to canonical .html. HTML --farm
dispatch remains blocked.
Refine the idea before it touches code. Routed to by /feature and /sprint as their specification step.
Read the active caller's workflow, selected lane, scope and existing delegation before refining.
Initial sprint planning is not an approved sprint: this skill does not grant its own delegation.
A full-lane feature requires writing-plans after spec approval. Initial HTML sprint planning instead
returns a ready draft identity for the combined spec/plan review before either is approved; a
subordinate specification step returns its result to the existing caller. Preserve direct handoffs when they
satisfy that caller's ordering, not an unconditional terminal route to implementation.
A sprint may contain several related features under one coherent goal. Keep their boundaries and criteria explicit without converting the sprint into repeated feature interviews. Parameter and method choices follow safety-core; material product decisions and missing authority are not inferred. No new registered surface, runtime state or copied procedure is needed for this call contract.
Read these, or STOP and surface the gap — never guess scope or stack:
{{PROJECT_DIR}}/.codearbiter/CONTEXT.md — the stage: frontmatter (the maturity value), domain vocabulary, and what the project is NOT building.{{PROJECT_DIR}}/.codearbiter/tech-stack.md — the stack the feature must fit; rule out incompatible designs early.{{PROJECT_DIR}}/.codearbiter/open-questions.md — existing [CONFIRM-NN] items; new ones number sequentially from here.Recorded intent — fail-soft, exempt from the read-or-STOP rule above (ADR-0025). Also
consult, when present: the decisions/ index (titles via decision-log.md or the filename
listing — load a full ADR body only when its subject touches this feature) and
plans/02-phased-build-plan.md's section headings (plus plans/01-architecture-breakdown.md
when the feature touches component boundaries or integrations). Index-first, never a bulk read.
A missing file or directory here is NOT a gap to surface and never a STOP: record
intent: silent — no decomposition record in the running notes and proceed.
Scope-sized and light. NOT decompose's whole-project six-layer interview — five phases for the
caller's feature or coherent sprint. Depth scales with that scope, not the ceremony. The deliberately
inline small-feature lane remains owned by /feature; do not manufacture an HTML pair for it.
Take the one-line idea and pin its boundaries before designing or asking anything:
CONTEXT.md: it never contradicts the NOT-building list or redefines domain vocabulary. A contradiction is a conflict — surface it, do not reconcile it silently.plans/02 records as deferred, or that duplicates a backlog item, is a fork to ask — lead with the recorded deferral rationale and your recommendation; never proceed on it silently (ADR-0025).Gate: problem, caller, and out-of-scope boundary stated and consistent with CONTEXT.md; the unit is
the caller's selected feature or coherent sprint, with unrelated scope explicitly excluded.
Before drilling into details, establish WHICH design the details belong to:
X gives you A but costs B). Recommend exactly one, with the reasoning that picks it. The user rules on material product decisions during initial feature or sprint planning; within an already-approved sprint, its existing delegated decision rules apply and the choice is logged. A recommendation made before approval does not authorize execution./adr. When the contradicting candidate is the only sane approach, that IS the fork: present it (the user rules under /feature; under /sprint this surfaces at the interactive Phase 1 gate, where the user is present to rule).Gate: one approach selected under the caller's existing authority and recorded with its trade-off; nothing in it exceeds the stated problem. Selection during initial planning is not execution authority.
Turn the chosen approach concrete. The discipline is decide-or-ask, never drift:
[CONFIRM-NN], scope expansion or irreversible operation is
not a method choice: ask the actual question with its recommendation and counter-consideration.[CONFIRM-NN]; a reversible implementation detail deliberately left to planning within
the agreed constraints is not an unanswered user question. Do not invent unknowns to fill a template.tdd.[CONFIRM-NN] for
the agent's internal choice of method.Record every genuinely-unresolved user-owned requirement or decision as [CONFIRM-NN] in {{PROJECT_DIR}}/.codearbiter/open-questions.md, numbered sequentially. A finding that belongs to a different feature or a future scope gets an inline [NEEDS-TRIAGE] marker in the notes — never route it to a ticket.
Before closing this loop, check the criteria decided so far against their own stated intent, not merely against each other (#566: writing-plans Phase 4 proves BIJECTION between a plan's tasks and the AC-NN ledger — every criterion has a task, every task has a criterion — and that proves the two AGREE, never that the ledger itself is COMPLETE. A criterion missed by both sides passes that check cleanly; catching the miss belongs here, at the source, before Phase 4 writes anything to freeze it in place.) Assemble a scratch file outside the working tree (mktemp) shaped like the spec sections Phase 4 is about to write — a ## Scope heading over the Phase 1 framing, and an ## Acceptance criteria heading over every criterion decided in this phase's running notes so far — and, when this feature traces to a GitHub issue, its body into a second scratch file (gh issue view <N> --json body -q .body > <scratch-file>; omitted when there is no linked issue). Run "$PY" "{{PLUGIN_ROOT}}/hooks/_intentlib.py" uncovered-intent <scope-and-criteria-file> [--issue-body <scratch-file>]. A non-empty result names an in-scope bullet or an issue acceptance checkbox no criterion's text cites — add the missing criterion now, or record it as a [CONFIRM-NN] if it is genuinely undecided, never carry it forward uncited. This mechanical pass is the CHEAP half; it catches only an uncited bullet or checkbox.
Then ask the half it cannot mechanize, explicitly, as its own step: if every criterion decided so far passed and nothing else changed, what would still be broken? A real answer names a criterion the ledger is still missing even though every scope bullet and checkbox is technically cited — a bullet reading "fix all three contaminated skills" against criteria for two of the three passes the citation check above cleanly, and only this question catches it. Finding nothing broken is a reportable result, stated in one line, never a silent skip.
Gate: every vague term made concrete; every material choice resolved under the caller's authority or recorded as a genuine [CONFIRM-NN]; every parameter decision recorded in the running notes that seed Phase 4's Decided parameters section; no unresolved user-owned acceptance requirement outside a [CONFIRM-NN]; the uncovered_intent backstop returns empty or every finding is resolved; and the negative question above has been asked and answered, not merely named. A blocking [CONFIRM-NN] that gates the spec's core stops the loop — surface it and STOP.
Create or revise the agreed spec at the route-selected spec path, in its selected format.
New full-lane work uses {{PROJECT_DIR}}/.codearbiter/specs/<slug>.html through the installed
structured-artifact engine; do not write HTML or its embedded model directly. An existing .md
spec stays on its exact legacy path; never create a counterpart or implicitly convert it.
The spec holds:
tdd Phase 1 obligations — one obligation per criterion, so an untestable criterion is a defect to fix here, not in tdd.[CONFIRM-NN] raised, cross-referenced to open-questions.md.**Governs:** <comma-separated globs> that enrolls the approved spec in file-scoped just-in-time context injection: on a Read of any file matching one of the listed globs, a pointer to this spec is surfaced to the agent (tier 3 of the file→knowledge map). Adding the line is sufficient to enroll; no other change required.Gate: the spec file exists on disk under specs/, with at least one acceptance criterion and every criterion individually testable.
The spec earns its approval; it is not waved through. Two passes over the FILE as written, then the stop:
TBD, ???, an unfilled section); no criterion that contradicts the scope; nothing that crosses the CONTEXT.md NOT-building boundary; no criterion that contradicts an accepted ADR or plans/01's recorded component boundaries (ADR-0025); every criterion still testable by one or more focused tests after the edits; the vague-language lens applied to the spec's own prose.Under /feature — present the spec and the adversarial findings, and request explicit user approval. Iterate on the file in place until the user approves. A blocking [CONFIRM-NN] must be resolved by the user before approval — never auto-resolve it.
Initial /sprint planning — prepare the ready draft spec and adversarial findings for
explicit user approval with its complete draft plan at the caller's one initial review gate.
For HTML, return the current draft identity to writing-plans in draft_for_pair mode;
the combined arm-sprint / sprint-approve path in {{PLUGIN_ROOT}}/includes/artifacts.md
observes the exact returned reply and binds/approves both documents atomically. Do not separately approve
the spec, synthesize a SMARTS receipt, or execute draft tasks. Do not reinterpret one generic reply
as approval of either artifact or delegation. Autonomy begins only after the
caller's spec AND plan approval requirement is met. A legacy Markdown caller retains its
recorded approval mechanism; there is no implicit conversion.
Within an already-approved sprint — use its existing delegation only for an in-scope choice.
For HTML, a supported policy-owned adapter must supply the actual event and engine receipt;
follow {{PLUGIN_ROOT}}/includes/artifacts.md. A SMARTS score or log entry is not an approval receipt.
The private smarts-apply producer covers only existing plan-method steps under an explicit
paired user grant; it cannot approve a specification amendment or widen its protected scope.
Use only a qualified production producer for the requested authority and host; do not invent a capture event
or reuse inspection-only evidence. A missing producer is not delegation: retain the pending state and use
only the existing supported authority path. The native engine's presence does not qualify a host adapter.
Blocking [CONFIRM-NN] decisions are never auto-approved in either phase.
Continuation follows the caller. For a full-lane feature or sprint with approved spec authority,
return the approved spec identity and review outcome to its planning step; for initial HTML sprint
review, return the ready draft identity without execution authority. Either may forward directly to
writing-plans ({{PLUGIN_ROOT}}/skills/writing-plans/SKILL.md) when that is the caller's declared
next step. Do not skip required plan creation, binding or approval by jumping to tdd. A subordinate
invocation returns to the named checkpoint in its caller instead of launching another full workflow.
The inline small feature route belongs to /feature and can reach tdd without invoking this full-lane
specification procedure. Neither path grants commit, PR, merge or publication authority.
Gate: both review passes completed against the authoritative file, adversarial findings presented,
and no unresolved blocking [CONFIRM-NN]. Require actual approval verified before execution.
Only initial combined HTML review may return a ready unapproved draft to its constrained planner.
The next operation obeys the active caller's sequence and authority.
tdd before the spec is on disk under specs/ AND approved.uncovered_intent mechanical backstop and ask the negative-judgment question ("if every criterion passed and nothing else changed, what would still be broken?") before closing Phase 3 — bijective coverage in writing-plans proves the plan and the ledger agree with each other, never that the ledger is complete (#566).[CONFIRM-NN] by guessing — surface it and record it in open-questions.md.[CONFIRM-NN], even under /sprint — it escalates to the user.CONTEXT.md — a contradiction is a conflict to surface, not reconcile.{{PLUGIN_ROOT}}/includes/harvest.md) in the active caller's mode:
batch-confirm interactive work; use autonomous promotion only under existing delegation. A blocking
decision is never promoted into authority or silently demoted to a follow-up.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Vet a new or changed third-party dependency for license, provenance, and supply-chain risk before any install runs.
日本語の概要は準備中です。原文の説明を表示しています。
Record user-decided ADRs or inspect their health read-only. Preserve attribution and acceptance evidence.
日本語の概要は準備中です。原文の説明を表示しています。
Inspect ADR health read-only; optionally select one ADR with --adr N.
日本語の概要は準備中です。原文の説明を表示しています。
Assemble the governance record for a range — commits, overrides, ADRs, sprint auto-decisions, open questions, checkpoint findings — into one dated audit packet. Read-only.
日本語の概要は準備中です。原文の説明を表示しています。
Lightweight Q&A about the project — answer from context and return, no routing, no state change.
日本語の概要は準備中です。原文の説明を表示しています。
Periodic multi-reviewer sweep of the whole codebase — surfaces a triaged checkpoint report.
日本語の概要は準備中です。原文の説明を表示しています。