Skill Deploy and Update
Use this skill to keep project skills stored in-repo and linked into CODEX_HOME via the sync script. Prefer symlinks so the repo is the source of truth.
When to Use
- Add, rename, or restructure a skill folder in docs/skills.
- Update SKILL.md contents or bundled resources.
- Sync repo skills into CODEX_HOME for Codex discovery.
Repo Layout
Each skill must live in its own folder:
docs/skills/<skill-name>/
SKILL.md
scripts/
references/
assets/
The SKILL.md frontmatter name must match the folder name.
Sync Script
Use the repo sync script to link all repo skills into CODEX_HOME:
.\\scripts\\sync_skills.ps1
Optional: pass a custom repo skills path:
.\\scripts\\sync_skills.ps1 -RepoSkillsPath "C:\\path\\to\\repo\\docs\\skills"
How to Update a Skill
- Edit the skill folder under docs/skills.
- Keep instructions concise and imperative.
- Re-run the sync script.
- If a skill was renamed, delete the old link in CODEX_HOME if it is not a symlink.
Skill Template
Use the bundled template at assets/skill-template/SKILL.md as a starting point.
微信扫一扫