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

Skip to content

fix: replace {skill-dir} with ${CLAUDE_PLUGIN_ROOT} and simplify auto-exec block (#99)#100

Merged
harrymunro merged 1 commit into
mainfrom
claude/plan-github-issue-DNKyd
Apr 15, 2026
Merged

fix: replace {skill-dir} with ${CLAUDE_PLUGIN_ROOT} and simplify auto-exec block (#99)#100
harrymunro merged 1 commit into
mainfrom
claude/plan-github-issue-DNKyd

Conversation

@harrymunro

Copy link
Copy Markdown
Collaborator

The ```! block in SKILL.md used {skill-dir}, a placeholder that doesn't
exist in Claude Code, and complex shell syntax (subshells, pipes, globs)
that the permission parser cannot handle. Replace with
${CLAUDE_PLUGIN_ROOT} (the documented env var) and move mission
auto-detection into cmd_status so the shell command is trivially simple.

https://claude.ai/code/session_01HQ63YK6SE5m91kMkaTY8nx

…-exec block (#99)

The ```! block in SKILL.md used {skill-dir}, a placeholder that doesn't
exist in Claude Code, and complex shell syntax (subshells, pipes, globs)
that the permission parser cannot handle. Replace with
${CLAUDE_PLUGIN_ROOT} (the documented env var) and move mission
auto-detection into cmd_status so the shell command is trivially simple.

https://claude.ai/code/session_01HQ63YK6SE5m91kMkaTY8nx
@harrymunro harrymunro merged commit 1061d4f into main Apr 15, 2026
6 checks passed
@harrymunro harrymunro deleted the claude/plan-github-issue-DNKyd branch April 15, 2026 13:25
harrymunro added a commit that referenced this pull request Apr 15, 2026
)

PR #100 replaced {skill-dir} with ${CLAUDE_PLUGIN_ROOT} but the script
lives at skills/nelson/scripts/nelson-data.py, not scripts/nelson-data.py.
Add regression checks to check-references.sh that validate auto-exec
script paths exist and reject {skill-dir} placeholders.
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.

2 participants