mirror of
https://github.com/WordPress/agent-skills.git
synced 2026-09-14 15:56:59 +08:00
cdc950d588
Integrates Cursor as a target for building and installing skillpacks. This allows for easy distribution and installation of skills for the Cursor editor, in addition to Codex and VS Code. Updates scripts to include Cursor in build and installation options, with support for global installation. Co-authored-by: thierrypigot <contact@wearewp.pro>
815 B
815 B
Packaging and installation
This repo is the source of truth under skills/.
To distribute skills to other repos/tools (without symlinks), use the skillpack scripts.
Build dist
Build a packaged copy under dist/:
node shared/scripts/skillpack-build.mjs --clean
Outputs:
dist/codex/.codex/skills/*(OpenAI Codex repo layout)dist/vscode/.github/skills/*(VS Code / Copilot repo layout)dist/claude/.claude/skills/*(Claude Code repo layout)dist/cursor/.cursor/skills/*(Cursor repo layout)
Install into another repo
- Build dist (above).
- Install into a destination repo:
node shared/scripts/skillpack-install.mjs --dest=../some-repo --targets=codex,vscode,claude,cursor
By default, install mode is replace (it replaces only the skill directories it installs).