Skip to content

Commit f514657

Browse files
committed
fix(skills): point skel references at ${CLAUDE_PLUGIN_ROOT}/skel, drop local-machine paths
setup SKILL.md referenced the developer machine's plugin checkout for the customizations starter pack and ship-check.py scaffold, so first-run setup failed on every external install. Both now resolve from the packaged skel/ directory; the ship-check copy gains an existence guard so an unset CLAUDE_PLUGIN_ROOT degrades to a no-op instead of a hard cp error. execute-task prose pointer updated to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> (cherry picked from commit f5df447)
1 parent 7d0436b commit f514657

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

skills/execute-task/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ The termination sequence is strict — three steps, in order, no shortcuts:
256256
false-positive matches by log-watchers.
257257

258258
The ship-check script is deterministic. Its gates are documented at the
259-
top of `~/Shade_Gen/Projects/prd-taskmaster-plugin/.atlas-ai-skel/ship-check.py`:
259+
top of `${CLAUDE_PLUGIN_ROOT}/skel/ship-check.py` (copied to `.atlas-ai/ship-check.py` at setup):
260260

261261
- Gate 1: `pipeline.json current_phase == "EXECUTE"`
262262
- Gate 2: every `master.tasks[].status == "done"`

skills/setup/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ no recovery path.
8383
This step ensures the file exists BEFORE execute-task ever runs:
8484

8585
```bash
86-
PLUGIN_SKEL="$HOME/Shade_Gen/Projects/prd-taskmaster-plugin/.atlas-ai-skel/customizations"
86+
PLUGIN_SKEL="${CLAUDE_PLUGIN_ROOT}/skel/customizations"
8787
mkdir -p .atlas-ai/customizations
8888
if [ ! -f .atlas-ai/customizations/system-prompt-template.md ]; then
8989
if [ -d "$PLUGIN_SKEL" ]; then
@@ -102,8 +102,8 @@ file simply must exist.
102102
Also scaffold `.atlas-ai/ship-check.py` if it doesn't already exist:
103103

104104
```bash
105-
if [ ! -f .atlas-ai/ship-check.py ]; then
106-
cp "$HOME/Shade_Gen/Projects/prd-taskmaster-plugin/.atlas-ai-skel/ship-check.py" .atlas-ai/ship-check.py
105+
if [ ! -f .atlas-ai/ship-check.py ] && [ -f "${CLAUDE_PLUGIN_ROOT}/skel/ship-check.py" ]; then
106+
cp "${CLAUDE_PLUGIN_ROOT}/skel/ship-check.py" .atlas-ai/ship-check.py
107107
chmod +x .atlas-ai/ship-check.py
108108
fi
109109
```

0 commit comments

Comments
 (0)