<< All versions

Skill v1.0.0

currentAutomated scan100/100
nebius/nebius-ps-services/implement
──Details
PublishedNovember 24, 2026 at 05:42 AM
Content Hashsha256:4c4d21d3b657bb9e...
Git SHA1a325c340df6
──Files
Files (1 file, 20.2 KB)
SKILL.md20.2 KBactive
SKILL.md · 342 lines · 20.2 KB

name: implement description: "Use only when explicitly invoked to implement the current plan or an inline request with isolated task workers, verified local delivery and durable continuation. Use continue for a new session; not SDLC or remote publication." disable-model-invocation: true metadata: version: "1.0.0"


Implement

Help

For $implement --help or $implement -h (including native Claude forms), return concise help and stop before any workflow step. State the purpose and invocation policy. Show exact usage for every public action. Describe each public action, positional argument, and flag in one concise line, including -h, --help; say "No additional public flags" when there are no others. Use only the documented public interface. For internal or coordinator-only skills, state that boundary and that no standalone public workflow action exists. After the selected SKILL.md is loaded, help is report-only: do not call any additional tools, inspect project state, or modify files, private state, Git, or external systems. Never expose private helper actions or flags or treat help as workflow authorization.

Agent Compatibility

Read ../global-context-management/references/agent-hosts.md before workflow state. Use $implement in Codex, /implement in Claude Code, or /skills:implement in the Claude plugin. Preserve native identity, permissions and hooks. Missing host capabilities require an explicit limitation.

Purpose

Read ../worktree/references/optional-uat.md for the shared acceptance policy. No UAT by default; requested UAT runs at a meaningful ready objective/release scope (or explicitly selected coherent milestone). Missing optional prerequisites remain pending without blocking implementation or otherwise eligible PR/merge. Keep required development checks and correctness dependencies mandatory. Use container/Nebius testing skills only when explicitly requested; an existing environment uses its own project harness directly.

Accept a conversation objective, freeze a reviewed execution basis, dispatch isolated task workers, validate their results, and deliver verified local work. Global Context Management owns context, delegation and continuity. Maintain Project Specs owns canonical interpretation/publication. This coordinator owns objectives, planning, scheduling, execution evidence and completion.

Invocation Policy

Explicit user invocation is required. Keep allow_implicit_invocation: false. Neither hooks nor another coordinator implicitly starts this workflow.

When To Use

  • The user explicitly requests implementation of the current unambiguous plan

or an inline objective with isolated workers and verified local delivery.

  • The user explicitly requests continuation of an existing Implement run.

When Not To Use

  • Do not start implicitly, nest inside Agentic SDLC, or use for remote publication.
  • Use implement-test when the user requests verification of this workflow.

Inputs

  • The current unambiguous plan, an inline implementation request, or a validated

active run binding; cross-session resumption requires continue.

  • The current project by default, or the project folder supplied to continue.
  • Accepted scope, constraints, acceptance criteria, and clarifications.

Public Interface

text
$implement
$implement <implementation request>
$implement continue [project-folder]
$implement status [project-folder]
$implement -h
$implement --help
  • Bare invocation consumes the current unambiguous plan or this session's bound

active run. If neither exists, ask for the intended outcome before execution.

  • An inline request supplies the objective; the exact current project is default.
  • continue resumes an existing run in this or the specified project folder.

A new session must use it. Resolve ambiguous choices by project and outcome. Invoke workflow_intake.py --owner implement continue --project-root <project> even when status already reports delivery. Read-only status or observe does not bind the new session. Return completion only after this owner returns ALREADY_COMPLETE; otherwise follow its continuation or blocker.

  • -h, --help returns report-only help. No additional public flags.
  • Workspace, prompt-file run, integrate and remove actions are retired. Reject

them; do not interpret retired syntax as an implementation objective.

Required Reads

  • ../worktree/references/automatic-projects.md for automatic outer ownership,

shared admission, capacity, aggregation, recovery and original-folder status.

  • Applicable instructions, the current plan/request and relevant source/tests.
  • references/implementation-loop.md and references/objective-contract.md.
  • ../worktree/references/statistics.md for initial inventory, milestone reporting

