Skip to content

feat(cli): add uninstall to remove the packaged skills - #14

Merged
ggordonhall merged 1 commit into
mainfrom
feat/skill-uninstall
Sep 3, 2026
Merged

feat(cli): add uninstall to remove the packaged skills#14
ggordonhall merged 1 commit into
mainfrom
feat/skill-uninstall

Conversation

@ggordonhall

Copy link
Copy Markdown
Collaborator

Why

Removing the global package leaves installed Skills behind, and consumers need a supported reverse for dependency postinstall state.

Changes

  • add an always-JSON context-tree uninstall command
  • remove every directory owned by the context-tree- prefix from selected host Skill roots
  • report inspected-clean hosts separately from skipped hosts
  • verify the behavior through the real packed tarball and a real global install

Ownership boundary

Install and uninstall own exactly the context-tree- prefix in each host skills directory. Uninstall does not touch foreign Skills, host directories, ~/.context-tree/connections.json, managed clones under ~/.context-tree/trees/, or project AGENTS.md pointer blocks. Symlinked or non-directory layouts are reported and never followed.

Verification

  • pnpm check
  • pnpm typecheck
  • pnpm test
  • pnpm check:package

@ggordonhall
ggordonhall merged commit bed7fc1 into main Sep 3, 2026
3 checks passed
@ggordonhall
ggordonhall deleted the feat/skill-uninstall branch September 3, 2026 03:11
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