Generate the Copilot and Cline skill paths from one source - #7
Merged
Merged
Conversation
GitHub Copilot reads .github/skills and Cline reads .cline/skills, so both now carry the nine workflows. Neither is a fork: scripts/sync_skills.py copies them byte for byte from plugins/dreamlayer/skills, the canonical source, alongside the existing .agents/skills copy that Cursor, OpenCode and the npx skills installer read. Copies are real files rather than symlinks so Windows checkouts and archive downloads keep working. --check reports any drift and runs in CI and in validate.py, and tests cover an edited copy, a stray file, a changed vendored file and the case where a mirror tries to write back to the source. scripts/build_plugins.py generated the plugin copies from .agents/skills and is replaced by the new script. docs/copilot-setup.md and docs/cline-setup.md cover installation, key handling, the seven tools, the generate then poll or resume then download flow, credit limits and recovery, and they repeat that Unity editor import is still unconfirmed. Verified in a clean profile with no account and no generation: Copilot CLI 1.0.88 listed all nine from .github/skills and registered the pinned MCP server with the key masked; Cline CLI 3.0.65 listed all nine from .cline/skills and listed the same server from its settings file. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot, Cline and OpenCode each listed the nine workflows from the path they document, in a clean profile with no account and no generation. Co-authored-by: Claude Opus 5 (1M context) <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.
GitHub Copilot reads
.github/skills/and Cline reads.cline/skills/. Both now carry the nine workflows, generated fromplugins/dreamlayer/skills/rather than forked.What changed
scripts/sync_skills.pywrites every host directory byte for byte from the canonical source, and--checkfails on drift. It runs in CI and insidescripts/validate.py..github/skills/and.cline/skills/are new;.agents/skills/(Cursor, OpenCode, Copilot,npx skills) is unchanged apart from a generated README.scripts/build_plugins.pygenerated the plugin copies from.agents/skills/and is replaced by the new script.docs/copilot-setup.mdanddocs/cline-setup.mdcover installation, key handling, the seven tools, the generate then poll or resume then download flow, credit limits and recovery, and state that Unity editor import remains unconfirmed.tests/test_sync_skills.pycovers an edited copy, a stray file, a changed vendored file, editor leftovers, and a mirror trying to write back to the source.No workflow body changed. Every file under
plugins/dreamlayer/skills/and.agents/skills/is byte identical to main except the new README.Host validation
Clean isolated profile, Node 24.21.0, no accounts, no generation, no credits spent.
copilot skill listshowed all nine under Project skills from.github/skills/;copilot mcp addandcopilot mcp listregistered the pinned server with the key maskedcline config skillsshowed all nine from.cline/skills/;cline skill addinstalled the same nine to.agents/skills/as Cline skills;cline config mcplisted the pinned stdio serverBoth hosts ignored the generated README in the skills root.
Not validated
Cursor and OpenCode resolve through
.agents/skills/by their own documentation, and that directory is generated by the same script, but neither editor was run here. Unity editor import remains unconfirmed and is unchanged by this PR.🤖 Generated with Claude Code