openspec-apply-change
하는 일
이 스킬은 에이전트가 OpenSpec 변경에 담긴 작업을 구현하도록 안내합니다. 계획을 OpenSpec 변경으로 작성하고, 에이전트가 순서대로 작업하기를 원하는 개발자를 위한 것입니다.
사용하는 경우
- ✓작업 목록이 이미 있는 변경의 구현을 시작하고 싶을 때.
- ✓멈춘 변경의 작업을 이어서 진행하고 싶을 때.
- ✓에이전트가 변경의 남은 작업을 하나씩 처리하기를 원할 때.
스킬 링크
https://github.com/monid-ai/monid/blob/main/.opencode/skills/openspec-apply-change/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“add-user-auth 변경의 구현을 시작하고, 모든 작업이 끝날 때까지 진행해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 지정한 변경, 또는 대화에서 언급된 변경을 찾습니다. OpenSpec 명령줄 도구로 상태와 작업 목록을 읽고, 남은 작업을 순서대로 진행하며 남은 항목을 추적합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Implement tasks from an OpenSpec change.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
Steps
Select the change
If a name is provided, use it. Otherwise:
- Infer from conversation context if the user mentioned a change
- Auto-select if only one active change exists
- If ambiguous, run
openspec list --jsonto get available changes and use the AskUserQuestion tool to let the user select
Always announce: "Using change: <name>" and how to override (e.g.,
/opsx-apply <other>).Check status to understand the schema
openspec status --change "<name>" --jsonParse the JSON to understand:
schemaName: The workflow being used (e.g., "spec-driven")planningHome,changeRoot, andactionContext: planning scope and edit constraints- Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
Get apply instructions
openspec instructions apply --change "<name>" --jsonThis returns:
contextFiles: artifact ID -> array of concrete file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs)- Progress (total, complete, remaining)
- Task list with status
- Dynamic instruction based on current state
Handle states:
- If
state: "blocked"(missing artifacts): show message, suggest using openspec-continue-change - If
state: "all_done": congratulate, suggest archive - Otherwise: proceed to implementation
Workspace guard: If status JSON reports
actionContext.mode: "workspace-planning"andallowedEditRootsis empty, explain that full workspace apply is not supported in this slice. Treat linked repos and folders as read-only context, ask the user to select an affected area through an explicit implementation workflow, and STOP before editing files.Read context files
Read every file path listed under
contextFilesfrom the apply instructions output. The files depend on the schema being used:- spec-driven: proposal, specs, design, tasks
- Other schemas: follow the contextFiles from CLI output
Show current progress
Display:
- Schema being used
- Progress: "N/M tasks complete"
- Remaining tasks overview
- Dynamic instruction from CLI
Implement tasks (loop until done or blocked)
For each pending task:
- Show which task is being worked on
- Make the code changes required
- Keep changes minimal and focused
- Mark task complete in the tasks file:
- [ ]→- [x] - Continue to next task
Pause if:
- Task is unclear → ask for clarification
- Implementation reveals a design issue → suggest updating artifacts
- Error or blocker encountered → report and wait for guidance
- User interrupts
On completion or pause, show status
Display:
- Tasks completed this session
- Overall progress: "N/M tasks complete"
- If all done: suggest archive
- If paused: explain why and wait for guidance
Output During Implementation
## Implementing: <change-name> (schema: <schema-name>)
Working on task 3/7: <task description>
[...implementation happening...]
✓ Task complete
Working on task 4/7: <task description>
[...implementation happening...]
✓ Task complete
Output On Completion
## Implementation Complete
**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 7/7 tasks complete ✓
### Completed This Session
- [x] Task 1
- [x] Task 2
...
All tasks complete! Ready to archive this change.
Output On Pause (Issue Encountered)
## Implementation Paused
**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 4/7 tasks complete
### Issue Encountered
<description of the issue>
**Options:**
1. <option 1>
2. <option 2>
3. Other approach
What would you like to do?
Guardrails
- Keep going through tasks until done or blocked
- Always read context files before starting (from the apply instructions output)
- If task is ambiguous, pause and ask before implementing
- If implementation reveals issues, pause and suggest artifact updates
- Keep code changes minimal and scoped to each task
- Update task checkbox immediately after completing each task
- Pause on errors, blockers, or unclear
자주 묻는 질문
변경 이름을 말하지 않으면 어떻게 되나요?
스킬은 대화에서 변경을 추측하거나, 불분명하면 선택하도록 요청합니다.
OpenSpec을 설치해야 하나요?
네, 상태와 작업 목록을 읽기 위해 OpenSpec 명령줄 도구를 사용합니다.
다른 변경으로 바꿀 수 있나요?
네, 사용할 변경을 다른 이름으로 지정하면 기존 선택을 대신합니다.
상세 정보
작성자의 원본 설명
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
repo: monid-ai/monid
인기도
- GitHub 스타
- 6.1k
- 순위
- #14421
- 라이선스
- MIT
- 업데이트
- 2026. 10. 22.
댓글
- …
이 저장소의 다른 스킬
openspec-archive-change
6.1k에이전트가 구현이 끝난 OpenSpec 변경을 마무리하고 보관하도록 돕습니다.
openspec-explore
6.1k에이전트를 생각을 나누는 파트너로 삼아, 코드를 쓰지 않고 아이디어를 정리하도록 돕습니다.
openspec-propose
6.1k에이전트가 제안서, 설계, 작업 목록을 갖춘 새 OpenSpec 변경을 한 번에 만들어, 바로 구현할 수 있게 합니다.
openspec-sync-specs
6.1k에이전트가 델타 스펙의 변경 사항을 반영해 주요 스펙 파일을 갱신하되, 변경은 보관하지 않도록 돕습니다.