chore(opencode): add openspec slash commands and sync skill references

Switch OpenSpec delivery from skills-only to both, so OpenCode gets
.opencode/commands/opsx-*.md slash commands in addition to skills.
Regenerate the affected skill files to reference the new commands.
This commit is contained in:
2026-11-11 17:54:45 +01:00
parent 34f3f514cb
commit 2bd0b29bf1
12 changed files with 1267 additions and 16 deletions
@@ -45,7 +45,7 @@ This workflow revises artifacts that already exist; it never creates missing one
Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to update.
Always announce: "Using change: <name>" and how to override (e.g., `/openspec-update-change <other>`).
Always announce: "Using change: <name>" and how to override (e.g., `/opsx-update <other>`).
2. **Get the change's artifacts**
```bash
@@ -89,8 +89,8 @@ This workflow revises artifacts that already exist; it never creates missing one
6. **Point to the next step (guidance only - NEVER act on it)**
- Artifacts with empty `existingOutputPaths` and status `ready` or `blocked` -> run `openspec status --change "<name>" --json` for the next artifact and point the user to `openspec instructions "<artifact-id>" --change "<name>" --json` for how to create it.
- Change already implemented (tasks checked off / already applied) -> the code may no longer match the revised plan; suggest `/openspec-apply-change` to carry the delta into code.
- Everything done and implemented -> suggest `/openspec-archive-change`.
- Change already implemented (tasks checked off / already applied) -> the code may no longer match the revised plan; suggest `/opsx-apply` to carry the delta into code.
- Everything done and implemented -> suggest `/opsx-archive`.
**Output**
@@ -101,7 +101,7 @@ After each invocation, show:
- Where the change stands and the recommended next command
**Guardrails**
- Planning artifacts only - NEVER edit implementation code. If the revised plan implies code changes, stop and point to `/openspec-apply-change`.
- Planning artifacts only - NEVER edit implementation code. If the revised plan implies code changes, stop and point to `/opsx-apply`.
- Use the artifact ids and paths reported by `openspec status`; never branch on hardcoded artifact names.
- Edit only the concrete files in `existingOutputPaths`, plus any confirmed concrete path allowed under a partly populated glob artifact (step 4); never write to a glob `resolvedOutputPath`.
- Do not advance the build frontier: if an artifact has empty `existingOutputPaths` and status `ready` or `blocked`, creating them is a separate step, outside this workflow. Leave `skipped` artifacts untouched. The only new-file scope is a confirmed concrete path under a glob artifact whose `existingOutputPaths` is non-empty.