File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -598,11 +598,13 @@ Add your skill instructions here.
598598 // Get list of modes to check for mode-specific skills
599599 const modesList = await this . getAvailableModes ( )
600600
601- // Priority order (later entries override earlier ones with same skill name):
602- // 1. Global .agents/skills (shared across AI coding tools, lowest priority)
603- // 2. Project .agents/skills
604- // 3. Global .roo/skills (Roo-specific)
605- // 4. Project .roo/skills (highest priority)
601+ // Priority rules for skills with the same name:
602+ // 1. Source level: project > global > built-in (project always wins over global)
603+ // 2. Within the same source level: .roo overrides .agents
604+ //
605+ // Processing order (later entries override earlier ones at the same source level):
606+ // - Global: .agents/skills, then .roo/skills
607+ // - Project: .agents/skills, then .roo/skills
606608
607609 // Global .agents directories (lowest priority - shared across agents)
608610 dirs . push ( { dir : path . join ( globalAgentsDir , "skills" ) , source : "global" } )
You can’t perform that action at this time.
0 commit comments