Skip to content

Generate the Copilot and Cline skill paths from one source - #7

Merged
TheDesignFounder merged 2 commits into
mainfrom
feat/portable-host-paths
Sep 25, 2026
Merged

TheDesignFounder merged 2 commits into
mainfrom
feat/portable-host-paths

Conversation

@TheDesignFounder

Copy link
Copy Markdown
Owner

GitHub Copilot reads .github/skills/ and Cline reads .cline/skills/. Both now carry the nine workflows, generated from plugins/dreamlayer/skills/ rather than forked.

What changed

  • scripts/sync_skills.py writes every host directory byte for byte from the canonical source, and --check fails on drift. It runs in CI and inside scripts/validate.py.
  • .github/skills/ and .cline/skills/ are new; .agents/skills/ (Cursor, OpenCode, Copilot, npx skills) is unchanged apart from a generated README.
  • Copies are real files, not symlinks, so Windows checkouts and archive downloads keep working.
  • 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 state that Unity editor import remains unconfirmed.
  • tests/test_sync_skills.py covers 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.

Host Result
GitHub Copilot CLI 1.0.88 copilot skill list showed all nine under Project skills from .github/skills/; copilot mcp add and copilot mcp list registered the pinned server with the key masked
Cline CLI 3.0.65 cline config skills showed all nine from .cline/skills/; cline skill add installed the same nine to .agents/skills/ as Cline skills; cline config mcp listed the pinned stdio server

Both 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

TheDesignFounder and others added 2 commits September 24, 2026 23:47
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>
@TheDesignFounder
TheDesignFounder merged commit 47a45c7 into main Sep 25, 2026
2 checks passed
@TheDesignFounder
TheDesignFounder deleted the feat/portable-host-paths branch September 25, 2026 06:49
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