Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Plugin skill files use relative symlinks, breaking Claude Code plugin cache installation #60

@drewmoseley

Description

@drewmoseley

Bug

The plugins/frontend-slides/skills/frontend-slides/ directory uses relative symlinks to point at files in the repo root:

SKILL.md -> ../../../../SKILL.md
STYLE_PRESETS.md -> ../../../../STYLE_PRESETS.md
animation-patterns.md -> ../../../../animation-patterns.md
html-template.md -> ../../../../html-template.md
viewport-base.css -> ../../../../viewport-base.css
scripts/deploy.sh -> ../../../../../scripts/deploy.sh
scripts/export-pdf.sh -> ../../../../../scripts/export-pdf.sh
scripts/extract-pptx.py -> ../../../../../scripts/extract-pptx.py

The Claude Code plugin installer copies the plugins/frontend-slides/ subtree to the cache directory without resolving symlinks. The copied symlinks point to relative paths that no longer exist in the cache location, leaving the skills/frontend-slides/ directory with broken symlinks (showing as empty dirs).

Result

The skill fails to load — no skill content is available to Claude Code.

Fix

Replace the relative symlinks with actual files (or copies). The skill directory should be self-contained and not depend on sibling files outside its subtree.

Workaround

rsync -aL \
  ~/.claude/plugins/marketplaces/frontend-slides/plugins/frontend-slides/ \
  ~/.claude/plugins/cache/frontend-slides/frontend-slides/1.0.0/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions