// Enhance and refine prompts for AI coding agents using Chain-of-Thought reasoning. Use when user asks to improve, optimize, rewrite, or enhance a prompt. Transforms vague requests into structured, high-context instructions for Claude Code, Codex, or Gemini CLI.
| name | prompt-enhancer |
| description | Enhance and refine prompts for AI coding agents using Chain-of-Thought reasoning. Use when user asks to improve, optimize, rewrite, or enhance a prompt. Transforms vague requests into structured, high-context instructions for Claude Code, Codex, or Gemini CLI. |
| allowed-tools | Bash(python3:*), Bash(pe:*), Read, Grep |
Transforms vague or simple prompts into structured, high-context instructions optimized for AI coding agents.
Run the enhance script with the user's prompt:
python3 ~/.claude/skills/prompt-enhancer/scripts/enhance.py "user's raw prompt here"
The enhancer applies these principles:
The enhanced prompt follows this structure:
# Context
[Refined context description]
# Objective
[Precise task definition]
# Step-by-Step Instructions
1. [Step 1]
2. [Step 2]
...
# Constraints
- [Constraint 1]
- [Constraint 2]
pe CLIIf you have the pe CLI installed globally:
pe "user's raw prompt here"
Install via: npm install -g prompt-enhancer (or clone repo and npm link)