feat: add GitHub Copilot CLI support - #28
Merged
Merged
Conversation
Makes this plugin dual-compatible with Claude Code and GitHub Copilot
CLI, which converged on a near-identical marketplace/plugin/skill
architecture. Verified live against both tools.
- meta-install: new --target claude|copilot-cli, --copilot-native, and
--standalone-skills modes
- skill name: frontmatter changed dev:<skill> -> dev-<skill> (Copilot
CLI rejects colons in skill names; confirmed no effect on Claude
Code, whose /dev:<skill> invocation comes from commands/<skill>.md)
- fixed 3 files with unquoted description: values containing ": ",
which broke YAML parsing under Copilot CLI's stricter parser
- replaced ${CLAUDE_PLUGIN_ROOT} (Claude-only) with relative paths in
4 SKILL.md files
- validate-skills.sh: new Copilot CLI compatibility checks
- corrected stale skill counts (24/26 -> 27) across manifests and docs
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
meta-installgained--target claude|copilot-cli,--copilot-native, and--standalone-skillsfor installing rules/skills into Copilot CLI projects that don't use the plugin/marketplace mechanism.description:values containing a colon+space, which breaks YAML parsing under Copilot CLI's stricter frontmatter parser (Claude Code tolerated it). This silently preventedreview-app, and themeta-install/meta-create-skillcommands, from loading under Copilot CLI.name:frontmatter changed fromdev:<skill>todev-<skill>(Copilot CLI rejects:in skill names). Verified live this has zero effect on Claude Code, whose/dev:<skill>slash-invocation is driven bycommands/<skill>.md(plugin name + command filename), never by this field.${CLAUDE_PLUGIN_ROOT}(Claude Code-only template variable) replaced with plain relative paths in the 4SKILL.mdfiles that used it; it remains fine incommands/*.md, which is Claude Code-only and not read by Copilot CLI.validate-skills.shgained checks to catch both classes of bug (stray${CLAUDE_PLUGIN_ROOT}, unsafedescription:colons, missing/presentskillsfield inplugin.json) automatically going forward.marketplace.json,plugin.json,CLAUDE.md, andREADME.md.Test plan
bash scripts/validate-skills.sh— all checks greendiff -r claude/ plugins/dev/rules/— rule mirror still in synccopilot plugin install dev@gerald-dev-best-practicesfrom a local marketplace source —Skills (29/29 enabled), no YAML parse errors, all 27 skills including the previously-missingmeta-install/meta-create-skillpresent/dev:design-apistill resolves correctly after thename:field renameclaude plugin install dev@gerald-dev-best-practicesin a fresh project as a final regression check before merge🤖 Generated with Claude Code