mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
dcfb6afe0c
* First pass at adding Opencode slash commands * Fix the agent * Pass in Arguments to opencode slash commands * Remove unneeded agents file
1.2 KiB
1.2 KiB
ADDED Requirements
Requirement: Slash Command Updates
The update command SHALL refresh existing slash command files for configured tools without creating new ones.
Scenario: Updating slash commands for Claude Code
- WHEN
.claude/commands/openspec/containsproposal.md,apply.md, andarchive.md - THEN refresh each file using shared templates
- AND ensure templates include instructions for the relevant workflow stage
Scenario: Updating slash commands for Cursor
- WHEN
.cursor/commands/containsopenspec-proposal.md,openspec-apply.md, andopenspec-archive.md - THEN refresh each file using shared templates
- AND ensure templates include instructions for the relevant workflow stage
Scenario: Updating slash commands for OpenCode
- WHEN
.opencode/commands/containsopenspec-proposal.md,openspec-apply.md, andopenspec-archive.md - THEN refresh each file using shared templates
- AND ensure templates include instructions for the relevant workflow stage
Scenario: Missing slash command file
- WHEN a tool lacks a slash command file
- THEN do not create a new file during update