Files
Tabish Bidiwale 5cb84a775e Add change proposal for Windsurf workflow support (#94)
* docs(windsurf): propose workflow support

* restore missing opencode spec
2025-10-01 11:51:07 +10:00

1.2 KiB

1. CLI wiring

  • 1.1 Add Windsurf to the selectable AI tools in openspec init, including "already configured" detection.
  • 1.2 Register a WindsurfSlashCommandConfigurator that writes workflows to .windsurf/workflows/ and ensures the directory exists.
  • 1.3 Ensure openspec update pulls the Windsurf configurator when winds is selected and skips creation when files are absent.

2. Workflow templates

  • 2.1 Reuse the shared proposal/apply/archive bodies, adding Windsurf-specific headings/description before the OpenSpec markers.
  • 2.2 Confirm generated Markdown (per file) stays comfortably under the 12k character ceiling noted in the Windsurf docs.

3. Tests & safeguards

  • 3.1 Extend init tests to assert creation of .windsurf/workflows/openspec-*.md when Windsurf is chosen.
  • 3.2 Extend update tests to assert existing Windsurf workflows are refreshed and non-existent files are ignored.
  • 3.3 Add regression coverage for marker preservation inside Windsurf workflow files.

4. Documentation

  • 4.1 Update README (and any user-facing docs) to list Windsurf under native slash/workflow integrations.
  • 4.2 Call out Windsurf workflow support in release notes or CHANGELOG if applicable.