Deploy a skill from agilebydesign-skills into Cursor's user skills folder using a Windows directory junction (no duplicate copy). Run scripts/Deploy-SkillToCursor.ps1 with the skill folder name. Use when you want the global Cursor skills path to point at the repo canonical skill.
agilebydesign-skills/skills/<name>/ and want Cursor to load it from %USERPROFILE%\.cursor\skills without maintaining a second copy..cursor\skills and want to replace that tree with a junction to the repo.Creates a directory junction:
%USERPROFILE%\.cursor\skills\<SkillName><repo>\skills\<SkillName>Edits in the repo are visible immediately through the junction path.
scripts/Deploy-SkillToCursor.ps1
# From repo: default infers skills/ from script location
.\skills\deploy-skill-to-cursor\scripts\Deploy-SkillToCursor.ps1 -SkillName story-graph-ops
# Replace an existing folder or junction at the Cursor path
.\skills\deploy-skill-to-cursor\scripts\Deploy-SkillToCursor.ps1 -SkillName story-graph-ops -Force
# Custom repo root (folder that contains skills/)
.\skills\deploy-skill-to-cursor\scripts\Deploy-SkillToCursor.ps1 -SkillName execute_using_rules -SkillsRepoRoot C:\dev\agilebydesign-skills
Parameters
| Parameter | Default | Meaning |
|---|---|---|
SkillName | (required) | Folder name under skills/. |
SkillsRepoRoot | inferred | Path to agilebydesign-skills repo root (contains skills/). Omit when you run the script from this repo layout. |
CursorSkillsRoot | %USERPROFILE%\.cursor\skills | Cursor global skills directory. |
Force | off | Remove existing destination path, then create the junction. |
%USERPROFILE%\.cursor\skills; the canonical skill lives in agilebydesign-skills.