prompt-factory
Guides users through a structured flow to create expert-grade AI prompts for various industries.
Install
mkdir -p .claude/skills/prompt-factory && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5007" && unzip -o skill.zip -d .claude/skills/prompt-factory && rm skill.zipInstalls to .claude/skills/prompt-factory
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
World-class prompt powerhouse that generates production-ready mega-prompts for any role, industry, and task through intelligent 7-question flow, 69 comprehensive presets across 15 professional domains (technical, business, creative, legal, finance, HR, design, customer, executive, manufacturing, R&D, regulatory, specialized-technical, research, creative-media), multiple output formats (XML/Claude/ChatGPT/Gemini), quality validation gates, and contextual best practices from OpenAI/Anthropic/Google. Supports both core and advanced modes with testing scenarios and prompt variations.Key capabilities
- →Conduct structured multi-question discovery
- →Generate multi-format prompt structures
- →Calculate estimated prompt token count
- →Apply domain-specific presets
- →Validate prompt structure before final output
How it works
Executes a rigid 5-7 question interview flow to gather context, then assembles a structured prompt based on domain presets.
Inputs & outputs
When to use prompt-factory
- →Creating system prompts for custom agents
- →Generating specialized business prompts
- →Improving prompt quality
About this skill
Prompt Factory - World-Class Prompt Powerhouse
A comprehensive system for generating world-class, production-ready prompts in one shot, eliminating the need for iteration.
⚠️ CRITICAL CONSTRAINTS - READ FIRST
This skill generates PROMPTS only. It does NOT implement the work described in the prompt.
What This Skill DOES:
✅ 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
What This Skill DOES NOT DO:
❌ 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 ❌ Create multiple files or deliverables ❌ Execute the prompt after generating it
Expected Workflow:
- User asks for help creating a prompt
- Skill MUST ask 5-7 questions (even if context seems obvious)
- User answers questions with specific details
- Skill generates ONE comprehensive prompt document
- Skill announces token count (e.g., "Generated prompt: 4,200 tokens")
- STOP - Do not implement anything from the prompt
- Ask: "Would you like me to modify the prompt or create a variation?"
Why This Matters:
- Prevents scope creep: You're making a prompt, not doing the work
- Saves context: One prompt document vs. dozens of implementation files
- Clear deliverable: User gets a prompt to use with any LLM
- Reusability: The prompt can be used multiple times
If user says "now implement this": Clarify they should use the generated prompt with a fresh conversation or different tool, as this skill only creates prompts.
Overview
Transform any requirement into an optimized mega-prompt through:
- Mandatory 5-7 question flow (MUST ask, even if context obvious) with example answers
- 69 comprehensive presets across 15 professional domains (technical, business, creative, legal, finance, HR, design, customer, executive, manufacturing, R&D, regulatory, specialized-technical, research, creative-media, specialized)
- Multi-format output (XML/Claude/ChatGPT/Gemini)
- 7-point quality validation before delivery
- Contextual best practices from OpenAI, Anthropic, Google
- Core & Advanced modes for different needs
- Complete coverage of role × industry × task combinations
Relationship to PROMPTS_FACTORY_PROMPT.md
This skill works alongside the meta-prompt template:
-
prompt-factory skill (this file): Generates individual mega-prompts for specific roles using 69 presets
- Use when: You need a single prompt for a common role (e.g., "Product Manager", "Full-Stack Engineer")
- Output: One ready-to-use mega-prompt (~4-12K tokens)
- Example: "Create a prompt for a Growth Hacker in B2B SaaS" → generates one prompt
-
PROMPTS_FACTORY_PROMPT.md: Meta-prompt that generates domain-specific prompt builders
- Use when: You want to create a new prompt generation system for a specific domain (e.g., Healthcare, FinTech, Legal)
- Output: A complete prompt builder with 10-20 role presets for that domain
- Example: "Generate a FinTech Prompt Builder" → creates a system with 10-20 FinTech role presets
- Location:
documentation/templates/PROMPTS_FACTORY_PROMPT.md
Quick Decision:
- Need one prompt now? → Use this skill (prompt-factory)
- Building a prompt system for a new domain? → Use PROMPTS_FACTORY_PROMPT.md
Quick Start: Choose Your Path
Path 1: Quick-Start Preset (Fastest)
Use when: You need a prompt for a common role
- User says: "I need a prompt for [preset name]"
- Show matching preset with customizable variables
- Customize (optional) → Generate → Deliver
Available Presets (69 total across 15 domains):
Technical (8): Full-Stack Engineer, DevOps Engineer, Mobile Engineer, Data Scientist, Security Engineer, Cloud Architect, Database Engineer, QA Engineer
Business (8): Product Manager, Product Engineer, Product Owner, Project Manager, Operations Manager, Sales & Business Manager, Business Analyst, Marketing Manager
Legal & Compliance (4): Legal Counsel, Compliance Officer, Contract Manager, Regulatory Affairs Specialist
Finance & Accounting (4): Financial Analyst, CFO/Controller, Accountant/Tax Specialist, Investment Analyst
Human Resources (4): HR Manager, Talent Acquisition Specialist, Learning & Development Manager, Compensation & Benefits Analyst
Design (4): UI/UX Designer, Graphic Designer, Brand Designer, Product Designer
Customer-Facing (4): Customer Success Manager, Support Engineer, Account Manager, Customer Experience Manager
Executive Leadership (7): CEO/Founder, CTO/VP Engineering, Chief Strategy Officer, General Manager, Chief Product Officer, Chief Marketing Officer, Chief Operations Officer
Specialized Technical (6): Machine Learning Engineer, Blockchain Developer, Game Developer, Embedded Systems Engineer, Network Engineer, Site Reliability Engineer (SRE)
Research & Analysis (3): Research Scientist, Quantitative Analyst, Market Researcher
Creative & Media (4): Copywriter, Social Media Manager, SEO Specialist, Video Producer
Manufacturing (4): Manufacturing Engineer, Supply Chain Manager, Quality Engineer (Physical Products), Industrial Designer
R&D - Research & Development (2): Clinical Specialist (PhD-level), Senior AI R&D Expert
Regulatory Affairs (1): Quality Management Responsible Person (ISO 13485, MDR, ISO 27001)
Specialized (1): AEO Specialist (Answer Engine Optimization for LLMs)
Path 2: Custom Prompt (5-7 Questions - MANDATORY)
Use when: Building a unique prompt from scratch
- Detect intent from user request
- MUST ask 5-7 questions with example answers (no skipping allowed)
- Generate with contextual best practices
- Validate quality → Deliver
Note: Even if the request seems clear (e.g., "product manager PRD prompt"), you MUST still ask questions to gather specifics, validate assumptions, and ensure a high-quality output.
Workflow: Custom Prompt Generation
Step 1: Intent Detection & Context Inference
Analyze user's request for trigger keywords:
Role Triggers:
- Technical: "engineer", "developer", "architect", "DevOps", "backend", "frontend", "full-stack", "ML", "data scientist"
- Business: "manager", "strategist", "analyst", "consultant", "executive", "director", "VP"
- Creative: "designer", "writer", "content", "UX", "brand", "marketing"
- Specialized: "healthcare", "fintech", "legal", "education", "security"
Task Triggers:
- Build: "create", "build", "develop", "implement", "code", "write"
- Analyze: "analyze", "review", "evaluate", "assess", "audit", "research"
- Optimize: "optimize", "improve", "refactor", "enhance", "fix"
- Plan: "strategy", "plan", "roadmap", "architecture", "design"
Output Triggers:
- "code", "documentation", "strategy", "analysis", "plan", "design", "report"
Infer from context:
- Primary role
- Domain/industry
- Task complexity (basic/intermediate/advanced/expert)
- Output type
- Technical depth needed
Step 2: Smart 7-Question Flow
MANDATORY: You MUST ask questions before generating any prompt.
Questioning Rules:
- MINIMUM: Ask at least 5 questions (even if context seems clear)
- MAXIMUM: Ask up to 7 questions (skip only truly redundant ones)
- Always ask for CONFIRMATION of inferred details, don't just assume
- Purpose: Validate assumptions, gather specifics, ensure quality output
When to skip a question:
- ✅ ONLY if user explicitly provided that exact detail in their request
- ✅ Example: User says "React 18 with TypeScript" → skip tech stack question
When to ask even if you think you know:
- ✅ ALWAYS ask for domain/industry context (gets specifics)
- ✅ ALWAYS ask for constraints (budget, timeline, team size)
- ✅ ALWAYS ask for success criteria (measurable outcomes)
- ✅ Ask for confirmation: "I'm inferring [X], is that correct?"
Question Bank (Select 5-7):
Category 1: Role & Domain (Ask 2 max)
Q1: What role should the AI assume? Examples:
- "Senior Backend Engineer"
- "Marketing Growth Strategist"
- "Data Analyst"
- "Product Manager"
- "UX Designer"
Your answer: ___
Q2: What domain or industry context? Examples:
- "FinTech / Payment Processing"
- "Healthcare SaaS"
- "E-commerce Platform"
- "B2B Marketing Agency"
- "Mobile Gaming"
Your answer: ___
Category 2: Use Case & Output (Ask 2)
Q3: What is the primary task or goal? Examples:
- "Build REST APIs for payment processing"
- "Create content marketing strategies"
- "Analyze user behavior data"
- "Design mobile app interfaces"
- "Optimize database performance"
Your answer: ___
Q4: What output format do you need? Options:
code- Implementation code with testsdocumentation- Technical/user docsstrategy- Strategic plans/roadmapsanalysis- Data analysis/insightsdesign- UI/UX designsplan- Project/implementation plans
Your answer: ___
Category 3: Context & Constraints (Ask 1-2)
Q5: Tech stack, tools, or methodologies to use/follow? Examples:
- "Python, FastAPI, PostgreSQL, AWS"
- "React, TypeScript, Next.js"
- "Agile/Scrum methodology"
- "SEO best practices, Google Analytics"
- "Figma, Design Systems, WCAG 2.1"
Your answer: ___
Q6: Any critical constraints or requirements? Examples:
- "HIPAA compliant, healthcare regulations"
- "Budget < $10k, 2-week timeline"
- "Must support 10k+ concurrent users"
- "PCI-DSS compliance for payments"
- "Mobile-first, accessibility AA"
Your answer: ___
Category 4: Style & Format (Ask 1-2)
Q7: Communication style and response format? Options:
- Tone: Professional
Content truncated.
When not to use it
- →Executing tasks defined in the prompt
- →Writing actual business plans or code
Limitations
- →Prohibited from executing the resulting prompt
- →Mandatory questions prevent instant output
How it compares
It forces an interactive discovery process to prevent underspecified prompts instead of guessing user requirements.
Compared to similar skills
prompt-factory side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| prompt-factory (this skill) | 4 | 9mo | Review | Beginner |
| prompt-optimize | 13 | 9mo | No flags | Advanced |
| ai-cost-optimizer | 9 | 5mo | Caution | Intermediate |
| self-improving-agent | 12 | 1mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by alirezarezvani
View all by alirezarezvani →You might also like
prompt-optimize
YYH211
Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue. Activates when user asks to "optimize prompt", "improve system instruction", "enhance AI instruction", or mentions prompt engineering tasks.
ai-cost-optimizer
ScientiaCapital
Save 40-70% on AI costs with intelligent multi-LLM routing. Automatically selects the optimal model based on task complexity across 40+ models from 8 providers.
self-improving-agent
alirezarezvani
Curate Claude Code's auto-memory into durable project knowledge. Analyze MEMORY.md for patterns, promote proven learnings to CLAUDE.md and .claude/rules/, extract recurring solutions into reusable skills. Use when: (1) reviewing what Claude has learned about your project, (2) graduating a pattern from notes to enforced rules, (3) turning a debugging solution into a skill, (4) checking memory health and capacity.
ccs-delegation
kaitranntt
Auto-activate CCS CLI delegation for deterministic tasks. Parses user input, auto-selects optimal profile (glm/kimi/custom) from ~/.ccs/config.json, enhances prompts with context, executes via `ccs {profile} -p "task"` or `ccs {profile}:continue`, and reports results. Triggers on "use ccs [task]" patterns, typo/test/refactor keywords. Excludes complex architecture, security-critical code, performance optimization, breaking changes.
skill-from-notebook
GBSOSS
Extract methodologies from documents or examples to create executable skills
skillforge
tripleyak
Intelligent skill router and creator. Analyzes ANY input to recommend existing skills, improve them, or create new ones. Uses deep iterative analysis with 11 thinking models, regression questioning, evolution lens, and multi-agent synthesis panel. Phase 0 triage ensures you never duplicate existing functionality.