agentleFS
pavel-molyanovpavel-molyanov/molyanov-ai-dev/skills/prompt-master/SKILL.md

prompt-master

Skill296 starsChanged 4 months agoMITView on GitHub

Creates, improves, and reviews LLM prompts using concise, task-aware guidance.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fact-checker and humanizer.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • suchwow-sysadminSkill

    fact-checker

    Verify citations and factual claims in long-form content. Checks URLs for accessibility and accuracy, validates quotes, analyzes source credibility, and distinguishes facts from opinions. Use when fact-checking article drafts, validating citations, or reviewing claims before publication.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    humanizer

    Tone enforcement patterns for external-facing community responses

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat a prompt as a clear task contract.

    line 11
  2. Distinctive:

    Use a role only when it changes the required expertise, tone, or behavior.

    line 24
  3. Distinctive:

    Examples: Start with a clear task description.

    line 34
  4. Distinctive:

    Structure: Use headings, XML, or other delimiters when they help distinguish instructions, context, examples, and input data.

    line 37
  5. Distinctive:

    Structured output: When software consumes the response, define the exact schema and use a structured-output feature when available rather …

    line 42
  6. Distinctive:

    Do not place untrusted data in privileged instructions.

    line 55
  7. Distinctive:

    When a prompt needs empirical evaluation, especially for reusable or consequential use, define what a correct result means and use …

    line 63
  8. Very specific:

    Run no more than two review waves.

    line 68
  9. Distinctive:

    Check the evidence and exact correction.

    line 71
  10. Distinctive:

    If an authorized fix changes the prompt, run wave 2 with a fresh reviewer against the revised version.

    line 78

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

Treat a prompt as a clear task contract. Add information that changes the result; do not add a technique merely because it is common in prompt-engineering guides.

Prompt Essentials

A prompt should communicate the applicable parts of:

  • the task and required result;
  • context the model cannot infer but needs to perform the task correctly;
  • real constraints and the reasons behind non-obvious requirements;
  • criteria that distinguish an acceptable result;
  • the response format when it matters to the user or a downstream system.

Use a role only when it changes the required expertise, tone, or behavior. Decorative claims such as "you are the best expert" do not replace relevant context or concrete requirements.

State each instruction once. Prefer direct positive guidance when it fully expresses the rule, and keep explicit prohibitions for genuine boundaries or common failures that positive wording would leave ambiguous. Explain why a non-obvious rule matters instead of relying on capitalization or repeated emphasis.

Conditional Techniques

  • Examples: Start with a clear task description. Add examples when the required format, tone, or decision boundary is difficult to specify in words, or when observed outputs reveal a concrete failure that an example can correct. Use realistic examples without a fixed count.
  • Structure: Use headings, XML, or other delimiters when they help distinguish instructions, context, examples, and input data. They improve readability and parsing; they do not create a security boundary by themselves.
  • Chaining: Split work across model calls when an intermediate result must be inspected, evaluated, or kept separate by the application. A coherent task may remain in one prompt.
  • Structured output: When software consumes the response, define the exact schema and use a structured-output feature when available rather than relying only on a request to return JSON.

Agents and Tools

For an agent that can take actions, define the autonomy and approval boundary: what it may do on its own and what requires confirmation. Distinguish privileged instructions from user-controlled or external data.

Tool descriptions should tell the model when and why to use the tool, what relevant result it returns, and how failures are represented when this is not already evident from the tool contract. Expose only the tools and permissions needed for the task.

Do not place untrusted data in privileged instructions. Assess prompt-injection risk from the agent's capabilities, the trust boundary, and the consequence of manipulated behavior. Delimiters can help the model recognize data, but access control, least privilege, structured data flow, and confirmations must be enforced by the surrounding system. These measures reduce prompt-injection risk; prompt wording does not eliminate it.

Quality

When a prompt needs empirical evaluation, especially for reusable or consequential use, define what a correct result means and use representative normal, edge, and adversarial scenarios that match the real task. Compare old and new versions on the same scenarios. Treat a metaprompt or model self-critique as a source of hypotheses, not as proof that a revision is better.

Run no more than two review waves. After creating or changing a prompt, run wave 1 with a fresh prompt-reviewer. Supply the prompt location, required result and output contract, input sources, trust boundaries, model capabilities, and callers. Review findings are diagnoses, not a work queue. Check the evidence and exact correction; apply only an authorized local correction to agreed normal behavior. If the scenario is rare or unagreed, or the correction adds behavior, state, entities, contracts, dependencies, architecture, or material complexity, reject it with a short reason or ask the user before editing. user_decision_required: false does not replace this check. Include reviewers required by other active skills in these same waves instead of starting a separate wave sequence.

If an authorized fix changes the prompt, run wave 2 with a fresh reviewer against the revised version. Stop after a clean wave or when no authorized correction changes the prompt. After wave 2, do not launch another reviewer automatically; make only remaining local corrections within the agreed prompt, perform applicable direct evaluation, and report any remaining findings or required user decisions.

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.