Skill Locker
All skills
v1.3.03 loop iterations

Prompt to Workflow

A prompt in someone's head is fragile — when they're out sick, the workflow breaks. The Prompt-to-Workflow Converter turns a prompt you reuse into a documented, parameterised workflow with inputs, quality gates, and the exact prompt for each step.

What this skill does

The prompt someone uses repeatedly is fragile by design. It lives in their chat history or their head. It depends on them remembering the exact phrasing, the right context to include, and the standard to hold the output to. When they're on holiday the workflow stops — or worse, someone else runs it and gets output that looks fine but isn't. This skill turns that tribal knowledge into a documented system anyone can run.

The conversion starts with extraction. If the user has the prompt, paste it. If they don't, the skill asks targeted questions — what do you do before this prompt, what do you check in the output, what's the most common way this goes wrong — and reconstructs the workflow from the answers. Those questions aren't filler. They surface the inputs, quality gates, and failure modes that would otherwise be missing.

Then decomposition. A prompt over 200 words, or one with if/then logic baked in, is usually three or four stages pretending to be one. The skill splits them, because each stage can be quality-checked independently, iterated without redoing the others, and possibly handled by a different tool. Then parameterisation — hardcoded values become named variables with sensible defaults, so the workflow handles different inputs instead of needing copy-edits every run. Then quality gates between steps, because without them errors compound silently and produce polished-looking garbage.

The deliverable is a workflow document in a fixed template: name, version, purpose, frequency, inputs with types, steps with the exact prompt and quality check for each, output spec, and troubleshooting. The template is rigid because rigidity is the point — a teammate executing it on Monday shouldn't have to interpret anything. The real test the skill enforces: hand the doc to someone who's never run the task, watch them execute it without help, fix whatever they got confused by. If they can't produce acceptable output on the first try, the documentation needs work, not the person.

When this triggers

  • ·You run the same prompt every week and want to delegate it
  • ·You have a 400-word mega-prompt with if/then logic and outputs that drift
  • ·Your team's AI usage is tribal knowledge that lives in one person's head
  • ·You want to version a workflow so improvements stick instead of getting lost
  • ·You're paying for AI tools but only one person can run the important workflows

Example

Trigger

User: 'Every Monday I prompt Claude to write a competitor analysis. Different prompt every time, results are inconsistent. Make this a workflow.'

Output

First — your "single prompt" is actually 4 stages. That's why the output drifts. Decomposing: # Weekly Competitor Analysis Inputs: · {COMPETITORS}: list of names (required) · {LOOKBACK_DAYS:7}: how far back to check (default 7) · {FOCUS_AREA:product}: pricing | product | hiring (default product) Step 1: Gather signals (Perplexity) Prompt: "Find news, blog posts, and announcements from {COMPETITORS} in the last {LOOKBACK_DAYS} days about {FOCUS_AREA}. Include source URLs." Quality check: ≥1 cited source per competitor, or flag. Step 2: Cluster into themes (Claude) Prompt: "Group these findings by theme. Drop anything older than {LOOKBACK_DAYS} days or without a source." Step 3: Score significance (Claude) Quality gate: each theme has a "so what for us" line. Step 4: Render the brief (Claude) Output spec: 1-page markdown, 3 sections, each <80 words. Failure recovery: if step 1 returns nothing for a competitor, don't fabricate — flag the gap in the final brief.

Get this skill + 15 more

Included in the The Solopreneur Stack — run a one-person empire. Save $110+ vs buying individually.

Get The Solopreneur Stack — $129

What you get

  • 108-line SKILL.md, ready to drop into ~/.claude/skills/
  • Tested through 3 Karpathy-loop iterations (versions v1.0.0 → v1.3.0)
  • Triggers automatically when relevant — no command to remember
  • Lifetime updates as the skill is refined further

More from AI Foundations

Browse the full library

297 skills across 31 categories. One purchase, lifetime updates.

See all bundles