apply
Implement the planned change task by task, then judge it
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 14
- Forks
- 1
01 前言 Front Matter
- name
- apply
- description
- Implement the planned change task by task, then judge it
- argument-hint
- [change-id]
03 SKILL.md 正文
절차
-
Judge the gate: every artifact listed in
applyRequiresmust bedone. (isCompleteis not the gate; design exists only when its inclusion criteria apply.) Otherwise what is missing is planning, not implementation: return totx:plan."${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec status --change <change-id> --json -
Take the context file paths and the task checklist:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec instructions apply --change <change-id> --json -
Implement the tasks in dependency order. The spec wording binds the implementation. If implementation reveals the spec is wrong, fix the delta through
tx:plan, then continue. -
When every task is done, judge the implementation yourself, or by
tx:verifywhere warranted.A verify report is observation, not instruction. Before fixing a defect, generalize it: hunt the same cause on other surfaces and fix them together, and read the flow of reports to preempt the next one. A defect that does not reproduce is a defect in the spec wording; a defect re-reported after a grounded rebuttal means the wording admits two readings — either way, fix the wording through
tx:plan.
Unknown 처리
Every unknown met while implementing resolves one of three ways:
- measurable: measure it and record the result.
- reversible: adopt an assumption and state it in design.
- neither: halt the task and record why in tasks.md.
04 同仓库更多 Skills
plan
Plan the change as OpenSpec artifacts: proposal, delta specs, design, tasks
open
Open a transaction: cut a tx-* branch off base, seed the repo, and route the change
git-sync-on
resume the paused git-sync guard
git-sync-off
pause the git-sync guard (resume with /tx:git-sync-on)
close
Close the transaction: archive, docs gate, then squash merge into base after CI passes
archive
Archive the completed change: task gate, delta sync into main specs, revalidate