Skip to content
Development
Skill

/stitch-mcp-delete-project

Permanently deletes a Stitch project and all its screens. Destructive — requires explicit user confirmation before calling.

From plugin
stitch-kit
4536 skills1 agent2 hooks
Install
$ npx -y skills add gabelul/stitch-kit --skill stitch-mcp-delete-project --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/stitch-mcp-delete-project

Context preview

The summary Claude sees to decide when to auto-load this skill.

Permanently deletes a Stitch project and all its screens. Destructive — requires explicit user confirmation before calling.

SKILL.md

stitch-mcp-delete-project.SKILL.md
name: stitch-mcp-delete-project
description: Permanently deletes a Stitch project and all its screens. Destructive — requires explicit user confirmation before calling.
allowed-tools:
  - "stitch*:*"

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:

1. Call `stitch-mcp-get-project` with `projects/[ID]` to get the project title and screen count 2. Present: "You're about to permanently delete **[title]** ([N] screens). This cannot be undone. Proceed?" 3. 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

✅ "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** — `delete_project` requires the full `projects/ID` path
Read more
Ships withstitch-kit

Your coding agent writes decent code and designs terrible UI. stitch-kit fixes the second half — it wires agents into Google Stitch (text prompts → genuinely beautiful screens) and teaches them to drive it properly.

Get the whole plugin

Other skills on stitch-kit.