AgentSkillsCN

generate-meta-prompt

根据任务描述生成有效的提示。在需要为AI模型创建结构化提示时使用。

SKILL.md
--- frontmatter
name: generate-meta-prompt
description: Generate effective prompts based on task descriptions. Use when you need to create structured prompts for AI models.

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

code
# 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

  1. Examine all input-output pairs
  2. Identify the consistent transformation pattern
  3. Note formatting requirements
  4. Extract any implicit rules or constraints
  5. Generate clear, actionable instructions
  6. Ensure output format matches examples exactly

Output only the generated prompt, no explanations.