openspec-apply-change
यह क्या करती है
यह स्किल एजेंट को OpenSpec परिवर्तन के कार्यों को लागू करने का मार्गदर्शन देती है। यह उन डेवलपरों के लिए है जो अपनी योजना OpenSpec परिवर्तनों के रूप में लिखते हैं और चाहते हैं कि एजेंट उन्हें क्रम से पूरा करे।
कब इस्तेमाल करें
- ✓जब आप ऐसे परिवर्तन को लागू करना शुरू करना चाहते हैं जिसकी कार्य-सूची पहले से है।
- ✓जब आप ऐसा परिवर्तन आगे बढ़ाना चाहते हैं जहाँ काम रुक गया था।
- ✓जब आप चाहते हैं कि एजेंट परिवर्तन के बचे कार्य एक-एक करके पूरे करे।
Skill का लिंक
https://github.com/monid-ai/monid/blob/main/.opencode/skills/openspec-apply-change/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“add-user-auth परिवर्तन को लागू करना शुरू कीजिए और उसके सारे कार्य पूरे होने तक आगे बढ़िए।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 22/10/2026
कमेंट
- …
इस repository की और skills
openspec-archive-change
6.1kआपके एजेंट को OpenSpec परिवर्तन के पूरा लागू हो जाने के बाद उसे अंतिम रूप देकर संग्रहीत करने में मदद करती है।
openspec-explore
6.1kआपके एजेंट के साथ एक विचार या समस्या पर सोचने में मदद करती है, जिसमें एजेंट एक सोचने वाले साथी की तरह काम करता है, बिना कोई कोड लिखे।
openspec-propose
6.1kआपके एजेंट को एक ही चरण में नया OpenSpec परिवर्तन उसके प्रस्ताव, डिज़ाइन और कार्य-सूची के साथ बनाने में मदद करती है, लागू करने के लिए तैयार।
openspec-sync-specs
6.1kआपके एजेंट को परिवर्तन को बंद किए बिना, डेल्टा स्पेक के बदलावों से मुख्य स्पेक फ़ाइलें अपडेट करने में मदद करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।