Skip to content

Fix slice's example paths for plugin installs - #52

Merged
stevepolitodesign merged 1 commit into
mainfrom
sp-slice-relative-example-paths
Jul 30, 2026
Merged

stevepolitodesign merged 1 commit into
mainfrom
sp-slice-relative-example-paths

Conversation

@stevepolitodesign

@stevepolitodesign stevepolitodesign commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #50.

skills/slice/SKILL.md read its bundled examples through ~/.claude/skills/slice/… in four places:

  • examples/job-stories.md (Path A, and again in the Phase 3 deliverable)
  • examples/full-stack-slices.md
  • example.md

That path only exists in a standalone skills install. Under the plugin the files sit in the plugin cache, so each read failed, and it failed quietly: nothing stops the phase when a read comes back empty. The skill just carried on without the job story format or the slicing examples.

These now use paths relative to the skill directory, which resolve in either install.

I checked the other skills for the same pattern. feature-dev, socratic-review, test-driven-development, and explain already reference their bundled files relatively. The one remaining ~/.claude mention is skills/feature-dev/SKILL.md:169, which is prose about where a SKILL.md lives in each install layout rather than a path it reads, so it stays.

Patch bump to 1.5.1 in plugin.json and marketplace.json, plus a NEWS.md entry.

🤖 Generated with Claude Code

`skills/slice/SKILL.md` read its examples through
`~/.claude/skills/slice/…`, which only exists in a standalone skills
install. Under the plugin the files sit in the plugin cache, so the
reads failed and the skill ran on without the job story format or the
slicing examples.

Skill-relative paths work in both, which is what the other skills
already do.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@stevepolitodesign
stevepolitodesign force-pushed the sp-slice-relative-example-paths branch from 7b3c1a6 to ed459ef Compare July 30, 2026 12:19
@stevepolitodesign
stevepolitodesign merged commit 9807306 into main Jul 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The slice skill can't find its example files in a plugin install

1 participant