skillshare icon indicating copy to clipboard operation
skillshare copied to clipboard

Add command target presets for extras init

Open TIR44 opened this issue 6 months ago • 0 comments

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/commands and .cursor/commands.
  • Rejected the project codex preset 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

TIR44 avatar May 31 '26 13:05 TIR44