skillshare
skillshare copied to clipboard
Add command target presets for extras init
Addresses #146.
Summary
- Added command target preset expansion for
extras init commands(claude/claude-code,cursor,codex). - Mapped global presets to
~/.claude/commands,~/.cursor/commands, and~/.codex/prompts; mapped project presets to.claude/commandsand.cursor/commands. - Rejected the project
codexpreset with a clear message because Codex prompt files are home-scoped rather than project-discovered. - Updated CLI help, TUI placeholders, and docs for command invocation differences.
Validation
go test ./cmd/skillshare -run 'TestResolveExtraInitTargetPresets|TestCmdExtrasInit_Commands' -count=1\n-make test-unit