ai-specs/skills/sync-agent-symlinks/SKILL.md
Analyze and synchronize agent skill exposure after ai-specs skill changes (additions, removals, renames). Use when skills are added/removed in ai-specs and .claude/skills and .cursor/skills must stay aligned through symlinks.
npx skillsauth add lidr-academy/ai4devs-lti-extended sync-agent-symlinksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Keep agent-facing skill structures synchronized with ai-specs/skills as the canonical source.
Use this skill after any change in ai-specs/skills (new skill, removed skill, renamed skill, moved skill), especially when you need to avoid stale or broken symlinks.
ai-specs/skills..claude/skills.cursor/skills../../ai-specs/skills/<skill-name>.Collect three inventories:
ai-specs/skills/*/SKILL.md.claude/skills.cursor/skillsFrom mirror entries, classify:
linked: valid symlink pointing to existing canonical skillbroken: symlink target missingorphan: symlink points to canonical namespace but skill no longer existsconflict: non-symlink entry with same name as canonical skillexternal: entry not managed by canonical symlink policy (leave unchanged)For each mirror target:
to_add: canonical skills missing in mirror targetto_fix: broken canonical symlinks that should be recreatedto_remove: orphan canonical symlinks with no canonical sourceto_skip: conflicts and external entries (report only)Apply changes in this order:
<mirror>/<skill-name> -> ../../ai-specs/skills/<skill-name>Never remove:
After changes:
Return a concise sync report:
Expected behavior:
.claude/skills.cursor/skillsExpected behavior:
.claude/skills.cursor/skillsUse equivalent commands for your environment:
# list canonical skill directories (names with SKILL.md)
ls ai-specs/skills
# inspect mirror entries with link metadata
ls -la .claude/skills
ls -la .cursor/skills
# add canonical link
ln -s ../../ai-specs/skills/<skill-name> .claude/skills/<skill-name>
ln -s ../../ai-specs/skills/<skill-name> .cursor/skills/<skill-name>
# remove orphan canonical link
rm .claude/skills/<skill-name>
rm .cursor/skills/<skill-name>
Never:
ai-specs as non-canonicalAlways:
development
Use when performing a cybersecurity audit, security review, OWASP Top 10 compliance check, vulnerability assessment, or preparing for a penetration test on a Node.js/Express/React application.
data-ai
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
tools
Use when the user asks "show me X", "demo X", "walk me through X", "how X works" or requests a live feature demonstration from a spec, feature or ticket.
development
Use when the user requests an adversarial review, red-team review, devil's advocate check, or independent verification pass before archiving an OpenSpec change.