-
Notifications
You must be signed in to change notification settings - Fork 22
Support install and uninstall backend skills flow #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -208,7 +208,7 @@ so the CLI itself handles the installation details." | |||||||||||||||||
| :config "~/.claude.json" | ||||||||||||||||||
| :agent-file "CLAUDE.md" | ||||||||||||||||||
| :upgrade "npm install -g @anthropic-ai/claude-code@latest" | ||||||||||||||||||
| :install-skills ai-code-claude-code-install-skills | ||||||||||||||||||
| :install-skills nil | ||||||||||||||||||
tninja marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||
| :cli "claude") | ||||||||||||||||||
| (gemini | ||||||||||||||||||
| :label "Gemini CLI" | ||||||||||||||||||
|
|
@@ -584,16 +584,26 @@ ARG is the prefix argument to pass to the upgrade function." | |||||||||||||||||
| "Fallback skills installation for backend LABEL. | ||||||||||||||||||
| Prompt user for a skills repository URL and ask the AI CLI session | ||||||||||||||||||
| to read the repo README and install the skills." | ||||||||||||||||||
| (let* ((url (read-string | ||||||||||||||||||
| (format "Skills repo URL for %s: " label) | ||||||||||||||||||
| (ai-code--manage-backend-skills-fallback label 'install)) | ||||||||||||||||||
|
|
||||||||||||||||||
| (defun ai-code--manage-backend-skills-fallback (label action) | ||||||||||||||||||
| "Fallback backend skills management for LABEL and ACTION. | ||||||||||||||||||
| ACTION should be the symbol `install' or `uninstall'." | ||||||||||||||||||
| (let* ((action-name (if (eq action 'uninstall) "uninstall" "install")) | ||||||||||||||||||
|
||||||||||||||||||
| (let* ((action-name (if (eq action 'uninstall) "uninstall" "install")) | |
| (let* ((action-name | |
| (pcase action | |
| ('install "install") | |
| ('uninstall "uninstall") | |
| (_ (user-error | |
| "Invalid backend skills action: %S; expected `install' or `uninstall'" | |
| action)))) |
Copilot
AI
Apr 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the uninstall fallback prompt, "cleanup related configuration" should be "clean up related configuration" (verb form). This prompt is user/AI-facing text, so tightening grammar here helps avoid ambiguity.
| "Please read the README of %s and uninstall/remove the skills described there for %s. Follow the repository instructions to remove any installed skill files and cleanup related configuration." | |
| "Please read the README of %s and uninstall/remove the skills described there for %s. Follow the repository instructions to remove any installed skill files and clean up related configuration." |
Copilot
AI
Apr 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ai-code-install-backend-skills now supports both install and uninstall via completing-read, but the docstring still describes install-only behavior, and the inline ;; DONE: comment reads like leftover implementation notes. Please update the docstring to reflect the new (un)install flow and remove the DONE note to keep the function documentation accurate and maintainable.
Uh oh!
There was an error while loading. Please reload this page.