openspec-apply-change

star 1

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

zxl85813-web By zxl85813-web schedule Updated 3/18/2026

name: openspec-apply-change description: Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks. license: MIT compatibility: Requires openspec CLI. metadata: author: openspec version: "1.0" generatedBy: "1.2.0"

📚 Skill Assets (Three-Layer Model)

1. Knowledge Library (library/)

  • implementation-guardrails.md: 实施守则(最小变更原则、错误处理策略)。

2. Scripts (scripts/)

  • task-verifier.py: 自动化任务验证器,能自动提取并运行 tasks.md 中的验证指令。

📝 Execution Steps (Enhanced)

Step 1: Context Loading & Selection

  • Select the change to implement (or suggest available ones).
  • Read library/implementation-guardrails.md to establish the safety boundary.

Step 2: Micro-Planning & Graph Context

  • BEFORE implementing, call generate-micro-plan.
  • Constraint: Use architectural-mapping via query scripts to resolve real file paths.

Step 3: Subagent TDD Implementation (Loop)

  • Loop through micro-tasks via subagent-tdd-loop.
  • Process: Perform [Red] -> [Green] -> [Refactor/Check] cycle per 2-5 min task.
  • Verification: Run ./.agent/checks/run_checks.ps1 for every commit.
  • Mark task complete - [x] in tasks artifact after each TDD success.

Step 4: Status Report

  • Summarize tasks completed and overall progress.
  • Suggest archiving if all tasks are done.
Install via CLI
npx skills add https://github.com/zxl85813-web/HiveMind_RAG --skill openspec-apply-change
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
zxl85813-web
zxl85813-web Explore all skills →