agentleFS
codebygarvcodebygarv/Ai-skills/skills/productivity/prompt-enhancer/SKILL.md

prompt-enhancer

Skill26 starsChanged 4 months agoMITView on GitHub

Refines vague, unstructured user prompts into clear, constraint-driven prompts with explicit formats and rules.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    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:

    When an initial prompt produces hallucinated, generic, or off-target AI responses.

    line 12

“Common” is measured: kept by at least 6 in 10 of the 3 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

Purpose

Transform loose, ambiguous, or incomplete user requests into high-precision, constraint-driven prompts with explicit roles, context requirements, step-by-step reasoning directives, output schemas, and boundary rules.

When to Use

  • When an initial prompt produces hallucinated, generic, or off-target AI responses.
  • Writing reusable prompt templates or system instructions for AI agent workflows.
  • Refining complex coding or architectural prompts before executing them.

What to Analyze

  1. Role & Persona: Establish precise expertise level (e.g. "Senior Rust Systems Engineer").
  2. Context & Inputs: Identify missing variables, code snippets, or environment specs.
  3. Explicit Constraints: Negative rules (what NOT to do) and boundary constraints.
  4. Step-by-Step Directives: Breaking multi-faceted tasks into ordered execution steps.
  5. Output Format & Schema: Defining the exact structure (JSON schema, markdown headings, code-only).

Output Format

  • Enhanced Prompt: Ready-to-use structured prompt using standard tagging or markdown.
  • Key Improvements Explained: Why each constraint was added.
  • Recommended Variables: Placeholders for dynamic inputs.

Avoid

  • Overloading prompts with conversational filler phrases.
  • Omitting negative constraints (which lead to unwanted verbosity or disclaimers).

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.