Refine Prompt — Development skill for Claude Code
Turn a rough idea, one-liner, or ticket into an execution-ready prompt file.
How to install Refine Prompt
Installs to ~/.claude/skills/adnanmokhtar-refract-refine-prompt/SKILL.md
mkdir -p ~/.claude/skills/adnanmokhtar-refract-refine-prompt && curl -fsSL https://raw.githubusercontent.com/adnanmokhtar/refract/HEAD/commands/refine-prompt.md -o ~/.claude/skills/adnanmokhtar-refract-refine-prompt/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Refine Prompt does
description: Turn a rough idea, one-liner, or ticket into an execution-ready prompt file. Names the command to run it next, and is output-only by contract — it writes the prompt, never executes it. Trigger on 'refine this prompt', 'turn this one-liner into a proper brief before I run it', or when a richer input is wanted ahead of /scaffold-project or /audit. Do NOT trigger merely because a request is vague; vagueness alone routes to /do. Not when a spec already exists, not for a tracker ref
Alternatives in Development
- Domxss — Confirm DOM XSS in a real headless browser — injects canary payloads into params + URL fragment and only repor 4.5k ★
- Discuss — Act as a planning interviewer 2.9k ★
- Promote Public Release — Build, refine, and publish cumulative public release notes, then promote the current alpha prerelease to stabl 1.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Agent Goal Skill
Claude Code skill that shapes rough goal descriptions into polished /goal prompts for Codex, Claude Code, Droi
Sketch
Turn a rough idea into a structured specification via Q&A
Pantheon Sketch
Turn a rough idea into a structured specification via Q&A. Usage: /pantheon-sketch
Seance
Read-only survey of a whole repository at a ref for standing simplification targets — pattern contention, dead
Goal Loop
Pursue a developer-authored goal contract by iterating build -> verify -> refine until its verifiable criteria
Unify Surfaces
Consolidate every instance of ONE surface type behind ONE canonical shared implementation, app-wide. Tables, f
Related Agents
Agent Idea Guide
The first step in your agent creation journey! This agent helps you discover, refine, and clearly define what
Ticket Maker
Turns anything the user provides (screenshots, links, files, transcripts, rough notes, error logs) into exactl
Plan Worker
Executes plan-graph tasks: fetches the next ready task, claims it, does the work, verifies it and marks it don