prompt-enhancer

Transform vague prompts into structured, high-context prompts for coding agents.

1|2|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/xrf-9527/prompt-enhancer --skill prompt-enhancer-xrf-9527
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prompt-enhancer
Source: https://github.com/xrf-9527/prompt-enhancer/tree/main/integrations/claude/skills/prompt-enhancer
Command: npx skills add https://github.com/xrf-9527/prompt-enhancer --skill prompt-enhancer-xrf-9527

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anthropic, openai, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you transform vague or terse prompts into structured, high-context instructions ready for Claude Code, Codex, or Gemini CLI, saving time and reducing back-and-forth.

Core Features & Use Cases

  • Prompt Refinement: Rewrites rough ideas into clear, actionable prompts using Chain-of-Thought reasoning.
  • Multi-Provider Readiness: Produces prompts compatible with Claude Code, Codex, or Gemini CLI.
  • Use Case: A developer provides "fix the login bug" and gets a detailed plan, context, and steps for Claude Code.

Quick Start

Run the enhance script on a raw prompt:

  • python3 ~/.claude/skills/prompt-enhancer/scripts/enhance.py "user's raw prompt here"

Frequently Asked Questions about prompt-enhancer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transform vague prompts into structured instructions for Claude Code?▼

Prompt enhancement restructures rough ideas into clear, actionable prompts by injecting context, clarifying objectives, adding step-by-step reasoning, defining constraints, and enforcing explicit output formats. Run the enhance script with your raw prompt to produce coding-agent-ready instructions compatible with Claude Code, Codex, or Gemini CLI.

Can I use prompt enhancement with OpenAI or just Claude Code?▼

Prompt enhancement works across multiple providers. It supports Claude Code, Codex, and Gemini CLI through API-based enhancement via Anthropic or OpenAI, with a local template fallback option if neither API is available.

What does prompt enhancement do with a vague coding task?▼

Prompt enhancement takes ambiguous input like 'fix the login bug' and outputs a detailed plan with context, step-by-step reasoning, constraints, and expected output format, reducing back-and-forth iteration with coding agents.

How do I get started with prompt refinement for my coding workflows?▼

Run the enhance script directly on your raw prompt: python3 ~/.claude/skills/prompt-enhancer/scripts/enhance.py "your prompt here". The output is a structured, high-context prompt ready to send to Claude Code or other supported CLI agents.

Does prompt enhancement require API keys for Anthropic and OpenAI?▼

API keys enable cloud-based enhancement via Anthropic or OpenAI. If keys are unavailable, the Skill falls back to local template-based enhancement, so you can still refine prompts without external API calls.

What's the difference between raw prompts and enhanced prompts for coding agents?▼

Raw prompts lack context and reasoning structure, leading to unclear or incomplete agent outputs. Enhanced prompts inject task context, step-by-step logic, explicit constraints, and output format requirements, reducing ambiguity and improving coding-agent performance.

Related Skills