prompt-forge
Skill2 starsChanged 3 months agoMITView on GitHub
Forge vague natural-language requests into precise, engineering-grade prompts using the CRAFT framework (Context, Role, Action, Format, Tests). Use when a user's requirement is ambiguous, causes rework, or needs to be handed to another AI agent or teammate. Works for coding, writing, and analysis tasks.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- patneedimadhukar/prompt_forgetheir own version, first seen Nov 8, 2026
- mahik504/orchestra-workflowtheir own version, first seen Nov 1, 2026
- morteza-omidi/prompt-forgetheir own version, first seen Oct 25, 2026
- STiFLeR7/prompt-forgetheir own version, first seen Oct 13, 2026
- devpilotX/skillstheir own version, first seen Sep 22, 2026
- the-Nile-jones/claude-skillstheir own version, first seen Aug 3, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- STiFLeR7/prompt-forge★ 3same name
- mturac/hermes-supercode-skills★ 2same name
- mahik504/orchestra-workflow★ 1same name
- morteza-omidi/prompt-forge★ 1same name
- devpilotX/skills★ 0same name
- hauntedstack/prompt-forge★ 0same name
- patneedimadhukar/prompt_forge★ 0same name
- the-Nile-jones/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- audit-swarmSkill
- cavemanSkill
- grill-meSkill
- prism-reviewSkill
- slide-smithSkill
- token-saviourSkill
- token-wardenSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Read the raw request and write down, privately:
- Distinctive: line 31
Every implicit assumption you had to make to understand it.
- Distinctive: line 35
Ask at most three questions, in one batch, and only about things that change the deliverable's shape.
- Distinctive: line 66
Before delivering, re-read the forged prompt and answer:
- Distinctive: line 69
If yes, add the missing constraint.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prompt Forge
Turn fuzzy intent into a prompt that an agent (or a human) can execute on the first try. A forged prompt is not longer for the sake of length — it is dense with constraints that remove rework.
When to use
- The request contains vague quantifiers ("better", "clean", "a few", "optimize").
- The request hides assumptions (stack, environment, audience, deadline).
- The output will be consumed by another agent/session with no shared context.
- A previous attempt at the same task produced a wrong-shaped result.
Workflow
Step 1 — Intake (extract, don't interrogate)
Read the raw request and write down, privately:
- The deliverable (what noun will exist when we're done?).
- The actor (who executes it, who consumes the result?).
- Every implicit assumption you had to make to understand it.
Step 2 — Clarify (max 3 questions, batched)
Ask at most three questions, in one batch, and only about things that change the deliverable's shape. Never ask what you can reasonably default. Mark each default you choose so the user can veto it.
Good question: "Should the script run on CI (Linux) or your Mac?" Bad question: "Do you have any other requirements?"
Step 3 — Forge (apply CRAFT)
Rewrite the request into the CRAFT template. See
references/craft-framework.md for the full checklist per element.
## Context
<current state, environment, constraints, relevant history — 2-5 bullets>
## Role
<who the executor should be; expertise level and stance>
## Action
<numbered task breakdown; each step independently verifiable>
## Format
<exact output shape: file types, structure, length, language, style>
## Tests
<acceptance criteria as checkable statements; edge cases included>Step 4 — Verify (the 5-second test)
Before delivering, re-read the forged prompt and answer:
- Could two different engineers produce two different deliverables from it? If yes, add the missing constraint.
- Is any bullet unfalsifiable ("high quality", "user-friendly")? Replace it with a measurable criterion or delete it.
- Does Tests cover the failure modes that caused previous rework?
Deliver the forged prompt in a fenced block, followed by a one-line summary of the defaults you assumed.
Anti-patterns (never do these)
- Padding with politeness or motivation paragraphs — they burn tokens and add zero constraint.
- Repeating the user's words back before the template. Start at
## Context. - Inventing requirements the user never implied. Defaults must be flagged.
- Forging a 40-line prompt for a task that needs 6 lines. CRAFT scales down: a trivial task may have a one-line Context and two Tests.
Output contract
The forged prompt is the deliverable. Do not also execute it unless the user
explicitly asks ("forge and run"). See examples/before-after.md for three
worked transformations.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

