From b9ee16b95b78171db6c7313cf9a7dc18f19b0fe1 Mon Sep 17 00:00:00 2001 From: SahilKumar-r Date: Sat, 21 Nov 2026 18:25:42 +0500 Subject: [PATCH] docs: fix upload-to-stitch path so it works outside a repo checkout (#96) manage-design-system told the agent to run stitch-skills/plugins/stitch-design/skills/upload-to-stitch/scripts/upload_to_stitch.py, a path that only resolves inside a git clone of this repo. When the plugin is installed through the marketplace, the script instead lives under ${CLAUDE_PLUGIN_ROOT}/skills/upload-to-stitch/scripts/, so the command failed from any project cwd. Co-Authored-By: Claude Sonnet 5 --- plugins/stitch-design/skills/manage-design-system/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/stitch-design/skills/manage-design-system/SKILL.md b/plugins/stitch-design/skills/manage-design-system/SKILL.md index d45bef7..37f99a4 100644 --- a/plugins/stitch-design/skills/manage-design-system/SKILL.md +++ b/plugins/stitch-design/skills/manage-design-system/SKILL.md @@ -65,7 +65,7 @@ design system in Stitch. 1. **Upload `DESIGN.md`**: - **Option A (Recommended - Uploader Script)**: Use the modified `upload-to-stitch` Python script which natively handles `.md` files. It base64-encodes the markdown file in-process and sends it to the `/v1/projects/{projectId}/screens:batchCreate` endpoint, bypassing output token limits. ```bash - python3 stitch-skills/plugins/stitch-design/skills/upload-to-stitch/scripts/upload_to_stitch.py \ + python3 ${CLAUDE_PLUGIN_ROOT}/skills/upload-to-stitch/scripts/upload_to_stitch.py \ --project-id \ --file-path /path/to/DESIGN.md \ --api-key \