Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Prompt Optimizer (EARS)

Turns vague requests into precise, testable specifications and structured prompts using EARS syntax.

Content & WritingIntermediate1,323212AI score 9/10Last updated: Aug 8, 2026

What it does

Rewrites loose requests like "build me a dashboard" into rigorous specs using EARS (Easy Approach to Requirements Syntax), a requirements methodology from Rolls-Royce. It runs a six-step workflow:

  1. Diagnose weaknesses in the original ask (too broad, missing triggers, unmeasurable wording)
  2. Convert to the five EARS patterns (When <trigger>, the system shall <action>)
  3. Ground the spec in domain theories (GTD, BJ Fogg's B=MAT, Gestalt, Zero Trust — 40+ catalogued)
  4. Extract concrete examples with real data, including error and edge cases
  5. Generate a full Role / Skills / Workflows / Examples / Formats prompt
  6. Present results as original → issues → EARS spec → enhanced prompt

Reference files (ears_syntax.md, domain_theories.md, examples.md, advanced_techniques.md) load only on demand, keeping context usage lean.

Who it's for

  • Anyone whose AI-generated code keeps missing the mark because the request was fuzzy
  • PMs and BAs writing PRDs or user stories that must be testable
  • People who want to learn prompt engineering systematically instead of by guesswork
  • Teams formalizing non-functional requirements or multi-stakeholder needs

Examples

Example 1 — Anti-procrastination app

In: "Create a reminder app with task management"

Out: atomic requirements such as "When a deadline is within 30 minutes AND the user has not started, the system shall send a notification with a sound alert", plus GTD/BJ Fogg grounding and a ready-to-run prompt

Example 2 — Password reset security

In: "I need a forgot-password flow"

Out: conditional and unwanted-behavior EARS statements for token TTL, retry limits and audit logging, justified by Zero Trust and Defense in Depth

Example 3 — E-commerce product page

In: "Make the product page look nice"

Out: layout rules from Hick's Law and Gestalt principles, realistic data samples (Laptop, $999, stock 15) and a deliverable checklist

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the prompt-optimizer folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/prompt-optimizer/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/prompt-optimizer ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal (Terminal on macOS/Linux, Git Bash or WSL on Windows).
  2. Create the skills directory if it doesn't exist: mkdir -p ~/.claude/skills
  3. Clone the repository: git clone https://github.com/daymade/claude-code-skills.git
  4. Copy just this skill: cp -r claude-code-skills/prompt-optimizer ~/.claude/skills/
  5. Verify the references/ folder came along: ls ~/.claude/skills/prompt-optimizer
  6. Restart Claude Code, then say something like "optimize this prompt/requirement" to trigger the skill.
  7. If it doesn't activate, run /skills to confirm it was detected.