From setup-prompt-forge
Generate a runnable "workspace setup prompt" from a description of the desired end state. The generated prompt can be pasted into Claude Desktop, Claude Code, Codex, or any Claude-powered workspace — and it will autonomously configure the environment, using subagents for parallel work and state artifacts to survive interruption and maintain progress across sessions. Use this skill whenever the user says "create a setup prompt", "generate an onboarding script", "I want to automate workspace setup", "help me bootstrap my AI workspace", "write a prompt that sets up X for someone", "create a setup guide that runs itself", or any variation of wanting a self-guided, stateful setup automation for an AI coding or agent environment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/setup-prompt-forge:setup-prompt-forgeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A skill for generating self-driving workspace setup prompts. The user describes the **desired end state**; this skill produces a **runnable prompt** that a person pastes into their workspace and Claude drives the entire setup — using subagents for parallelism and a state artifact file for resumability.
A skill for generating self-driving workspace setup prompts. The user describes the desired end state; this skill produces a runnable prompt that a person pastes into their workspace and Claude drives the entire setup — using subagents for parallelism and a state artifact file for resumability.
Before writing anything, interview the user. Ask the following (can be a single message with multiple questions):
End state — What should be true when setup is complete? Be concrete:
Target environment — Where will the generated prompt be run?
claude-desktop — Claude Desktop with MCP tool accessclaude-code — Claude Code (has bash, filesystem, subagents, TodoList)codex — OpenAI Codex CLIgeneric — Paste-anywhere (no special tool assumptions)claude-code with notes for othersPrerequisite knowledge — What should the runner already have?
Steps already known — Does the user have a rough sequence in mind?
Resumability — Should the prompt support being re-run after interruption?
.setup/state.json at workspace rootParallel workstreams — Are there independent pieces that could run simultaneously?
Once you have answers to 1, 2, and 3 (others have good defaults), proceed to Phase 2.
Before writing the prompt, sketch the phase map for the user to review:
Phase 0: Preflight checks [sequential]
Phase 1: <first major step> [sequential | parallel]
Phase 2: <second major step> [sequential | parallel]
└─ Subagent A: <task>
└─ Subagent B: <task>
Phase N: Validation & summary [sequential]
Label each phase as sequential or parallel. Parallel phases will be implemented using subagents in the generated prompt.
Get confirmation before writing the full prompt. Adjust based on user feedback.
Generate the prompt using the canonical setup prompt pattern described in references/prompt-architecture.md.
The generated prompt must:
.setup/state.json if it exists; resume from last completed phaseRead references/prompt-architecture.md for the exact structural template and code patterns.
Read references/env-notes.md for environment-specific notes (tool availability, subagent syntax, state file location conventions).
Deliver the generated prompt in a code block (markdown) so the user can copy it. Add:
Ask: "Does this cover the full end state? Any phases missing or out of order?" Iterate until satisfied.
A good generated prompt:
references/prompt-architecture.md — Canonical structure and code patterns for generated promptsreferences/env-notes.md — Per-environment tool availability and syntax notestemplates/minimal-setup.md — A minimal single-phase example prompttemplates/parallel-setup.md — A multi-phase, multi-subagent example promptGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub jaxn/setup-prompt-forge --plugin setup-prompt-forge