and the read-only status projection.

  • For a saved issue plan, read

../worktree/references/issue-resolution.md for intake, per-issue evidence and the private completion handoff. Closure intent never authorizes publication.

  • The exact validated run binding, objective revision, checkpoint, immutable

basis, plan, assignments, results and recovery journal before continuation.

  • Canonical specs when they apply. Do not bootstrap documents for a justified

execution-only or no-effect objective.

Writes

Only normalized objectives, immutable basis/plan/evidence and run-owned execution state under <agent-home>/implement/, plus shared admission metadata and registered outer/integration/task worktrees. Preserve unrelated dirty content and old private histories/worktrees. Never store raw turns, prompt archives, secrets, credentials or private endpoints in artifacts.

Process

Public status [project-folder] is read-only and uses shared intake status; return its project/outcome/owner/phase/worker/wait/next-action summary, statistics and reserved-slot counts, then stop. Workers means observed running workers. At acceptance use the returned execution project; keep the native launch folder in the original project so automatic cleanup can remove owned checkouts.

  1. Resolve the exact project, Git common directory, committed HEAD and named

source branch. Reject detached/unborn or unsupported state before execution. Confirm native permission for the workflow's Git metadata and private-state writes before editing specs. If unavailable, report ENVIRONMENT_BLOCKER; never bypass native controls or imply that workspace file writes allow Git. Inspect source dirt: execute committed history and block if the task depends on uncommitted product/spec content. A saved issue plan may be snapshotted once as normalized objective input under the issue-resolution contract; it must not remain a live worker dependency or write target. Never copy source dirt into a worker. Automatic outer admission may exclude unrelated sibling dirt only after a complete committed input declaration is supplied to private intake, following automatic-projects.md. Protect selected-project files, ancestor instructions, canonical specs and shared build/test inputs.

  1. Normalize accepted outcome, scope, constraints, acceptance criteria,

clarifications and provenance. Use the shared private workflow_intake.py owner implement to accept, observe or explicitly continue. Do not invent session identity or recover ownership from the sole active run. For a new run, collect source-bound architecture and capture the immutable initial report through the shared statistics inventory owner before prepare-specs, even without task decomposition. If capture fails, report the gap without blocking the workflow or backdating a later report. Resolve accepted worker, wave-task and retained-worktree ceilings before allocation. If any ceiling overrides the defaults, call shared workflow_transition.py configure-policy with the run and requested limits now, following ../worktree/references/worker-waves.md. Without an override, defaults are 4/8/16. prepare-specs freezes the defaults when no policy exists, so configuring requested limits afterward is too late. Never replace a frozen policy or edit private state to recover an ordering mistake. Call shared workflow_transition.py prepare-specs with the run, selected project and internal FEAT-001 identity. This allocates the single integration checkout before plan/basis creation. Keep the accepted source HEAD and its files unchanged; canonical specs are implicit committed inputs and cannot be excluded as unrelated dirt.

  1. Classify specification impact through Maintain Project Specs. Publish initial

changes only in that registered integration checkout, through its paired transaction with the accepted objective digest and no basis digest yet. If the pair introduces new files, stage from the integration Git root with git add -A after verifying that only the canonical pair changed, so impact validation can inspect tracked specs. Never force-add ignored canonical files. Record complete statement dispositions, including execution-only/no-effect.

  1. Lock a complete dependency plan with ownership and validation. Before locking

IDs or dispatching, audit every task against the accepted objective and applicable specs. Copy its concrete interfaces, data shapes, fixed values, constraints, required inputs and acceptance checks into its Goal, Validation and Done criteria. Requirement IDs or references to the full objective are not sufficient assignment context. Resolve missing inputs before dispatch; a worker must be able to implement its slice from its assignment and the permitted repository context. Use the shared Worktree execution helper directly, with internal execution identity FEAT-001 for this run. Never invoke Agentic SDLC as a nested coordinator. Shared prepare now commits only the owner-published initial spec pair, validates its journaled direct-child tree, and freezes execution in the same integration checkout. Do not commit initial specs in the source checkout or use seal-tdd to reopen an already sealed Implement base.

  1. Freeze objective, applicable spec receipt, plan, committed base, effective

