Skip to content

feat: add Kilo Code, Roo Code, and Windsurf support#15

Open
archasek wants to merge 2 commits intoiannuttall:mainfrom
archasek:feature/ai-coders-support
Open

feat: add Kilo Code, Roo Code, and Windsurf support#15
archasek wants to merge 2 commits intoiannuttall:mainfrom
archasek:feature/ai-coders-support

Conversation

@archasek
Copy link

Summary

This PR adds support for three additional AI coding assistants: Kilo Code, Roo Code, and Windsurf. It consolidates and supersedes the previous individual PRs (#12, #13, #14) with a unified implementation based on comprehensive research.

Changes

Kilo Code Support

  • Config directory: .kilocode/
  • Rules: Links .agents/rules/~/.kilocode/rules/ (global scope)
  • AGENTS.md: Links .agents/AGENTS.md~/.kilocode/AGENTS.md (global scope)

Roo Code Support

  • Config directory: .roo/
  • Rules: Links .agents/rules/~/.roo/rules/ (global and project scope)
  • Skills: Links .agents/skills/~/.roo/skills/ (global and project scope)
  • Commands: Links .agents/commands/~/.roo/commands/ (global and project scope)
  • AGENTS.md: Links .agents/AGENTS.md~/.roo/AGENTS.md (global scope)

Windsurf Support

  • Rules file: Links .agents/AGENTS.md~/.windsurfrules (global scope only)
  • Note: Windsurf uses a single .windsurfrules file at the root level, not a directory structure

Files Modified

  • src/core/types.ts: Added kilocode, roocode, and windsurf to the Client type
  • src/core/paths.ts: Added root paths for kilocode, roocode, and windsurf configurations
  • src/core/mappings.ts: Added mappings for rules, skills, commands, and AGENTS.md for each client
  • src/cli.tsx: Added new clients to the interactive client selection UI
  • tests/linking.test.ts: Added comprehensive tests for all new client mappings

Testing

All 19 tests pass, including 4 new tests for the added clients:

  • kilocode creates symlinks for rules and AGENTS.md in global scope
  • roocode creates symlinks for rules, skills, commands, and AGENTS.md in global scope
  • windsurf creates symlink for .windsurfrules in global scope
  • kilocode and roocode rules both link from canonical rules directory

Related

- Kilo Code: add skills and workflows mappings
- Windsurf: complete overhaul with .windsurf/ directory support
  - Add .windsurf/skills/ mapping
  - Add .windsurf/workflows/ mapping
  - Add .windsurf/rules/ mapping
  - Add .windsurf/AGENTS.md mapping
  - Keep .windsurfrules as legacy alternative
- Roo Code: add .rooignore mapping
- Add ignore file mapping for .codeiumignore (Windsurf)
- Update all tests to cover new mappings
@archasek
Copy link
Author

let me know if can be merged or we close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant