Back to list
xrf-9527

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 Claude Code, Codex, or Gemini CLI. allowed-tools: Bash(python3:), Bash(pe:), Read, Grep

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 Claude/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 ~/.claude/skills/prompt-enhancer/scripts/enhance.py "user's raw prompt here"

How It Works

The enhancer applies these principles:

  1. Add Context: What project/tech stack is involved?
  2. Clarify Objective: What exactly should be accomplished?
  3. Chain of Thought: Add step-by-step reasoning instructions
  4. Define Constraints: What are the boundaries and requirements?
  5. 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

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