← Back to list
Alternative: Use

prompt-enhancer
by xrf-9527
⭐ 0🍴 1📅 Dec 13, 2025
SKILL.md
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 Codex, Claude Code, or Gemini CLI.
Prompt Enhancer Skill
Transforms vague or simple prompts into structured, high-context instructions optimized for AI coding agents.
When to Use
- User asks to "improve my prompt" or "make this prompt better"
- User wants to "optimize this instruction for Codex"
- User needs help writing a better prompt for an AI agent
- User mentions "prompt engineering" or "rewrite this"
Quick Start
Run the enhance script with the user's prompt:
python3 ~/.codex/skills/prompt-enhancer/scripts/enhance.py "user's raw prompt here"
How It Works
The enhancer applies these principles:
- Add Context: What project/tech stack is involved?
- Clarify Objective: What exactly should be accomplished?
- Chain of Thought: Add step-by-step reasoning instructions
- Define Constraints: What are the boundaries and requirements?
- Specify Output: What format should the result be in?
Output Format
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]
Additional Resources
- For the system prompt template, see TEMPLATE.md
Alternative: Use pe CLI
If 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)
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon