Integrate openspec skills#212
Conversation
Code Coverage Summary |
There was a problem hiding this comment.
Pull request overview
Adds OpenSpec configuration plus a set of GitHub Copilot “skills” and corresponding /opsx:* prompt templates to support proposing, exploring, applying, and archiving OpenSpec-driven changes in this repo.
Changes:
- Add
openspec/config.yamlsetting the default OpenSpec schema (spec-driven). - Introduce new OpenSpec skills under
.github/skills/(propose/explore/apply/archive). - Add matching
/opsx:*prompt files under.github/prompts/(propose/explore/apply/archive).
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
openspec/config.yaml |
Adds base OpenSpec config and schema selection for the repository. |
.github/skills/openspec-propose/SKILL.md |
Skill instructions for generating a new change plus proposal/design/tasks artifacts. |
.github/skills/openspec-explore/SKILL.md |
Skill instructions for “explore mode” (requirements clarification / investigation). |
.github/skills/openspec-apply-change/SKILL.md |
Skill instructions for implementing tasks from an OpenSpec change. |
.github/skills/openspec-archive-change/SKILL.md |
Skill instructions for archiving a change, including delta spec sync guidance. |
.github/prompts/opsx-propose.prompt.md |
/opsx:propose prompt instructions aligned to the propose skill workflow. |
.github/prompts/opsx-explore.prompt.md |
/opsx:explore prompt instructions aligned to explore mode. |
.github/prompts/opsx-apply.prompt.md |
/opsx:apply prompt instructions for implementing tasks from a change. |
.github/prompts/opsx-archive.prompt.md |
/opsx:archive prompt instructions for archiving a completed change. |
|
Hi @nhanasi : Where are the new files coming from? There are several code matches, but the tool isn't finding everything. Please confirm the source(s) for all the files which are not original. LICENSE in this repo needs to get an MIT licence appended. I am open to correction on the exact details. |
Code Coverage Summary |
1 similar comment
Code Coverage Summary |
|
|
||
| MIT License | ||
|
|
||
| Copyright (c) YEAR COPYRIGHT HOLDER |
| - Dynamic instruction based on current state | ||
|
|
||
| **Handle states:** | ||
| - If `state: "blocked"` (missing artifacts): show message, suggest using openspec-continue-change |
| - Dynamic instruction based on current state | ||
|
|
||
| **Handle states:** | ||
| - If `state: "blocked"` (missing artifacts): show message, suggest using `/opsx:continue` |
| - If changes needed: "Sync now (recommended)", "Archive without syncing" | ||
| - If already synced: "Archive now", "Sync anyway", "Cancel" | ||
|
|
||
| If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice. |
| - Don't block archive on warnings - just inform and confirm | ||
| - Preserve .openspec.yaml when moving to archive (it moves with the directory) | ||
| - Show clear summary of what happened | ||
| - If sync is requested, use openspec-sync-specs approach (agent-driven) |
| - If changes needed: "Sync now (recommended)", "Archive without syncing" | ||
| - If already synced: "Archive now", "Sync anyway", "Cancel" | ||
|
|
||
| If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke openspec-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice. |
| - Don't block archive on warnings - just inform and confirm | ||
| - Preserve .openspec.yaml when moving to archive (it moves with the directory) | ||
| - Show clear summary of what happened | ||
| - If sync is requested, use the Skill tool to invoke `openspec-sync-specs` (agent-driven) |
|
b'## WARNING: A Blackduck scan failure has been waived A prior failure has been upvoted
|
No description provided.