prompt-engine
Skill105 starsChanged 8 months agoMITView on GitHub
Ultimate AI prompt database and builder with 2,500+ curated prompts across 19 categories and 17 AI models (Midjourney, Flux, Leonardo AI, DALL-E, Sora, Imagen, Mystic, Stable Diffusion, Ideogram, Adobe Firefly, and more). Search, build, enhance, and adapt prompts for image generation, video creation, text, and meta-prompt generators. Use when user says "prompt", "find a prompt", "build a prompt", "enhance my prompt", "adapt this prompt", "prompt library", "image prompt", "video prompt", "midjourney prompt", "flux prompt", or any AI prompt engineering task. Do NOT use for terminal/CLI prompts, JavaScript prompt() dialogs, user input prompts, or bash prompt customization.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
If user provides a search query or asks to find/search -> run search workflow below
- Very specific: line 34
If user wants to create/build a new prompt -> route to /prompt-build
- Very specific: line 35
If user has an existing prompt to improve -> route to /prompt-enhance
- Very specific: line 36
If user wants to convert between models -> route to /prompt-adapt
- Very specific: line 37
If user wants to browse/explore -> route to /prompt-library
- Distinctive: line 38
If ambiguous, show the Quick Reference table and ask
- Distinctive: line 42
When user provides a search query:
- Distinctive: line 44
Run the search script:
- Very specific: line 59
Script fails: Verify Python 3.10+ is available (python3 --version).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Engine -- Ultimate AI Prompt Database and Builder
2,500+ curated prompts across 19 categories, 17 AI models, and 4 output types.
Quick Reference
| Command | What it does |
/prompt [query] | Search prompts by keyword, category, model, or style |
/prompt-build | Build a custom prompt from scratch with guided workflow |
/prompt-enhance | Enhance an existing prompt with pro techniques |
/prompt-adapt | Adapt a prompt for a different AI model |
/prompt-library | Browse, filter, and explore the full prompt library |
Orchestration Logic
- If user provides a search query or asks to find/search -> run search workflow below
- If user wants to create/build a new prompt -> route to
/prompt-build - If user has an existing prompt to improve -> route to
/prompt-enhance - If user wants to convert between models -> route to
/prompt-adapt - If user wants to browse/explore -> route to
/prompt-library - If ambiguous, show the Quick Reference table and ask
Search Workflow (Default /prompt)
When user provides a search query:
- Run the search script:
python3 {PROMPT_ENGINE_DIR}/scripts/search_prompts.py "QUERY" [--category CAT] [--model MODEL] [--type TYPE] [--limit N] - Present results as a numbered list with:
- Prompt text (truncated to 200 chars for preview)
- Category, model, output type
- Tags/styles if available
- Let user select a prompt to see full details, or refine their search
Error Handling
- 0 search results: Suggest broadening the query, trying different keywords, or removing filters. Offer to show available categories with
--categories. - Script fails: Verify Python 3.10+ is available (
python3 --version). Check that the database exists at{PROMPT_ENGINE_DIR}/prompts/all_prompts.json. - Empty or short prompt input: For
/prompt-enhanceand/prompt-adapt, ask the user to provide a longer prompt (minimum 30 characters).
Database Stats
| Metric | Value |
| Total prompts | 2,503 |
| Categories | 19 |
| AI Models | 17 |
| Output types | Video (1,225), Image (1,049), Generator (115), Text (114) |
| Model coverage | 78% of prompts have model attribution |
| Sources | 11 Airtable databases |
Categories
| Category | Count | Description |
| fashion-editorial | 473 | Fashion, editorial, magazine shoots |
| video-general | 287 | Video-specific prompts |
| general | 221 | Multi-purpose prompts |
| portraits-people | 198 | Faces, characters, headshots |
| landscapes-nature | 180 | Mountains, oceans, forests, sunsets |
| abstract-backgrounds | 171 | Gradients, patterns, wallpapers |
| sci-fi-futuristic | 135 | Cyberpunk, robots, space, neon |
| architecture | 129 | Buildings, interiors, cityscapes |
| logos-icons | 116 | Logo design, icon sets, branding |
| generators | 115 | Meta-prompts that create prompts |
| text | 114 | Copywriting, content, storytelling |
| animated-3d | 92 | Pixar, 3D renders, anime |
| vehicles | 82 | Cars, motorcycles, racing |
| superheroes | 58 | Marvel, DC, superhero art |
| fantasy | 56 | Dragons, magic, medieval, mythical |
| products | 42 | Product photography, packshots |
| animals | 18 | Wildlife, pets, creatures |
| food-drink | 11 | Food photography, recipes |
| print-merchandise | 5 | T-shirts, stickers, merch |
Models
Top models: Midjourney (981), Leonardo AI (237), Freepik (172), Mystic (166), Flux (137), Any Platform (97), DALL-E (42), Imagen (26), Sora (24), ChatGPT (22).
Data Paths
- Prompt database:
{PROMPT_ENGINE_DIR}/prompts/ - Master file:
{PROMPT_ENGINE_DIR}/prompts/all_prompts.json - Per-category:
{PROMPT_ENGINE_DIR}/prompts/{category}/prompts.json - Stats:
{PROMPT_ENGINE_DIR}/prompts/stats.json - Search script:
{PROMPT_ENGINE_DIR}/scripts/search_prompts.py
Reference Files
references/prompt-patterns.md-- Common prompt engineering patterns and structuresreferences/model-guide.md-- Model-specific syntax, features, and best practices
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.

