mirror of
https://github.com/WordPress/agent-skills.git
synced 2026-09-14 15:56:59 +08:00
8182820cab
This pull request adds opt-in Antigravity support to the skillpack build and install scripts. Documentation updates for skill file locations: * Adds `.agents/skills/` as the project-level directory for Antigravity skill files. * Adds `antigravity-global` for installing skills to `~/.gemini/antigravity/skills/`. * Keeps Antigravity out of the default build and install target lists so existing defaults remain unchanged. 🤖 Partially developed with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.2 KiB
1.2 KiB
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)
Antigravity is opt-in. Add --targets=codex,vscode,claude,cursor,antigravity to also build:
dist/antigravity/.agents/skills/*(Antigravity 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
To include Antigravity, build it first and include it in the install targets:
node shared/scripts/skillpack-build.mjs --clean --targets=codex,vscode,claude,cursor,antigravitynode shared/scripts/skillpack-install.mjs --dest=../some-repo --targets=codex,vscode,claude,cursor,antigravity
By default, install mode is replace (it replaces only the skill directories it installs).