plan
Plan the change as OpenSpec artifacts: proposal, delta specs, design, tasks
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 14
- Forks
- 1
01 前言 Front Matter
- name
- plan
- description
- Plan the change as OpenSpec artifacts: proposal, delta specs, design, tasks
- argument-hint
- [change intent]
03 SKILL.md 正文
squash merge erases branch history. Only the archive of these artifacts preserves the change's intent and design.
절차
-
Pick a change-id. Usually the tx branch's slug:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec new change <change-id> -
Write the artifacts in dependency order. Each artifact's instructions come from the engine; the engine owns the format:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec instructions <artifact> --change <change-id> --jsonTasks hold only work that is done before close. Post-merge actions are follow-up changes, not tasks.
-
Validate:
"${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec validate <change-id> --strict --no-interactive --jsonA delta-less change declares
skip_specs: truein its.openspec.yaml; validate then accepts zero deltas. Fix everything until green. -
Continue straight into
tx:apply. plan is not a stopping point.
Unknown 처리
Every unknown met while planning resolves one of three ways:
- measurable: measure it and record the result.
- reversible: adopt an assumption and state it in design.
- neither: halt the change and record why in the proposal.
04 同仓库更多 Skills
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
apply
Implement the planned change task by task, then judge it