feat: add GitHub Copilot CLI install support#169
Open
1fanwang wants to merge 1 commit into
Open
Conversation
Copilot CLI discovers skills under .github/skills/ and installs plugins from a .github/plugin/marketplace.json manifest. Neither existed here, so the skill could only be added to Copilot CLI by hand. Add both Copilot manifests plus a .github/skills/humanizer/SKILL.md symlink to the root SKILL.md, so the same skill is exposed to Copilot CLI without a second copy that could drift. Document the Copilot CLI install path in the README and extend the AGENTS.md version-bump contract to cover the new plugin manifest.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Humanizer already ships first-class install paths for the cross-agent
skillsCLI and for Claude Code, but not for GitHub Copilot CLI. Copilot CLI has its own skill/plugin discovery and does not read the.claude-plugin/manifests, so today a Copilot CLI user has to wire the skill up by hand. This adds the missing native path, in keeping with the repo's "works in any harness" goal.What changed
Copilot CLI discovers repo skills under
.github/skills/and installs plugins from a.github/plugin/marketplace.jsonmanifest. This PR adds those, mirroring the existing Claude Code flow:.github/plugin/marketplace.json+.github/plugin/plugin.json— so/plugin marketplace add blader/humanizerthen/plugin install humanizer@humanizerwork in Copilot CLI, the same way the README already documents for Claude Code..github/skills/humanizer/SKILL.md— a symlink to the rootSKILL.md, so/skills add https://github.com/blader/humanizerworks too. It's a symlink rather than a copy soSKILL.mdstays the single source of truth with nothing to drift, per the maintenance contract inAGENTS.md.AGENTS.mdupdate so the Key files list and the version-bump contract cover the new.github/plugin/plugin.json.The skill content and every existing install path are untouched.
Note on the symlink
Git records
.github/skills/humanizer/SKILL.mdas a real symlink (mode120000) and materializes it on clone on macOS/Linux (and on Windows withcore.symlinks=true). If you'd prefer not to depend on symlinks, I'm happy to switch it to a generated copy plus a sync note instead — your call.Test plan
.github/skills/humanizer/SKILL.mdresolves to the rootSKILL.md(same file) and Git tracks it as a symlink (120000), so there is no duplicated skill body.AGENTS.mdstay consistent with the maintenance contract (version fields enumerated, install language harness-neutral)./plugin marketplace add blader/humanizer→/plugin install humanizer@humanizer→/skills listshowshumanizer; and/skills add https://github.com/blader/humanizeradds it standalone. (The manifest layout matches a plugin that already installs cleanly in Copilot CLI.)