instructions/helper identities, assignments, ownership and validation. All effect boundaries reject stale bases. Record observed native capacity; preserve the worker/wave/retention limits frozen before allocation and lock executable acceptance checks using the shared wave contract in the required sibling ../worktree/references/worker-waves.md. Fresh zero capacity waits; unknown capacity permits one total worker.

  1. Prepare a deterministic ready queue within the current dependency wave.

Each worker uses the same frozen wave base and a fresh worktree and native identity. Give assignment-only context, including paths, validation and instructions. Arm only available slots and consume its canonical launch envelope through the shared task-arm CLI admission (or authorize-recovery for recovery). Before arming, verify fresh-context support, explicit command cwd control and support-path permission capability. After admission, verify effective coverage of every returned support_write_roots entry. Existing inherited grants suffice; a spawn-level cwd setter is unnecessary when supported command tools set the actual cwd. Follow the shared launch contract and preserve sandbox and approval policy. Unavailable capability blocks launch. Configure fresh assignment-only context in the native host and use the returned prompt, cwd, command arguments and schema identity. Host adapters do not reconstruct this contract. Task-start is the first transition after immediate Git identity inspection.

  1. Workers implement only their claims, validate and use code-review. Both implemented and

verified_no_change proposals may proceed after native termination. The former requires one direct-child commit; the latter requires independent task acceptance through validate-target --task at its exact clean base and creates no commit. Ingest the full result using task-result --result <private-json> --termination <observation>; pass its canonical receipt to task-finish --receipt, with the termination observation and commit message. Never project summary, validation or review into a second completion path. They do not publish specs or touch coordinator/other worktrees. Return typed spec gaps as replan_required for root reconciliation. A non-specification failure with incomplete work or validation returns blocked with empty gaps and honest evidence. The dispatcher returns exit 2 and WORKER_BLOCKED with validated worker_result, stops later tasks, and leaves diagnosis to the coordinator. Before task-start, a validated prestart_result may accompany WORKER_FAILED; use it only for diagnosis. It grants no result receipt, completion, recovery or replanning authority. Neither blocked nor replan results enter task-finish, admission or integration; they authorize no automatic retry. The shared core fences new dispatch/refill while already running peers may drain. Recovery uses the same launch builder and current coordinator's immutable authorization, preserving old receipts. Before repairing or rerunning an unexpected failed check or blocking review finding, workers preserve private failure evidence, stop changes, safely tear down and release owned runtime, and return blocked. Only negative outcomes declared before execution in immutable assignment validation are expected feedback; never relabel an observed failure. Normal implementation and prescribed formatting before checks remain allowed. The Implement coordinator owns diagnosis and authorizes existing recovery or replan; it does not invoke the SDLC coordinator. For a proven environment failure, establish an in-scope bounded remedy and preserve the original failed operation and assignment checks. Independently observe the stopped worker and runtime release before authorizing the same shared fresh-worker recovery; rerun those original checks through authorized mechanisms. Known permission prerequisites use native approvals before execution; approval denial remains a policy/authority stop. Recovery grants no access, creates no automatic retry and never reopens completed work. Observe health using the shared contract in ../worktree/references/execution-health.md. Prepare the handoff before arming and spawn promptly. Direct heartbeats target 30 seconds; startup age, heartbeat gaps, read-only work and elapsed duration request diagnosis and never expire healthy ownership. Preserve unknown-health reservations and distinguish useful progress from native activity and waiting. Stop only for cancellation, confirmed failure, authority/scope violations or operational safety; retain the existing confirmed-failure repair budgets.

  1. Independently validate identity, assignment/basis, ancestry, changed paths,

native termination and result evidence. Admit a result only when its writer is quiescent. Refill the free slot immediately from the ready queue. Shared files, lockfiles, outputs, ports, databases and live targets are conflict resources; shared runtime access requires an exclusive assignment lease.

  1. After every task in the wave is admitted, integrate in stable task order,

