Files
Didier 537e6078b7 Fix Cline: use workflows instead of rules for slash commands (#283)
* fix(cline): use workflows instead of rules for slash commands

- Update ClineSlashCommandConfigurator to use .clinerules/workflows/ paths
- Update tests to expect correct workflow file locations
- Update README.md to reflect workflows instead of rules
- Fixes Cline integration to match Cline's architecture per their blog post

* Adds spec for fix-cline-workflows-implementation

---------

Co-authored-by: didier <didier.boff@axess.fr>
Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
2025-11-13 23:03:51 +11:00

682 B

1. Update ClineSlashCommandConfigurator

  • Change FILE_PATHS in src/core/configurators/slash/cline.ts from .clinerules/openspec-*.md to .clinerules/workflows/openspec-*.md

2. Update Tests

  • Update "should refresh existing Cline rule files" test in test/core/update.test.ts to use workflow paths
  • Update "should create Cline rule files with templates" test in test/core/init.test.ts to use workflow paths

3. Update Documentation

  • Update README.md table to show "Workflows in .clinerules/workflows/ directory" for Cline

4. Validate Changes

  • Ensure all tests pass with the new paths
  • Verify the change follows OpenSpec conventions