Files
Kazuki YamadaandClaude Opus 5.5 23b10ae34a refactor(skill): Move skill location helpers into core/skill
getSkillBaseDir and getSkillLocation (and the SkillLocation type) lived in
the CLI prompt module, so the MCP generate_skill tool imported CLI
internals to find the project skills directory. They are pure path logic,
so they now live in core/skill/skillUtils alongside the other skill
helpers; the CLI prompts and the MCP tool import them from there.

intent(skill-location): src/mcp should not depend on cli prompt internals
decision(skill-location): skillUtils over a new module; it already holds the skill naming helpers and has no CLI dependencies
learned(skill-location): getSkillLocation has no callers in src, only tests; moved as-is rather than deleted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:07:31 +09:00
..