Files
wordpress__agent-skills/docs/packaging.md
Thierry Pigot cdc950d588 Adds Cursor support (#4)
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>
2026-02-04 20:45:42 -08:00

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

  1. Build dist (above).
  2. 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).