Roo-Code/src/services/skills
roomote[bot] a266834ee2
feat: add support for .agents/skills directory (#11181)
* feat: add support for .agents/skills directory

This change adds support for discovering skills from the .agents/skills
directory, following the Agent Skills convention for sharing skills
across different AI coding tools.

Priority order (later entries override earlier ones):
1. Global ~/.agents/skills (shared across AI coding tools, lowest priority)
2. Project .agents/skills
3. Global ~/.roo/skills (Roo-specific)
4. Project .roo/skills (highest priority)

Changes:
- Add getGlobalAgentsDirectory() and getProjectAgentsDirectoryForCwd()
  functions to roo-config
- Update SkillsManager.getSkillsDirectories() to include .agents/skills
- Update SkillsManager.setupFileWatchers() to watch .agents/skills
- Add tests for new functionality

* fix: clarify skill priority comment to match actual behavior

* fix: clarify skill priority comment to explain Map.set replacement mechanism

---------

Co-authored-by: Roo Code <roomote@roocode.com>
2026-02-05 16:40:06 -08:00
..
__tests__ feat: add support for .agents/skills directory (#11181) 2026-02-05 16:40:06 -08:00
built-in refactor: replace fetch_instructions with skill tool and built-in skills (#11084) 2026-01-29 12:47:36 -07:00
built-in-skills.ts refactor: replace fetch_instructions with skill tool and built-in skills (#11084) 2026-01-29 12:47:36 -07:00
generate-built-in-skills.ts refactor: replace fetch_instructions with skill tool and built-in skills (#11084) 2026-01-29 12:47:36 -07:00
SkillsManager.ts feat: add support for .agents/skills directory (#11181) 2026-02-05 16:40:06 -08:00