Stitch-kit stitch-mcp-delete-project
Permanently deletes a Stitch project and all its screens. Destructive — requires explicit user confirmation before calling.
install
source · Clone the upstream repo
git clone https://github.com/gabelul/stitch-kit
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/gabelul/stitch-kit "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/stitch-mcp-delete-project" ~/.claude/skills/gabelul-stitch-kit-stitch-mcp-delete-project && rm -rf "$T"
manifest:
skills/stitch-mcp-delete-project/SKILL.mdsource content
Stitch MCP — Delete Project
Permanently deletes a Stitch project and all its screens, designs, and history. This action is irreversible.
Critical prerequisite
Only use this skill when the user explicitly mentions "Stitch".
This is a destructive action. You MUST ask the user to confirm before calling
delete_project. Never auto-delete.
When to use
- User explicitly asks to delete a Stitch project
- Cleaning up test/scratch projects after confirming with the user
- The orchestrator offers project cleanup and the user accepts
Step 1: Confirm the project
Show the user what they're about to delete:
- Call
withstitch-mcp-get-project
to get the project title and screen countprojects/[ID] - Present: "You're about to permanently delete [title] ([N] screens). This cannot be undone. Proceed?"
- Only continue if the user explicitly confirms
Step 2: Call the MCP tool
{ "name": "delete_project", "arguments": { "name": "projects/3780309359108792857" } }
name
— full path with projects/
prefix
nameprojects/✅ "projects/3780309359108792857" ❌ "3780309359108792857"
This follows the same format as
get_project — both use projects/ID.
After deleting
- Confirm: "Project [title] has been deleted."
- Offer: "Want to see your remaining projects?" →
stitch-mcp-list-projects - Do NOT attempt to access the deleted project's screens or data
Anti-patterns
- Never delete without explicit user confirmation — even if the orchestrator suggests cleanup
- Never delete multiple projects in a batch without confirming each one
- Never use numeric ID —
requires the fulldelete_project
pathprojects/ID