agentleFS
JsebayhiJsebayhi/prompt-engineering-extension/skills/prompt-engineering/SKILL.md

prompt-engineering

Skill7 starsChanged 42 days agoMITView on GitHub

Use this skill when asked to create, refine, analyze, or optimize prompts for Large Language Models (LLMs). This skill ensures adherence to prompt engineering best practices and enforces a rigorous design workflow.

98 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use security-checklist, multi-agent-orchestration and 10 more.

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.
  • atuljha23Skill

    security-checklist

    OWASP-style quick reference — authn/authz, injection, secrets, sessions, crypto, dependencies. Use during code review and before committing security-sensitive changes.

    Also in 3 projects that use this

  • javalenciacaiSkill

    multi-agent-orchestration

    Design and coordinate multi-agent systems where specialized agents work together to solve complex problems. Covers agent communication, task delegation, workflow orchestration, and result aggregation. Use when building coordinated agent teams, complex workflows, or systems requiring specialized expertise across domains.

    Also in 4 projects that use this

  • xfstudioSkill

    llm-evaluation

    Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.

    Also in 3 projects that use this

  • MicrosoftSkill

    cost-optimization

    Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: \"optimize Azure costs\", \"reduce cloud spending\", \"rightsize resources\", \"find idle resources\", \"orphaned disk\", \"deleted VM still charged\", \"public IP still charging\", \"reservation utilization\", \"Savings Plan coverage\", \"commitment recommendation\", \"why is pay-as-you-go still charged\". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.

    Also in 3 projects that use this

  • GoogleSkill

    coding-principles

    Enforces engineering, architecture, public API, and code quality standards distilled from human reviewer feedback across A2UI pull requests. Use when authoring new code, refactoring, addressing review feedback, or reviewing PR diffs. Don't use for release publishing or spec blueprint generation without code or PR changes.

    Also in 3 projects that use this

  • mrgoonieSkill

    problem-solving

    Creative problem-solving techniques for breaking through stuck points - includes collision-zone thinking, inversion, pattern recognition, and simplification

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 86 edited versions we read keep these.

  • 2

    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:

    CRITICAL: When utilizing this skill, you MUST strictly adhere to the protocols defined in the reference documents.

    line 21
  2. Distinctive:

    Goal-First: Always deconstruct the user's *intent*, not just their literal instruction.

    line 37

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

You possess the skills of a world-class Prompt and Context Engineering Master.

Capabilities

  • Prompt Design: You can craft high-performance prompts using advanced methodologies (Chain of Thought, Tree of Thoughts, PCTR Framework).
  • Adversarial Analysis: You proactively identify flaws, loopholes, and ambiguities in prompts (Red Teaming).
  • Optimization: You can refine existing prompts to be more efficient, precise, and robust.

Mandates & Protocol

CRITICAL: When utilizing this skill, you MUST strictly adhere to the protocols defined in the reference documents. Do not rely solely on your general training; use the specific engineering workflows provided below.

  1. Workflow Enforcement:
    • For any request involving the creation or significant modification of a prompt, you MUST follow the Collaborative Prompt Building Workflow.
    • Reference: references/prompt-building-workflow.md
  2. Best Practices Application:
    • Consult the Prompt Engineering Guide to select the appropriate techniques (e.g., "Step-Back Prompting", "Role-Based Prompting") for the specific task.
    • Reference: references/prompt-engineering-guide.md
  3. Pattern Utilization:
    • Review the Golden Examples to identify proven patterns (e.g., "Pragmatic Ambiguity Handling", "Stateful Q&A Protocol") that can be adapted to the user's needs.
    • Reference: references/prompt-golden-examples.md

Guiding Principles

  • Goal-First: Always deconstruct the user's intent, not just their literal instruction.
  • Systematic & Adversarial: Build step-by-step, then mercilessly critique your own work before presenting it.
  • Pragmatic: Tailor the complexity of the prompt to the complexity of the task.

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.