/craft:approvefrom craft
Requests user approval before writing files outside .craft/ and .claude/ directories. Opens a write gate after approval and closes it when work completes.
Ships in craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are requesting permission to write files. This skill gates ALL writes outside .craft/ and .claude/ directories. It requires explicit user approval every single time - no exceptions, no bypass, no auto-approve.
Call this skill BEFORE your first write attempt when:
.craft/Do NOT call this for writes to .craft/ or .claude/ directories - those are always allowed.
Before asking for approval, gather what you're about to do. Be specific:
Use AskUserQuestion. This step CANNOT be skipped. Ever.
question: "I need write access to make these changes. Approve?"
header: "Write Access"
options:
- label: "Approve"
description: "{summary of what will be changed}"
- label: "Deny"
description: "Block these changes"
- label: "Modify scope"
description: "I want to adjust what's allowed"
If "Deny" -> Stop. Do not open the gate. Report to the caller that writes were denied.
If "Modify scope" -> Let the user describe the adjusted scope. Re-present the AskUserQuestion with the new scope. Loop until approved or denied.
If "Approve" -> Continue to Step 3.
Print this to the user, in your reply:
Approved: {brief description of changes}
Files: {file list}. Scope: {what was approved}.
I open the write gate now and close it when this work is done.
These lines are the record of what was approved.
Run via Bash:
${CLAUDE_PLUGIN_ROOT}/hooks/scripts/write-gate.sh open approve
The write gate is now open. The agent can write files.
The caller (workflow, fix skill, implementer, etc.) performs the approved changes. The gate stays open until the caller closes it in Step 6.
This skill does NOT do the writing itself. It opens the gate and returns control to the caller. The caller writes, then calls back to close.
When the approved work is done, the caller MUST close the gate:
${CLAUDE_PLUGIN_ROOT}/hooks/scripts/write-gate.sh close approve
${CLAUDE_PLUGIN_ROOT}/hooks/scripts/write-gate.sh holder
If it prints a holder (a line not starting write-gate:), this session already holds a gate: skip this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drobins25/craft --plugin craft11 skills in this plugin
/adhocAdhoc workflow for small targeted changes to existing behavior or appearance, without the full story ceremony. Use when the orchestrator encounters a bug with a clear root cause and surgical solution, OR a small enhancement to something already built (a different icon, wording, spacing, color). Triggers on: 'fix this', 'this is broken', 'the alignment is off', 'that button doesn't work', 'quick fix', 'patch this', 'tweak this', 'change the icon', 'adjust the wording', post-story corrections, or any situation where the write gate blocks a small targeted change. Acts NOW - a defect to file and fix later belongs in /craft:bugs, other deferred work in the notebook. Do NOT use for new features, design exploration, or changes requiring creative spark./browserInteractive browser automation via playwright-cli. Use when you need to navigate a site, click elements, fill forms, take snapshots, or triage a live app./content-sparkThis skill should be used when a story has been captured but content direction is unresolved - the spark describes WHAT to build structurally but not WHAT goes in it. Reads the story spark, splits it into Resolved (structurally clear) vs. Assumed (would have to guess) content dimensions, and surfaces each assumption for the human to confirm, correct, or expand. Also classifies implementation risk tags (has-variants, has-data-pipeline, has-animation, has-touch-targets, diverges-from-existing) so plan-chunks translates them into acceptance criteria that name the implementation mechanism. Captures answers into/creative-sparkThis skill should be used when the user asks to "brainstorm", "explore options", "get creative", "what if we...", or selects "Let's get creative" during story or cycle creation. NOT for a bare vague feature idea where generating options would mean inventing the premise first - that routes to /craft:riff (riff first, options after). Generates 3-4 creative options with trade-offs, visual direction for UI stories, and wireframes./design-vibeUse this skill when the user wants to discover, define, or refine their product's aesthetic identity. Triggers on "what should this feel like?", "help me figure out the vibe", "something feels off visually", "I want it to feel like [X]", "define the visual language", or when a project has no established design direction. This is the art director skill - it helps users articulate something they can feel but can't name. Also handles quick cohesion checks when the orchestrator needs one during cycle planning./lock-decisionThis skill should be used when the user says "lock it", "go with that", "approved", "that's the standard", or explicitly establishes a project-wide pattern like "from now on all forms should use this approach". Formalizes approved decisions into locked standards that the system enforces going forward. Not needed for story-scoped decisions — only for project-wide patterns.Other plugins' skills for the same job