AgentSkillsCN

prompt-refiner

在发送提示词之前对其进行优化,以获得更佳的输出效果。当您希望对任务描述进行精细化调整时,可选用此技能。

SKILL.md
--- frontmatter
name: prompt-refiner
description: Improve prompts before sending them to get better results. Use when you want to refine a task description.

Prompt Refiner

Instructions

When the user wants to refine a prompt:

  1. Ask for their draft prompt or task description
  2. Analyze it for:
    • Clarity: Is the goal specific and measurable?
    • Context: Does it include relevant background?
    • Constraints: Are requirements and limitations stated?
    • Examples: Would examples help clarify expectations?
  3. Suggest an improved version with explanations
  4. Offer to iterate if needed

Good Prompt Patterns

  • Start with the outcome: "Create a..." not "I want you to..."
  • Include acceptance criteria: "The result should..."
  • Specify format: "Return as JSON/markdown/code"
  • Mention constraints: "Must be compatible with...", "Should not modify..."