From: Jérôme Benoit Date: Sat, 25 Apr 2026 14:23:27 +0000 (+0200) Subject: chore: update OpenSpec skills to v1.3.1 and fix formatting X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=db2c1931df0aa607428cf45b05d6996fa0128c08;p=e-mobility-charging-stations-simulator.git chore: update OpenSpec skills to v1.3.1 and fix formatting --- diff --git a/.opencode/skills/openspec-apply-change/SKILL.md b/.opencode/skills/openspec-apply-change/SKILL.md index 7c69d4ab..cbb71832 100644 --- a/.opencode/skills/openspec-apply-change/SKILL.md +++ b/.opencode/skills/openspec-apply-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Implement tasks from an OpenSpec change. @@ -41,7 +41,7 @@ Implement tasks from an OpenSpec change. ``` This returns: - - Context file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs) + - `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 @@ -53,7 +53,7 @@ Implement tasks from an OpenSpec change. 4. **Read context files** - Read the files listed in `contextFiles` from the apply instructions output. + Read every file path listed under `contextFiles` from 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 diff --git a/.opencode/skills/openspec-archive-change/SKILL.md b/.opencode/skills/openspec-archive-change/SKILL.md index 4163d134..9ceebbc0 100644 --- a/.opencode/skills/openspec-archive-change/SKILL.md +++ b/.opencode/skills/openspec-archive-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Archive a completed change in the experimental workflow. diff --git a/.opencode/skills/openspec-bulk-archive-change/SKILL.md b/.opencode/skills/openspec-bulk-archive-change/SKILL.md index db6cf213..de1fb15e 100644 --- a/.opencode/skills/openspec-bulk-archive-change/SKILL.md +++ b/.opencode/skills/openspec-bulk-archive-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Archive multiple completed changes in a single operation. @@ -84,7 +84,7 @@ This skill allows you to batch-archive changes, handling spec conflicts intellig Display a table summarizing all changes: ``` - | Change | Artifacts | Tasks | Specs | Conflicts | Status | + | Change | Artifacts | Tasks | Specs | Conflicts | Status | |---------------------|-----------|-------|---------|-----------|--------| | schema-management | Done | 5/5 | 2 delta | None | Ready | | project-config | Done | 3/3 | 1 delta | None | Ready | diff --git a/.opencode/skills/openspec-continue-change/SKILL.md b/.opencode/skills/openspec-continue-change/SKILL.md index 8f7f0ae4..096350e5 100644 --- a/.opencode/skills/openspec-continue-change/SKILL.md +++ b/.opencode/skills/openspec-continue-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Continue working on a change by creating the next artifact. diff --git a/.opencode/skills/openspec-explore/SKILL.md b/.opencode/skills/openspec-explore/SKILL.md index 3cb68812..0a26925c 100644 --- a/.opencode/skills/openspec-explore/SKILL.md +++ b/.opencode/skills/openspec-explore/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes. @@ -60,10 +60,10 @@ Depending on what the user brings, you might: │ Use ASCII diagrams liberally │ ├─────────────────────────────────────────┤ │ │ -│ ┌────────┐ ┌────────┐ │ -│ │ State │────────▶│ State │ │ -│ │ A │ │ B │ │ -│ └────────┘ └────────┘ │ +│ ┌────────┐ ┌────────┐ │ +│ │ State │────────▶│ State │ │ +│ │ A │ │ B │ │ +│ └────────┘ └────────┘ │ │ │ │ System diagrams, state machines, │ │ data flows, architecture sketches, │ @@ -238,7 +238,7 @@ User: A CLI tool that tracks local dev environments You: That changes everything. ┌─────────────────────────────────────────────────┐ - │ CLI TOOL DATA STORAGE │ + │ CLI TOOL DATA STORAGE │ └─────────────────────────────────────────────────┘ Key constraints: diff --git a/.opencode/skills/openspec-ff-change/SKILL.md b/.opencode/skills/openspec-ff-change/SKILL.md index 111e4fe5..0de57d3e 100644 --- a/.opencode/skills/openspec-ff-change/SKILL.md +++ b/.opencode/skills/openspec-ff-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Fast-forward through artifact creation - generate everything needed to start implementation in one go. diff --git a/.opencode/skills/openspec-new-change/SKILL.md b/.opencode/skills/openspec-new-change/SKILL.md index 179bb03f..7549566a 100644 --- a/.opencode/skills/openspec-new-change/SKILL.md +++ b/.opencode/skills/openspec-new-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Start a new change using the experimental artifact-driven approach. diff --git a/.opencode/skills/openspec-onboard/SKILL.md b/.opencode/skills/openspec-onboard/SKILL.md index addace78..ce1f7b45 100644 --- a/.opencode/skills/openspec-onboard/SKILL.md +++ b/.opencode/skills/openspec-onboard/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Guide the user through their first complete OpenSpec workflow cycle. This is a teaching experience—you'll do real work in their codebase while explaining each step. @@ -488,21 +488,21 @@ This same rhythm works for any size change—a small fix or a major feature. **Core workflow:** -| Command | What it does | -|---------|--------------| -| `/opsx-propose` | Create a change and generate all artifacts | -| `/opsx-explore` | Think through problems before/during work | -| `/opsx-apply` | Implement tasks from a change | -| `/opsx-archive` | Archive a completed change | + | Command | What it does | + |-------------------|--------------------------------------------| + | `/opsx-propose` | Create a change and generate all artifacts | + | `/opsx-explore` | Think through problems before/during work | + | `/opsx-apply` | Implement tasks from a change | + | `/opsx-archive` | Archive a completed change | **Additional commands:** -| Command | What it does | -|---------|--------------| -| `/opsx-new` | Start a new change, step through artifacts one at a time | -| `/opsx-continue` | Continue working on an existing change | -| `/opsx-ff` | Fast-forward: create all artifacts at once | -| `/opsx-verify` | Verify implementation matches artifacts | + | Command | What it does | + |--------------------|----------------------------------------------------------| + | `/opsx-new` | Start a new change, step through artifacts one at a time | + | `/opsx-continue` | Continue working on an existing change | + | `/opsx-ff` | Fast-forward: create all artifacts at once | + | `/opsx-verify` | Verify implementation matches artifacts | --- @@ -540,21 +540,21 @@ If the user says they just want to see the commands or skip the tutorial: **Core workflow:** -| Command | What it does | -|---------|--------------| -| `/opsx-propose ` | Create a change and generate all artifacts | -| `/opsx-explore` | Think through problems (no code changes) | -| `/opsx-apply ` | Implement tasks | -| `/opsx-archive ` | Archive when done | + | Command | What it does | + |--------------------------|--------------------------------------------| + | `/opsx-propose ` | Create a change and generate all artifacts | + | `/opsx-explore` | Think through problems (no code changes) | + | `/opsx-apply ` | Implement tasks | + | `/opsx-archive ` | Archive when done | **Additional commands:** -| Command | What it does | -|---------|--------------| -| `/opsx-new ` | Start a new change, step by step | -| `/opsx-continue ` | Continue an existing change | -| `/opsx-ff ` | Fast-forward: all artifacts at once | -| `/opsx-verify ` | Verify implementation | + | Command | What it does | + |---------------------------|-------------------------------------| + | `/opsx-new ` | Start a new change, step by step | + | `/opsx-continue ` | Continue an existing change | + | `/opsx-ff ` | Fast-forward: all artifacts at once | + | `/opsx-verify ` | Verify implementation | Try `/opsx-propose` to start your first change. ``` diff --git a/.opencode/skills/openspec-sync-specs/SKILL.md b/.opencode/skills/openspec-sync-specs/SKILL.md index a14f27dc..c777618c 100644 --- a/.opencode/skills/openspec-sync-specs/SKILL.md +++ b/.opencode/skills/openspec-sync-specs/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Sync delta specs from a change to main specs. diff --git a/.opencode/skills/openspec-verify-change/SKILL.md b/.opencode/skills/openspec-verify-change/SKILL.md index 051f4b12..ebd8e576 100644 --- a/.opencode/skills/openspec-verify-change/SKILL.md +++ b/.opencode/skills/openspec-verify-change/SKILL.md @@ -6,7 +6,7 @@ compatibility: Requires openspec CLI. metadata: author: openspec version: '1.0' - generatedBy: '1.2.0' + generatedBy: '1.3.1' --- Verify that an implementation matches the change artifacts (specs, tasks, design). @@ -41,7 +41,7 @@ Verify that an implementation matches the change artifacts (specs, tasks, design openspec instructions apply --change "" --json ``` - This returns the change directory and context files. Read all available artifacts from `contextFiles`. + This returns the change directory and `contextFiles` (artifact ID -> array of concrete file paths). Read all available artifacts from `contextFiles`. 4. **Initialize verification report structure** @@ -55,7 +55,7 @@ Verify that an implementation matches the change artifacts (specs, tasks, design 5. **Verify Completeness** **Task Completion**: - - If tasks.md exists in contextFiles, read it + - If `contextFiles.tasks` exists, read every file path in it - Parse checkboxes: `- [ ]` (incomplete) vs `- [x]` (complete) - Count complete vs total tasks - If incomplete tasks exist: @@ -94,7 +94,7 @@ Verify that an implementation matches the change artifacts (specs, tasks, design 7. **Verify Coherence** **Design Adherence**: - - If design.md exists in contextFiles: + - If `contextFiles.design` exists: - Extract key decisions (look for sections like "Decision:", "Approach:", "Architecture:") - Verify implementation follows those decisions - If contradiction detected: