Run a governed feature implementation planning and execution slice for any project using phase/feature artifacts, transparent setup refresh, strict plan-integrity gating, persistent per-feature implementor continuity, and truthful push-to-origin closeout.
Use this skill to run one governed implementation-planning or implementation-execution slice for a feature stream.
The authoritative source for this skill family is C:/ADF/skills/implement-plan.
Installed target copies under Codex, Claude, or Gemini roots are generated install output.
If the skill is invoked with no inputs, or with action=help, return concise help.
The help output must include:
action=helpaction=get-settingsaction=list-featuresaction=prepareaction=runaction=mark-completeaction=run and action=prepareproject_rootphase_numberfeature_slugtask_summaryOptional inputs:
scope_hintnon_goalsrun_mode with allowed values normal or benchmarking; default normalworker_providerworker_runtimeworker_access_modeworker_modelworker_reasoning_effortimplementor_modelimplementor_reasoning_effortfeature_status_override only when explicitly reopening or administratively correcting statepost_send_to_review default falsepost_send_for_review deprecated compatibility alias for post_send_to_reviewreview_until_complete default false; only valid when post_send_to_review=truereview_max_cycles optional positive integer; only valid when review_until_complete=truebenchmark_run_idbenchmark_suite_idbenchmark_lane_idbenchmark_lane_labelUse post_send_to_review as the primary review handoff input.
Keep post_send_for_review only as a compatibility alias while callers migrate.
Rules:
review-cycle unless the resolved post-review handoff flag is truereview_until_complete=true, pass until_complete=true to review-cyclereview_max_cycles is provided, pass max_cycles=<value> to review-cyclereview_until_complete=true and review_max_cycles is omitted, let review-cycle use its default cap of 5review_until_complete or review_max_cycles when post-review handoff is not enabledphase_number must be a positive integer.feature_slug must be a safe slash-separated feature-stream slug.. or .., leading slash, trailing slash, and backslash-based escaping.implement-plan now uses one versioned JSON-first execution contract for both supported modes:
normalbenchmarkingRules:
normal remains the governed production routebenchmarking in this slice only prepares the shared substrate and must not execute a supervisorResolve and surface at minimum:
project_rootphase_numberfeature_slugfeature_rootskill_state_rootsetup_pathregistry_pathfeatures_index_pathtemplates_rootreferences_rootaction=help, run implement-plan-helper.mjs help ... and print the help output.action=get-settings, run implement-plan-helper.mjs get-settings ... and print the resolved settings summary.action=list-features, run implement-plan-helper.mjs list-features ... and print the compact feature summary.action=prepare, action=run, and action=mark-complete, read references/workflow-contract.md and references/prompt-templates.md.<project_root>/.codex/implement-plan/setup.json internally.node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs prepare ... for action=prepare or action=run.Setup must be transparent to the invoker.
Rules:
Every feature stream must have explicit status:
activeblockedcompletedclosedRules:
active and blocked features appear in open-features outputcompleted and closed features do not appear in active/open outputaction=run must fail clearly for completed or closed featuresaction=mark-complete must update both feature-local state and the project-level features indexaction=mark-complete must fail closed unless merge success, valid completion-summary evidence, and recorded local-target sync truth already existThe skill invoker owns the full loop.
The main skill must:
post_send_to_review=true, hand the same feature stream to review-cycle after machine verification using the feature worktree as the review repo rootreview_until_complete=true, pass until_complete=true and pass max_cycles only when review_max_cycles was suppliedmerge-queuemerge-queue lands the merge successfully and sync state is recorded truthfullyDo not delegate orchestration responsibility to the worker.
The helper owns the deterministic execution contract and runtime substrate.
The main skill must treat the helper result as authoritative for:
implement-plan-execution-contract.v1.json at the feature rootimplementation-run/<run-id>/execution-contract.v1.jsonimplementation-run/<run-id>/run-projection.v1.jsonimplementation-run/<run-id>/events/<attempt-id>/run_id, attempt_id, worker_id, and benchmarking lane identity when applicableimplement-plan-state.json remains an important compatibility projection, but it is no longer the only execution truth.
Before spawning the implementor, the main skill must verify whether the slice is truly ready.
At minimum, check:
KPI Applicability is explicitKPI Applicability is required or temporary exception approved, the slice explicitly states:
KPI Route / Touched PathKPI Raw-Truth SourceKPI Coverage / ProofKPI Production / Proof PartitionKPI Applicability is not required, the slice states KPI Non-Applicability RationaleKPI Applicability is temporary exception approved, the slice also states:
KPI Exception OwnerKPI Exception ExpiryKPI Exception Production StatusKPI Compensating ControlVision Compatibility against docs/VISION.mdPhase 1 Compatibility against docs/PHASE1_VISION.mdMaster-Plan Compatibility against docs/PHASE1_MASTER_PLAN.mdCurrent Gap-Closure Compatibility against docs/phase1/adf-phase1-current-gap-closure-plan.mdLater-Company Check (yes or no)Compatibility Decision must be one of: compatible, defer-later-company, blocked-needs-user-decisionCompatibility EvidenceCompatibility Decision: compatible is implementation-legalLater-Company Check: yes blocks implementationMachine Verification Plan existsHuman Verification Plan existsHuman Verification Plan states Required: true|falseHuman Verification Plan says Required: true, the slice is configured with post_send_to_review=trueAPPROVED / REJECTED: <comments> response guidanceIf integrity fails:
implement-plan-pushback.mdIf integrity passes:
implement-plan-contract.md when normalization is neededimplement-plan-brief.mdWhen a feature stream has an active implementation slice, the governed route must guard against independent authoritative requirement introduction on both the base branch and the feature branch.
Rules:
implement-plan-contract.md or implement-plan-brief.md freezes specific authority files (requirements docs, context docs, decision docs), the route must not silently accept new or changed authority files that were not present when the contract was frozenmain while a feature branch is in flight, leading to silent divergenceWhen integrity passes, use the strongest truthful autonomous worker mode available.
Rules:
llm_tools section before assuming any CLI tool is unavailableautonomous_invoke command from preflight to spawn it via BashGPT-5.4 with xhigh reasoning, or the strongest truthful equivalent in the current runtimeaction=prepare
run_mode=normal, stop before worker spawn when the caller asked only for preparerun_mode=benchmarking, stop after the shared contract/substrate is prepared; do not execute a supervisor in this sliceaction=run
preparerun_mode=normal, spawn or resume the implementor when integrity passescompletion-summary.mdnormalize-completion-summary to ensure the summary satisfies the required 7-heading contract before commitpost_send_to_review=false and human verification is not required, stop at merge-ready state instead of marking the feature completed directlypost_send_to_review must be enabled because human testing happens only after the first route-level review-cycle gatepost_send_to_review=true, call review-cycle for the same feature stream after machine verification and pass the feature worktree as the review repo rootpost_send_to_review=true and review_until_complete=true, pass until_complete=true to review-cycle and let review-cycle default max_cycles to 5 unless review_max_cycles was suppliedreview-cycle only when code changed after human approvalmerge-queuemerge-queue reports merge success and truthful local target sync statusrun_mode=benchmarking, stop at contract/substrate preparation in this slice and report that supervisor orchestration is deferredaction=mark-complete
Use the helper scripts for deterministic local state:
node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs help ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs get-settings ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs list-features ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs prepare ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs update-state ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs record-event ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs reset-attempt ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs mark-complete ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs completion-summary ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs normalize-completion-summary ...node C:/ADF/skills/implement-plan/scripts/implement-plan-helper.mjs validate-closeout-readiness ...node C:/ADF/skills/implement-plan/scripts/implement-plan-setup-helper.mjs write-setup ...node C:/ADF/skills/merge-queue/scripts/merge-queue-helper.mjs enqueue ...When an implementation slice succeeds, end by showing:
User-facing reports for this skill must stay human-facing:
If human verification is required, the testing-phase handoff must use this exact visible shape:
IMPLEMENTATION COMPLETE AND READY FOR YOUR TESTINGIMPLEMENTATION IS READY FOR TESTINGAPPROVED or REJECTED: <comments>IMPLEMENTATION COMPLETE AND READY FOR YOUR TESTING