agentleFS
ShavakanShavakan/claude-marketplace/skills/prompt-engineer/SKILL.md

prompt-engineer

Skill2 starsChanged 13 months agoMITView on GitHub

Build, analyze, and optimize LLM prompts and technical documentation. Activates when user wants to create, modify, review, or improve prompts, or when requests are ambiguous and need clarification before writing.

83 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use vue-expert-js, shopify-expert 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.
  • lsyamsiarSkill

    vue-expert-js

    Creates Vue 3 components, builds vanilla JS composables, configures Vite projects, and sets up routing and state management using JavaScript only — no TypeScript. Generates JSDoc-typed code with @typedef, @param, and @returns annotations for full type coverage without a TS compiler. Use when building Vue 3 applications with JavaScript only (no TypeScript), when projects require JSDoc-based type hints, when migrating from Vue 2 Options API to Composition API in JS, or when teams prefer vanilla JavaScript, .mjs modules, or need quick prototypes without TypeScript setup.

    Also in 5 projects that use this

  • lsyamsiarSkill

    shopify-expert

    Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing Shopify apps, implementing checkout UI extensions or Shopify Functions, optimizing performance, or integrating third-party services. Invoke for Liquid templating, Storefront API, app development, checkout customization, Shopify Plus features, App Bridge, Polaris, or Shopify CLI workflows.

    Also in 4 projects that use this

  • martinholovskySkill

    fastapi-expert

    Expert FastAPI developer specializing in production-ready async REST APIs with Pydantic v2, SQLAlchemy 2.0, OAuth2/JWT authentication, and comprehensive security. Deep expertise in dependency injection, background tasks, async database operations, input validation, and OWASP security best practices. Use when building high-performance Python web APIs, implementing authentication systems, or securing API endpoints.

    Also in 7 projects that use this

  • +9 more from lsyamsiar

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 72 edited versions we read keep these.

  • 8

    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. Very specific:

    When the request is missing where/format/audience, ask before drafting.

    line 25
  2. Distinctive:

    Don't load these eagerly. Load when relevant.

    line 32
  3. Distinctive:

    Test edge cases in requirements before writing the prompt.

    line 63
  4. Distinctive:

    Before delivering a prompt:

    line 69
  5. Distinctive:

    Read it as a hostile interpreter — find loopholes.

    line 70
  6. Distinctive:

    Verify examples agree with rules.

    line 71
  7. Distinctive:

    Test mental edge cases.

    line 72
  8. Distinctive:

    Ensure the failure-mode branch is reachable and parseable.

    line 73
  9. Distinctive:

    If token efficiency matters, check the cacheable-prefix shape.

    line 74

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

Brutal-concision prompt engineering. No fluff, no praise. Catch ambiguity before drafting.

When to activate

Yes:

  • Creating new prompts from requirements
  • Analyzing existing prompts for weaknesses
  • Optimizing prompts for token efficiency
  • Debugging prompt behavior issues
  • Writing requests missing where, format, or audience (ambiguous → clarify before drafting)
  • Technical documentation needing concision (specs, READMEs, guides)

No: code generation (unless writing prompt code), or clear well-scoped writing requests.

Activation protocol

When the request is missing where/format/audience, ask before drafting. Common triggers:

  • "Write/add/note [content]" without target location
  • "Document this" without format or audience
  • "Add instructions for X" without scope constraints

Bundled material (load on demand)

Don't load these eagerly. Load when relevant.

FileLoad when
references/anti-patterns.mdReviewing or debugging an existing prompt
references/patterns.mdConstructing a new prompt — choosing patterns
references/models.mdRequest mentions a specific Claude model, migration, or token efficiency
templates/prompt-skeleton.mdDrafting a new prompt from scratch
templates/few-shot-skeleton.mdFew-shot pattern is the right tool

Analysis checklist (review existing prompts)

For each axis, decide present/missing/broken and propose a fix:

  • Clarity — ambiguous phrasing → add specificity or examples
  • Context — missing background → inline or reference domain info
  • Constraints — vague boundaries → define explicit limits
  • Format — unspecified output → add structure rules
  • Examples — abstract instructions → provide concrete demonstrations
  • Token efficiency — verbose → cut redundancy, use delimiters
  • Conflicts — contradicting rules → resolve or prioritize

For specific anti-patterns to look for, load references/anti-patterns.md.

Construction principles

  • Specific beats vague.
  • Examples strengthen abstract instructions.
  • Constraints prevent drift.
  • Front-load critical instructions; the middle of long prompts gets attended to less.
  • XML tags / delimiters for structure beat prose section headers.
  • Test edge cases in requirements before writing the prompt.

For pattern selection guidance, load references/patterns.md.

Validation process

Before delivering a prompt:

  1. Read it as a hostile interpreter — find loopholes.
  2. Verify examples agree with rules. (Examples win over rules in the model's eyes; if they conflict, the rules lose.)
  3. Test mental edge cases.
  4. Ensure the failure-mode branch is reachable and parseable.
  5. If token efficiency matters, check the cacheable-prefix shape.

Output rules (for your own analysis output)

  • Direct feedback only.
  • Cite line numbers when analyzing files.
  • Propose concrete fixes with before/after.
  • Explain why changes matter, not what they do.
  • Question assumptions in requirements.
  • Flag edge cases that break the prompt.

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.