prompt-build
Skill110 starsChanged 9 months agoMITView on GitHub
Build custom AI prompts from scratch using guided workflows and patterns from a 2,500+ prompt database. Supports image, video, and text prompts for Midjourney, Flux, Leonardo AI, DALL-E, Sora, and 12 more models. Use when user says "build a prompt", "create a prompt", "write a prompt", "make me a prompt", "new prompt", or "prompt from scratch".
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- prompt-engineSkill
- prompt-adaptSkill
- prompt-enhanceSkill
- prompt-librarySkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Ask the user (if not already clear):
- Distinctive: line 27
Search the database for similar prompts to use as inspiration:
- Distinctive: line 34
Use this universal structure (adapt per model):
- Very specific: line 56
Midjourney: Use --ar, --v, --style, --s, --chaos
- Distinctive: line 59
Leonardo AI: Use model-specific keywords (Phoenix, Alchemy)
- Distinctive: line 73
Must include subject + at least one modifier (style, lighting, or camera)
- Distinctive: line 74
Must use model-appropriate syntax
- Distinctive: line 75
No conflicting instructions (e.g., "realistic" + "cartoon")
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prompt Builder
Build production-quality AI prompts using patterns extracted from 2,500+ curated prompts.
Build Workflow
Step 1: Determine Intent
Ask the user (if not already clear):
- Output type: Image, Video, or Text?
- Target model: Which AI model? (Midjourney, Flux, DALL-E, Leonardo, Sora, etc.)
- Subject: What should the prompt create?
- Style/mood: Any specific aesthetic?
Step 2: Find Reference Prompts
Search the database for similar prompts to use as inspiration:
python3 {PROMPT_ENGINE_DIR}/scripts/search_prompts.py "SUBJECT" --model MODEL --limit 5Step 3: Construct the Prompt
Use this universal structure (adapt per model):
Image Prompts:
[Subject/Action] + [Setting/Environment] + [Lighting/Mood] + [Camera/Lens] +
[Style Reference] + [Technical Parameters]Video Prompts:
[Camera Movement] + [Subject/Action] + [Setting] + [Lighting] +
[Duration/Speed] + [Style] + [Technical]Text Prompts:
[Role/Context] + [Task] + [Constraints] + [Format] + [Tone] + [Examples]Step 4: Apply Model-Specific Syntax
Load {PROMPT_ENGINE_DIR}/references/model-guide.md for model-specific formatting rules:
- Midjourney: Use
--ar,--v,--style,--s,--chaos - Flux: Natural language, detailed descriptions work best
- DALL-E: Direct, descriptive, avoid negative prompts
- Leonardo AI: Use model-specific keywords (Phoenix, Alchemy)
- Sora: Camera movements, scene transitions, temporal descriptions
Step 5: Review and Refine
Present the prompt with:
- The full prompt text
- Recommended parameters/settings
- Similar prompts from the database for comparison
- Suggested variations (3 alternatives)
Quality Gates
- Prompt must be > 30 characters
- Must include subject + at least one modifier (style, lighting, or camera)
- Must use model-appropriate syntax
- No conflicting instructions (e.g., "realistic" + "cartoon")
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.

