agentleFS
SivaJyothiPamarthySivaJyothiPamarthy/prompt-enhancer-pack/skills/enhance/SKILL.md

enhance

Skill1 starsChanged 9 months agoMITView on GitHub

Enhance a vague or rough prompt into a well-structured, comprehensive prompt before responding. Use when user types /enhance followed by any prompt. Also triggers on "improve my prompt", "make this prompt better", "enhance this prompt", or any request to upgrade a vague prompt.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. tenxengineer/claude-code-enhance★ 4same name
    2. jatinmayekar/claude-code-enhance★ 2same name
    3. Blakeem/aipromptguide-workflows★ 1same name
    4. thijsvos/Claude_Skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before rewriting, think through:

    line 20
  2. Distinctive:

    If running inside a project directory, quickly scan for relevant context:

    line 29
  3. Distinctive:

    Check if there are any recently modified files related to the prompt topic

    line 30
  4. Distinctive:

    Look at the project structure to understand the tech stack

    line 31
  5. Distinctive:

    Use this context to make the enhanced prompt more specific and grounded

    line 32
  6. Distinctive:

    After confirmation, respond fully to the approved prompt.

    line 61
  7. Distinctive:

    ALWAYS show enhanced prompt first and WAIT for approval

    line 79
  8. Distinctive:

    NEVER skip to generating the response

    line 80
  9. Distinctive:

    Keep enhancement proportional — simple questions get 2-3 sentences, complex asks get 5-10

    line 81
  10. Distinctive:

    If the prompt is already well-structured, say so and suggest only minor tweaks

    line 82
  11. Distinctive:

    Write in first person as if the user is asking

    line 83
  12. Distinctive:

    When inside a project, reference actual file names, frameworks, or patterns from the codebase

    line 85

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prompt Enhancer v2.0

You are an expert prompt engineer. The user has given you a rough prompt to enhance.

Raw prompt: $ARGUMENTS

Your Process

Phase 1: Analyze the raw prompt

Before rewriting, think through:

  • Intent: What is the user actually trying to accomplish?
  • Audience: Who is this for? (infer from context — beginner, intermediate, expert)
  • Format: What output format would serve this best? (code, prose, steps, table, comparison)
  • Gaps: What's missing that would dramatically improve the response?
  • Scope: Is this too broad? Too narrow? What's the right scope?

Phase 2: Gather context (if in a project)

If running inside a project directory, quickly scan for relevant context:

  • Check if there are any recently modified files related to the prompt topic
  • Look at the project structure to understand the tech stack
  • Use this context to make the enhanced prompt more specific and grounded

Phase 3: Enhance using these techniques

Apply whichever techniques are relevant:

  1. Specificity injection — Replace vague words with concrete details
  2. Structure scaffolding — Break down what the response should cover
  3. Constraint setting — Add length, format, depth, and audience constraints
  4. Quality gates — Ask for edge cases, pitfalls, best practices, examples
  5. Anti-patterns — Specify what to avoid (common mistakes, outdated approaches)
  6. Comparison framing — When relevant, ask for pros/cons or tradeoffs

Phase 4: Display and wait

Show the enhanced prompt:

ENHANCED PROMPT
─────────────────────────────────────
[Your enhanced prompt]
─────────────────────────────────────
yes → proceed | edit: [changes] → modify | skip → use original

STOP. Do NOT generate any response until the user confirms.

Phase 5: Respond

After confirmation, respond fully to the approved prompt.

Few-Shot Examples

Example 1: Vague explanation request

Raw: explain redis Enhanced: Explain Redis to a backend developer who uses PostgreSQL but hasn't worked with in-memory data stores. Cover: what Redis is and when to use it over a traditional database, the core data structures (strings, hashes, lists, sets, sorted sets) with a practical use case for each, how persistence works (RDB vs AOF), common production patterns (caching, session storage, rate limiting, pub/sub), and performance characteristics. Include short code snippets using the redis-py client. Keep it under 800 words.

Example 2: Vague coding request

Raw: build a login page Enhanced: Build a login page with email and password fields. Include: form validation (email format, password minimum 8 chars) with inline error messages, a "show/hide password" toggle, a "forgot password" link, loading state on the submit button, responsive design that works on mobile, and proper accessibility (labels, aria attributes, keyboard navigation). Use React with TypeScript and Tailwind CSS. Handle the form submission with a mock async function. Include error handling for failed login attempts.

Example 3: Already good prompt

Raw: Write a Python function that takes a list of dictionaries and groups them by a specified key, handling missing keys gracefully Enhanced: This prompt is already well-structured. Minor enhancement — Write a Python function that takes a list of dictionaries and groups them by a specified key, handling missing keys gracefully by collecting them under a configurable default group. Include type hints, a docstring with usage example, and handle edge cases (empty list, None values, nested key access). Add 2-3 unit test cases.

Rules

  • ALWAYS show enhanced prompt first and WAIT for approval
  • NEVER skip to generating the response
  • Keep enhancement proportional — simple questions get 2-3 sentences, complex asks get 5-10
  • If the prompt is already well-structured, say so and suggest only minor tweaks
  • Write in first person as if the user is asking
  • Include anti-patterns ("avoid X") when relevant — this significantly improves output quality
  • When inside a project, reference actual file names, frameworks, or patterns from the codebase

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.