Tooluck logoTooluck
SKILL.md

prompt-optimizer

Agent skill fromdaymade/claude-code-skills

Transforms vague prompts or feature requests into precise, testable specifications using EARS (Easy Approach to Requirements Syntax) grounded in relevant domain theories (GTD, BJ Fogg, Gestalt). Use when requirements lack triggers or measurable outcomes, or the user asks to "optimize my prompt" / "improve this requirement" / "make this more specific".

How to install prompt-optimizer

install prompt-optimizer
# install the claude-code-skills pack with the skills CLI
npx skills add daymade/claude-code-skills

# or add only this skill to Claude Code: copy the folder

prompt-optimizer/

# into

~/.claude/skills/prompt-optimizer/ (all projects)

.claude/skills/prompt-optimizer/ (one project)

prompt-optimizer/SKILL.md

MITFull file
1# Prompt Optimizer
2
3## Overview
4
5Optimize vague prompts into precise, actionable specifications using EARS (Easy Approach to Requirements Syntax) - a Rolls-Royce methodology for transforming natural language into structured, testable requirements.
6
7**Methodology inspired by:** This skill's approach to combining EARS with domain theory grounding was inspired by [阿星AI工作室 (A-Xing AI Studio)](https://mp.weixin.qq.com/s/yUVX-9FovSq7ZGChkHpuXQ), which demonstrated practical EARS application for prompt enhancement.
8
9**Four-layer enhancement process:**
10
111. **EARS syntax transformation** - Convert descriptive language to normative specifications
122. **Domain theory grounding** - Apply relevant industry frameworks (GTD, BJ Fogg, Gestalt, etc.)
133. **Example extraction** - Surface concrete use cases with real data
144. **Structured prompt generation** - Format using Role/Skills/Workflows/Examples/Formats framework
15
16## When to Use
17
18Apply when:
19- User provides vague feature requests ("build a dashboard", "create a reminder app")
20- Requirements lack specific conditions, triggers, or measurable outcomes
21- Natural language descriptions need conversion to testable specifications
22- User explicitly requests prompt optimization or requirement refinement
23
24## Six-Step Optimization Workflow
25
26### Step 1: Analyze Original Requirement
27
28Identify weaknesses:
29- **Overly broad** - "Add user authentication" → Missing password requirements, session management
30…

Excerpt shown under the repository's MIT license.

More skills in claude-code-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates