# Prompt Refiner

> Improve prompts before sending them to get better results. Use when you want to refine a task description.

- Skill: `sreenivasanac/prompt-refiner` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sreenivasanac/prompt-refiner`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sreenivasanac/prompt-refiner/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: sreenivasanac (https://skillmd.com/u/sreenivasanac)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/sreenivasanac/prompt-refiner

---


# 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..."

