AGENT SKILL

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 正文

절차

  1. Judge the gate: every artifact listed in applyRequires must be done. (isComplete is not the gate; design exists only when its inclusion criteria apply.) Otherwise what is missing is planning, not implementation: return to tx:plan.

    "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec status --change <change-id> --json
    
  2. Take the context file paths and the task checklist:

    "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec instructions apply --change <change-id> --json
    
  3. 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.

  4. When every task is done, judge the implementation yourself, or by tx:verify where 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