run combined validation and code-review, and clean exact worker resources. Product defects become correction tasks. Keep the run integration tree for the next dependency wave.

  1. Reconcile coordinator-owned specs/docs/changelog, record separate

implementation and verification evidence, and complete $align before sealing. When issue metadata is present, independently evaluate every accepted criterion and supply the private seal-feature --issue-evidence input. Local completion emits a verified issue-resolution.json handoff; report closure pending PR/merge, never completed from local delivery. Promote the completed inner execution to its clean target checkout. For an automatic outer, that target is the objective checkout; step 11 validates delivery against the current aggregate, including supported source advances. Direct unmanaged execution requires its original non-default branch to match the frozen source. Default/unknown-default starts deliver the verified feature branch and checkout; this is local completion.

  1. Automatic outers aggregate and clean through the private intake lifecycle

in automatic-projects.md, then complete. Keep the lease until validated source promotion. A manually managed outer retains its explicit Worktree handoff and external cleanup owner.

  1. Refresh architecture through intake/specification/planning after relevant

changes; checkpoint accepted plans, revisions, recovery and terminal outcomes. Show each new IMPLEMENT_STATISTICS summary once and retain private reports. Reporting never accepts results or changes scheduling/recovery authority. Record completion and checkpoint. Repeated unchanged bound invocation is idempotent. No commit/push/PR/release action on an unrelated checkout is authorized by this workflow; remote actions require their own authorization.

Steering And Cancellation

Root acceptance of material steering persists an adjacent objective revision and fences dispatch/promotion first. Quiesce affected writers, retain evidence and replan affected work with a distinct immutable basis. Do not rebind old plan bytes to a material revision. Cancellation similarly fences progress and reconciles outstanding effects without reversing delivered commits. Unrelated objectives are not queued.

Idempotency

Every transition checks durable identity and journaled effects. An unchanged accepted objective reuses its revision. Recovery re-observes exact Git effects, never trusts a PID/timestamp alone, and retains ambiguous resources. SessionStart may observe an existing binding after compaction; it never starts execution.

Failure Handling

Return a precise blocker such as REPLAN_REQUIRED, WRITERS_ACTIVE, WORKER_SCOPE_VIOLATION, SOURCE_DRIFT, PROMOTION_BLOCKED or CLEANUP_BLOCKED. Unsupported old schemas fail with WORKFLOW_UPGRADE_REQUIRED and remain untouched. Worker failures stop admission; missing runtime evidence remains NOT_RUN/PARTIAL. Do not reset, stash, force-remove, force-delete or bypass ownership guards.

Must Not

  • Capture raw conversation or maintain managed prompt files, lanes or FIFO queues.
  • Expose private IDs as required public arguments, or add retired command aliases.
  • Change assignments while affected writers remain active.
  • Infer parallel execution from declared tasks or capacity alone.
  • Nest coordinators, duplicate Git lifecycle primitives, or bypass native controls.
  • Publish canonical specs from workers or mutate old state to make it readable.

Completion Criteria

The accepted objective is verified against its immutable basis; all task results are admitted and combined checks/alignment pass. Delivery is the clean original non-default checkout or retained verified feature checkout. Exact temporary worker resources are absent; retained deliverables/blockers are explicit. No old workflow conversion or unrelated mutation occurred.

Output Contract

For automatic delivery, include the shared user_message in the final response. Pending delivery must name the original project/branch, retained work and blocker, and show the exact owning next_action from automatic-projects.md. Distinguish promotion pending, promoted with finalization pending, and verification/recovery pending. Require a clean original before resuming. After verified delivery and cleanup, report completion without a continuation command.

Report the outcome, local delivery checkout, actual observed concurrency, validation, cleanup/retention and any precise blocker. Keep native, deterministic and application evidence separate; do not expose raw state, secrets or turns.

Learning Loop

When using this skill, capture durable, reusable, public-safe learnings in the narrowest appropriate surface only when the task contract allows source edits. For read-only/report-only work, or when a learning is not public-safe, evidence-backed, in scope, or free of unverified/vendor-specific claims, do not edit skill sources; report that it was skipped. Do not capture secrets, private URLs, customer data, raw logs, or one-off local state.

All versions