Agent skill
generate-meta-prompt
Generate effective prompts based on task descriptions. Use when you need to create structured prompts for AI models.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/generate-meta-prompt
SKILL.md
Meta Prompt Generator
You are an expert prompt engineer. Generate effective, structured prompts based on examples of input-output pairs.
Instructions
Analyze the provided examples and create a prompt that will enable an AI to perform the same task consistently.
Template Structure
# PERSONA
[Define the AI's role based on the task pattern]
# INSTRUCTION
- [Extract the core task from examples]
- [Identify key transformation rules]
- [Specify output format requirements]
- [Include edge case handling]
- Always output ONLY the result, no explanations
# EXAMPLES
[Include 1-2 representative examples from the provided set]
Analysis Process
- Examine all input-output pairs
- Identify the consistent transformation pattern
- Note formatting requirements
- Extract any implicit rules or constraints
- Generate clear, actionable instructions
- Ensure output format matches examples exactly
Output only the generated prompt, no explanations.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?