skills/prompt-factory/SKILL.md
Generate world-class, production-ready prompts in one shot through intelligent 5-7 question flow and 69 presets across 15 professional domains. Supports XML/Claude/ChatGPT/Gemini formats with quality validation. Returns a single mega-prompt ready to use—skill does NOT implement the work described in the prompt. Optimized for modern LLMs including Claude 3.5+, GPT-4.1, and Gemini 2.5.
npx skillsauth add ckorhonen/claude-skills prompt-factoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate production-ready mega-prompts through intelligent questioning and comprehensive domain presets.
This skill generates PROMPTS only. It does NOT implement the work described in the prompt.
✅ Generate a comprehensive PROMPT (text document in chosen format) ✅ Ask 5-7 questions to understand requirements (MANDATORY - no skipping) ✅ Validate prompt quality before delivery ✅ Output a SINGLE prompt document with token count ✅ Provide the prompt ready to copy and use elsewhere
❌ Implement the actual work (no code files, no diagrams, no APIs) ❌ Create architectural diagrams or technical implementations ❌ Write actual marketing campaigns or business strategies ❌ Build infrastructure or deploy anything ❌ Execute the prompt after generating it
Danger: Agent rushes to prompt generation without asking questions
Danger: Agent starts coding/building the thing the prompt describes
Danger: User asks "make a prompt system for FinTech" and you generate one mega-prompt
Danger: Generated prompts exceed optimal ranges (core: 3-6K, advanced: 8-12K)
references/prompt-patterns.mdDanger: Generating all 4 formats when user asked for one
Danger: Asking 7 generic questions, not 5-7 contextually relevant ones
references/advanced-workflow.md → Skip truly redundant questions, emphasize domain/constraintsUse when: You need a prompt for a common role
Available Presets: 69 across 15 domains (see references/presets.md)
Use when: Building a unique prompt from scratch
Full 8-step workflow: See references/advanced-workflow.md
Choose one or generate all:
See references/examples.md for complete examples of each format.
Before delivery, validate:
[...] filledIf validation fails: Fix before delivery.
After generating, announce:
Read on-demand based on context:
| File | When to Use | Contains |
|------|------------|----------|
| references/presets.md | User asks for quick-start | 69 preset names, domains, use cases |
| references/advanced-workflow.md | Custom prompt path (Path 2) | 8-step workflow, detailed questions, validation |
| references/prompt-patterns.md | During generation | Best practices (OpenAI/Anthropic/Google), pattern library, template matching |
| references/examples.md | Format clarification | 2-3 worked examples per format (XML, Claude, ChatGPT, Gemini) |
When generating prompts, incorporate these proven techniques as appropriate:
For reasoning tasks, instruct the model to think step-by-step:
<instructions>
Think through this step-by-step before giving your final answer.
Show your reasoning process explicitly.
</instructions>
For prompts that need machine-parseable responses:
<output_format>
Respond ONLY with valid JSON matching this schema:
{"result": string, "confidence": number, "reasoning": string}
</output_format>
Always include 2-3 high-quality examples for consistent behavior:
<examples>
<example>
<input>Schedule a meeting for next Tuesday</input>
<output>{"action": "create_event", "day": "next_tuesday", "title": "Meeting"}</output>
</example>
</examples>
<role>You are a senior {domain} specialist with 15 years of experience at top-tier firms.</role>
<context>You are helping {user_type} with {specific_situation}.</context>
<task>{specific_instructions}</task>
<constraints>{limitations_and_guardrails}</constraints>
<output_format>{format_specification}</output_format>
Explicitly stating what NOT to do reduces unwanted behaviors:
<constraints>
- Do NOT include unsolicited advice beyond the specific question
- Do NOT use jargon without explanation
- Do NOT recommend third-party tools unless asked
</constraints>
<thinking> for CoT"Do you implement the prompt after generating it?" → No. This skill makes prompts only. Once generated, you take it elsewhere to implement or use with another LLM.
"Can I get a variation of this prompt?" → Yes. Ask for "concise version," "more detailed," "different tone," or "different format." We'll modify the prompt (not reimplement it).
"What if the generated prompt doesn't work?" → We can refine it. Share what didn't work, and we'll adjust specific sections, not rebuild from scratch.
"Why so many questions?" → Good prompts need context. 5-7 questions ensure we capture domain specifics, constraints, and success criteria—making the final prompt much more effective.
Ready to generate a world-class prompt? Let's start with a preset name or custom request.
documentation
Create or expand an Idea.md / IDEA.md file from a rough description, existing repo, conversation history, notes, or other early-stage product inputs. Use when the user asks to "write an Idea.md", "turn this into an idea file", "capture this product idea", "expand this concept", or wants a repo-grounded concept brief before validation, PRD, or implementation work.
development
Write structured implementation plans from specs or requirements before touching code. Use when given a spec, requirements doc, or feature description, when user says "plan this out", "write a plan for", "how should we implement", or before starting any multi-step coding task.
testing
Expert guidance for video editing with ffmpeg, encoding best practices, and quality optimization. Use when working with video files, transcoding, remuxing, encoding settings, color spaces, or troubleshooting video quality issues.
development
Opinionated constraints for building better interfaces with agents. Use when building UI components, implementing animations, designing layouts, reviewing frontend accessibility, or working with Tailwind CSS, motion/react, or accessible primitives like Radix/Base UI.