Skip to content

feat: install skills via git sparse-checkout - #390

Merged
backnotprop merged 1 commit into
mainfrom
feat/compound-skill
Mar 25, 2026
Merged

backnotprop merged 1 commit into
mainfrom
feat/compound-skill

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Summary

  • Adds skill installation phase to all 3 platform install scripts (sh, ps1, cmd)
  • Uses git sparse-checkout to fetch only apps/skills/ from the repo at the release tag — no manifests, no tarballs, no build workflow changes
  • Copies skills into ${CLAUDE_CONFIG_DIR:-~/.claude}/skills/ and ${XDG_CONFIG_HOME:-~/.config}/agents/skills/
  • Gracefully skips if git is unavailable or the sparse-checkout fails — never kills the install
  • Includes the first skill: plannotator-compound (compound planning analysis)
  • Test coverage added for all 3 scripts

Test plan

  • Run install.sh against a tag that has apps/skills/ — verify files copied to both dirs
  • Run install.sh against a tag without apps/skills/ — verify graceful skip
  • Run install.sh on a machine without git — verify graceful skip
  • Verify bun test scripts/install.test.ts passes (23/23)
  • Review ps1/cmd parity with sh logic

Adds a skills installation phase to all three install scripts (sh, ps1, cmd).
Uses git sparse-checkout to fetch only apps/skills/ from the repo at the
release tag, then copies into ~/.claude/skills/ and ~/.config/agents/skills/.
Gracefully skips if git is unavailable or the clone fails.

For provenance purposes, this commit was AI assisted.
@backnotprop

Copy link
Copy Markdown
Owner Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

@backnotprop
backnotprop merged commit f2a05ec into main Mar 25, 2026
5 checks passed
stk-code pushed a commit to stk-code/plannotator that referenced this pull request Mar 31, 2026
…pts (backnotprop#390)

Adds a skills installation phase to all three install scripts (sh, ps1, cmd).
Uses git sparse-checkout to fetch only apps/skills/ from the repo at the
release tag, then copies into ~/.claude/skills/ and ~/.config/agents/skills/.
Gracefully skips if git is unavailable or the clone fails.

For provenance purposes, this commit was AI assisted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant