Files
fission-ai__openspec/openspec/changes/add-slash-command-support/tasks.md
2025-09-16 11:36:00 +10:00

912 B

Implementation Tasks

1. Templates and Configurators

  • 1.1 Create shared templates for the Proposal, Apply, and Archive commands with instructions for each workflow stage from openspec/README.md.
  • 1.2 Implement a SlashCommandConfigurator base and tool-specific configurators for Claude Code and Cursor.

2. Claude Code Integration

  • 2.1 Generate .claude/commands/openspec/{proposal,apply,archive}.md during openspec init using shared templates.
  • 2.2 Update existing .claude/commands/openspec/* files during openspec update.

3. Cursor Integration

  • 3.1 Generate .cursor/commands/{openspec-proposal,openspec-apply,openspec-archive}.md during openspec init using shared templates.
  • 3.2 Update existing .cursor/commands/* files during openspec update.

4. Verification

  • 4.1 Add tests verifying slash command files are created and updated correctly.