用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/carlos-algms/dotfiles --skill executing-plans命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | executing-plans |
| description | Use when you have a written implementation plan to execute in a separate session with review checkpoints |
Announce at start: "I'm using the executing-plans skill to implement this plan."
Load and validate the plan. Execute inline, or delegate complete task cycles to
subagent-driven-development.
plan_path. Missing, empty, or unspecified: stop and request a valid
pathExecution mode is exactly Inline or Subagent-Driven. Missing,
invalid, or conflicting with the current request: stop, ask the user, and
update the plan before implementationExecution log before Task 1; a logged entry overrides contradicting task
text. Missing field: add the empty heading before implementationPlan file policy defaults to Include when absent; reject other values.
Read Additional plan state files; missing defaults to none. Accept either
the single item none or unique repo-relative paths that exist. Reject the
plan path itself, missing paths, duplicates, and mixed none plus pathsplan_base_ref = git rev-parse HEAD and inventory every pre-existing
staged, unstaged, deleted, or untracked change in a temporary
baseline_snapshot. Its manifest records each repo-relative path, content or
deletion state, file mode, and ownership: baseline-only, task:<id>, or
execution-state. Store present files byte-for-byte beside the manifest. Use
an owner-only temporary directory and classify only the plan-owned content of
the plan file plus every Additional plan state files path as
execution-state; an empty worktree gets an empty manifest. A listed path
does not transfer unrelated existing hunks from baseline-only ownership.
Preserve the captured bytes of every plan-state file as its pre-execution
baseline. execution-state permits only edits required by written
checkpoints. Stop when ownership or the required delta is unclearNo commits is combined with a requested PR,
stop before Task 1 if:
Per-task commits, a staged change belongs to a later checkpointCommit-bound means commits are planned or No commits is combined with a
requested PR. Its scope guards apply even when the executor cannot commit.
Plan state means the plan file plus every Additional plan state files path.
All share the single Plan file policy.
Resolve milestone_execution_mode once at start for every plan: coordinated
only when the written final-verification checkpoint requires the milestone
handshake and the caller identifies itself as the root milestone execution
coordinator; otherwise sequential.
When a written final-verification checkpoint requires the milestone handshake:
Inline with milestone_execution_mode = coordinated: after implementation
review and validation pass, resolve the stable plan ID from the written
checkpoint, record the reviewed changed-path state under baseline_snapshot,
send READY <plan ID> to the root milestone execution coordinator, and yield
without abandoning baseline_snapshot. Resume only after the exact
FINALIZE <plan ID> reply. Re-derive the changed-path state before editing
the milestone; repeat affected review and validation when implementation state
drifted. Send FINALIZED <plan ID> after the written milestone update passesInline with milestone_execution_mode = sequential: execute the written
milestone update without handshake messagesSubagent-Driven: let subagent-driven-development relay the finalizer's
handshake without synthesizing or granting a turn. Pass the resolved modesequentialREADY: retain baseline_snapshot,
edit no plan state, and report a resumable blockerThe plan's Execution mode is authoritative. Inline uses the workflow below.
For Subagent-Driven, complete the start gates, then load
subagent-driven-development; do not run the inline workflow below. Direct
invocation never supplies a default.
Skills load only on the annotated step that needs them.
The plan owns task actions and plan-level checkpoints. This skill supplies mechanics for written checkpoints; it never inserts a plan-level review, final verification, or commit checkpoint. Stop and return an incomplete plan for correction instead of synthesizing missing plan-level work.
Exactly one agent runs final verification:
Inline: this executorSubagent-Driven: the finalizerNever both. A relayed finalizer result is the evidence; do not re-run its checks.
The baseline_snapshot holds pre-execution copies of work the user never
committed. Delete it after PASS or when execution is abandoned; retain it
while a blocker remains resumable.
Owner:
Inline: this executorSubagent-Driven: the orchestratorSolved defects, and
Execution logExecution log: the current task owner appends its own entries; never rewrite
or delete another owner's entriesGreen: passes; un-tick before a reviewer fix[ ] whenever
scope resolution, staging, or commit failsNo commits: no agent commitsPer-task commits: inline executor or task implementer commits the initial
task, one follow-up commit per task-review fix round, one combined
final-review-fix commit after final verification, then final plan stateOne commit at the end: inline executor or finalizer commits after final
review and verificationgit-commit-message and derive message and paths from
current state; never rely on the plan's initial file listexecution-state changes only when
Plan file policy is IncludeFor each task:
Per-task commits: review_base_ref = git rev-parse HEAD, scope taskOne commit at the end or No commits: review_base_ref = plan_base_ref,
scope cumulativeGreen: passesPer-task commits, execute and tick the initial task checkpointPer-task commitsExecution logNever dispatch onto a red gate or move on with unadjudicated findings. Re-run the full gate after every task-review fix.
writing-plans defines the field, its entry kinds, and its format. Capture is
mandatory, not optional.
drift whenever the repo contradicted a plan factgotcha whenever a non-obvious fact cost time and would cost it againdecision whenever the plan left a choice open and execution closed itnone, no drift, or any "nothing found" lineSolved defectsPlan file policy: Include, log changes ride the task's commit as
execution-statePASS or terse Critical/Important findings<review-input> finding is a failed dispatch; correct the payloadreplying-to-pr-review-threadsSolved defects as
severity | path or symbol | invariantAdjudicate each finding:
path:line evidenceRecord rejected findings and counter-evidence in the final report. Every returned finding blocks until fixed or rejected with counter-evidence. Always re-dispatch the current review stage after a fix.
A code-quality fix that changes delivered behavior, scope, contracts, or verification reopens spec review. Resolve spec, then resume code-quality review. Limit each review/fix cycle to 3 finding rounds; a fourth requires user escalation.
Preconditions before dispatching:
changed_files is the deduplicated union of committed, staged, unstaged, and
untracked implementation paths in scope. Exclude execution-state paths and
paths whose current state still matches an excluded snapshot entryUse absolute template paths. Pass pointers, never template contents or session
history. changed_files is a newline-delimited exact-path list, not a review
boundary. Pass Solved defects from the plan; use none when empty.
MUST read instructions at <skill_dir>/spec-reviewer-prompt.md FIRST.
Do not act until you have read it. Then apply:
plan_path = <abs path>
task_id = <task number / heading>
base_ref = <review_base_ref>
scope_mode = <task | cumulative>
baseline_snapshot = <abs path to classified snapshot directory>
changed_files = <newline-delimited exact paths>
solved_defects = <current solved-defects list, or `none`>
MUST read instructions at <skill_dir>/code-quality-reviewer-prompt.md
FIRST. Do not act until you have read it. Then apply:
plan_or_requirements = <"Task <task_id> from <plan_path>" for task scope;
"Tasks completed through <task_id> from <plan_path>"
for cumulative scope>
task_id = <task number / heading>
scope_mode = <task | cumulative>
base_ref = <review_base_ref>
baseline_snapshot = <abs path to classified snapshot directory>
changed_files = <newline-delimited exact paths>
solved_defects = <current solved-defects list, or `none`>
checklist_path = <abs path to requesting-code-review/code-reviewer.md>
<skill_dir> is the resolved subagent-driven-development directory. Final
review uses plan_base_ref, complete scope, and all plan-changed
implementation files. If any base ref is unclear, ask.
After all tasks complete and verified:
plan_base_ref, complete scope, and all plan-changed implementation
filesbaseline_snapshot before editing in
commit-bound executionPer-task commitsPASSverification-before-completionExecution logcoordinated: complete the READY -> FINALIZE -> FINALIZED turn
defined abovesequential: update the milestone without handshake messagesOne commit at the end: commit the actual complete reviewed diffPer-task commits: commit the combined final-review fix set when its
conditional checkpoint is unchecked. Execute the final-state commit
checkpoint only when Plan file policy is IncludeNo commits: no checkpointNo commits plus a requested PR:
baseline_snapshot/pr-handoff.json; include plan state only
when Plan file policy is When Source requirements request a PR, load create-pull-request after the
written final-verification and commit checkpoints pass.
READYReport the blocker. Return to the start gates after the plan changes materially.
IncludePlan file policy: Exclude