Tom Boucher
375bf3abd6
fix(#3126): replace hardcoded globalSkillsBase with first-class runtime-aware mapping (#3140)
* fix(#3126): replace hardcoded globalSkillsBase with runtime-aware mapping
Root cause: buildAgentSkillsBlock() used path.join(os.homedir(), '.claude',
'skills') for globalSkillsBase regardless of config.runtime. Cursor users
(and every non-Claude runtime) saw their global: skill lookups fail with
a warning pointing to the wrong directory.
Fix: introduces get-shit-done/bin/lib/runtime-homes.cjs — a pure, side-
effect-free module covering all 15 GSD runtimes:
Runtime Config base Skills path
claude ~/.claude ~/.claude/skills/
cursor ~/.cursor ~/.cursor/skills/
gemini ~/.gemini ~/.gemini/skills/
codex ~/.codex ~/.codex/skills/
copilot ~/.copilot ~/.copilot/skills/
antigravity ~/.gemini/antigravity ...antigravity/skills/
windsurf ~/.codeium/windsurf ...windsurf/skills/
augment ~/.augment ~/.augment/skills/
trae ~/.trae ~/.trae/skills/
qwen ~/.qwen ~/.qwen/skills/
hermes ~/.hermes ~/.hermes/skills/gsd/ (nested #2841)
codebuddy ~/.codebuddy ~/.codebuddy/skills/
cline ~/.cline null (rules-based, no skills dir)
opencode ~/.config/opencode ...opencode/skills/
kilo ~/.config/kilo ...kilo/skills/
Also adds CLAUDE_CONFIG_DIR env var support (was missing).
Warning messages now show the actual runtime-specific path.
Docs: INVENTORY.md CLI Modules 41→42.
Regression test: 30 assertions across all runtimes.
Suite: 7008/7008. Closes #3126.
* fix(lint+init): allow-test-rule, fix display path duplication (skillName appended twice)
2026-05-05 15:02:11 -04:00
..
2026-04-20 18:21:23 -04:00
2026-04-30 11:38:13 -04:00
2026-04-30 14:04:50 -04:00
2026-04-30 11:38:13 -04:00
2026-05-02 14:26:35 -04:00
2026-05-02 09:27:23 -04:00
2026-04-30 01:04:41 -04:00
2026-05-04 23:35:34 -04:00
2026-04-22 23:03:59 -04:00
2026-04-01 08:47:31 -06:00
2026-04-25 10:59:33 -04:00
2026-04-26 21:40:38 -04:00
2026-04-30 12:13:55 -04:00
2026-05-02 09:27:23 -04:00
2026-04-25 10:59:33 -04:00
2026-04-30 14:04:50 -04:00
2026-05-05 15:02:11 -04:00
2026-04-27 00:13:20 -04:00
2026-04-15 14:59:24 -04:00
2026-04-05 19:09:14 -04:00
2026-05-04 23:31:06 -04:00
2026-05-02 14:26:35 -04:00
2026-05-04 23:22:20 -04:00
2026-05-04 23:54:44 -04:00
2026-04-30 14:04:50 -04:00
2026-04-30 11:38:13 -04:00
2026-05-02 00:29:45 -04:00
2026-03-20 15:46:06 -04:00
2026-04-30 14:04:50 -04:00
2026-05-05 15:02:07 -04:00
2026-05-05 15:02:11 -04:00
2026-04-01 16:53:20 -04:00
2026-04-25 10:59:33 -04:00
2026-04-20 10:08:18 -04:00
2026-05-04 23:10:26 -04:00
2026-05-04 23:10:26 -04:00
2026-04-30 11:38:13 -04:00
2026-04-30 11:38:13 -04:00
2026-04-30 14:04:50 -04:00
2026-04-30 14:04:50 -04:00
2026-04-30 11:38:13 -04:00
2026-04-30 11:38:13 -04:00