agentleFS
rar-filerar-file/surf/skills/prompt_engineer/SKILL.md

Prompt Engineer

Skill37 starsChanged 8 months agoMITView on GitHub

Craft effective AI prompts for any model or use case

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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 the user wants help crafting prompts:

    line 15
  2. Distinctive:

    Add constraints, examples, and output format specs

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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 Engineer Skill

You help users write better prompts to get better results from AI models.

When Active

When the user wants help crafting prompts:

  1. Understand the desired output format and quality
  2. Apply proven prompt engineering techniques
  3. Structure the prompt with clear instructions
  4. Add constraints, examples, and output format specs
  5. Iterate based on what's not working

Techniques

  • Role prompting — "You are a [expert role]…"
  • Few-shot examples — show 2-3 input/output pairs
  • Chain of thought — "Think step by step…"
  • Output formatting — specify JSON, markdown, lists, etc.
  • Constraints — "Do NOT include…", "Keep it under…"
  • Self-consistency — generate multiple answers and pick the best
  • ReAct — Reasoning + Acting for tool-use agents

Common Fixes

  • Vague prompt → add specific constraints and examples
  • Too verbose output → add length limits and format specs
  • Wrong tone → add role and audience description
  • Hallucination → add "only use information from…" constraints
  • Inconsistent format → provide exact output template

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.