agentleFS
SZolothSZoloth/skill-pack/skills/prompt-engineer/SKILL.md

prompt-engineer

Skill14 starsChanged 3 months agoMITView on GitHub

Expert prompt engineering for AI systems. Use when the user wants to write or review prompts for AI, create instructions for AI systems, build system prompts, review or improve existing prompts, optimize AI instructions, or create any form of written communication intended for AI consumption (Claude, GPT, or other LLMs).

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use secure-code-guardian, fullstack-guardian 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.
  • JeffallanSkill

    secure-code-guardian

    Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.

    Also in 3 projects that use this

  • JeffallanSkill

    fullstack-guardian

    Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the complete stack from database to UI, enforcing auth, input validation, output encoding, and parameterized queries across all layers. Use when implementing features across frontend and backend, building REST APIs with corresponding UI, connecting frontend components to backend endpoints, creating end-to-end data flows from database to UI, or implementing CRUD operations with UI forms. Distinct from frontend-only, backend-only, or API-only skills in that it simultaneously addresses all three perspectives—Frontend, Backend, and Security—within a single implementation workflow. Invoke for full-stack feature work, web app development, authenticated API routes with views, microservices, real-time features, monorepo architecture, or technology selection decisions.

    Also in 3 projects that use this

  • AutumnsGroveSkill

    api-designer

    Design and document RESTful and GraphQL APIs with OpenAPI/Swagger specifications, authentication patterns, versioning strategies, and best practices. Use for: (1) Creating API specifications, (2) Designing REST endpoints, (3) GraphQL schema design, (4) API authentication and authorization, (5) API versioning strategies, (6) Documentation generation

    Also in 5 projects that use this

  • +9 more from Jeffallan

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 17

    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:

    The Genius Intern Framework: Treat AI like a brilliant generalist who can figure things out but needs context about what "good" looks like …

    line 14
  2. Distinctive:

    Async Remote Teammate: Write for AI the way you'd write for a smart remote colleague—clear, comprehensive, and decisively opinionated

    line 15
  3. Distinctive:

    Always load read this detailed framework to understand best practices based on how Anthropic writes their prompts.

    line 39
  4. Distinctive:

    Only load this file if the user explicitly mentions they're targeting GPT-5, OpenAI models, or asks for GPT-5 optimization after seeing the …

    line 49
  5. Distinctive:

    When the user asks for help with a prompt, quickly assess:

    line 55
  6. Distinctive:

    Do This: Purpose → Success Criteria → Examples → Constraints

    line 88
  7. Distinctive:

    Use visual structure for complex anatomy

    line 97
  8. Distinctive:

    Don't explain basic concepts AI already knows

    line 101
  9. Distinctive:

    Don't apologize or hedge

    line 102
  10. Distinctive:

    Don't be excessively polite

    line 103
  11. Distinctive:

    Don't list every edge case

    line 104
  12. Distinctive:

    Don't add motivational statements

    line 105
  13. Distinctive:

    Don't over-specify process

    line 106
  14. Distinctive:

    Don't overfit on given examples by including said examples in the prompt

    line 107
  15. Distinctive:

    Always create the prompt as a markdown file.

    line 111
  16. Distinctive:

    After creating the prompt, ask: "Will this be used with GPT-5 or OpenAI models?"

    line 115
  17. Distinctive:

    If yes, you MUST load the GPT-5 Prompting Guide and perform a revision pass:

    line 117

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

This skill helps create high-quality prompts and instructions for AI systems by treating AI as a genius human teammate who needs clear, context-rich communication.

Core Philosophy

This skill is built on two foundational principles:

  1. The Genius Intern Framework: Treat AI like a brilliant generalist who can figure things out but needs context about what "good" looks like in your specific situation
  2. Async Remote Teammate: Write for AI the way you'd write for a smart remote colleague—clear, comprehensive, and decisively opinionated

Modern AI models have both high intelligence and high emotional intelligence. They don't need tricks or "prompt engineering hacks"—they need what any smart remote teammate needs: clear written communication with sufficient context.

Reference Materials

This skill includes three core reference documents. Read them in full as needed:

Always Load First

Writing for AI Teammates - Core philosophy covering:

  • Why "prompt engineering" is about clear writing, not tricks
  • The 37signals parallel (async remote culture)
  • Brevity-clarity balance
  • Progressive disclosure ("inverted pyramid")

Load this file at the start of every prompt creation task. It's your primary reference.

Then Load Prompt Framework

Prompt Framework - Comprehensive guide covering:

  • Three prompt types (Do This / Know How / Learn Domain)
  • Universal principles (examples with reasoning, decision frameworks, visual structure)
  • Type-specific patterns and structures
  • Anti-patterns to avoid

Always load read this detailed framework to understand best practices based on how Anthropic writes their prompts.

Load Only for GPT-5 Targets

GPT-5 Prompting Guide - GPT-5-specific patterns:

  • Avoiding contradictory instructions (critical for GPT-5)
  • Calibrating autonomy vs asking questions
  • Tool preambles and progress updates
  • Self-reflection for quality
  • Planning protocols

Only load this file if the user explicitly mentions they're targeting GPT-5, OpenAI models, or asks for GPT-5 optimization after seeing the initial draft.

Workflow

1. Understand the Request

When the user asks for help with a prompt, quickly assess:

Type of prompt needed:

  • Do This (single task execution)
  • Know How (reusable capability/tool)
  • Learn Domain (acquire knowledge then execute)

Available context:

  • What's the AI being asked to do?
  • Who's the audience for the output?
  • What does success look like?
  • Are there examples of good/bad outputs?
  • What constraints exist?

2. Gather Missing Info (Intelligently)

Be smart about asking questions. Ask if:

  • You genuinely can't determine the prompt type
  • Critical context is completely missing (e.g., no idea what the AI should actually do)
  • Multiple valid interpretations exist with very different outcomes
  • Output format is not clear

Don't ask if:

  • You have sufficient context to create a solid first draft
  • The user has been comprehensive in their initial request
  • Questions would be nitpicky rather than substantive

3. Create the Prompt

Load the Prompt Framework reference first, then:

  1. Choose the right structure based on prompt type:
    • Do This: Purpose → Success Criteria → Examples → Constraints
    • Know How: Purpose → When to Use → Examples with Reasoning → Mechanics
    • Learn Domain: Foundation → Study → Synthesis → Execution → Validation
  2. Apply universal principles:
    • Be decisively opinionated
    • Show examples with reasoning (good AND bad)
    • Provide clear decision frameworks
    • Address common mistakes proactively
    • Use visual structure for complex anatomy
    • Scale complexity to judgment required
  3. Avoid anti-patterns:
    • Don't explain basic concepts AI already knows
    • Don't apologize or hedge
    • Don't be excessively polite
    • Don't list every edge case
    • Don't add motivational statements
    • Don't over-specify process
    • Don't overfit on given examples by including said examples in the prompt

4. Create as File

Always create the prompt as a markdown file.

5. GPT-5 Optimization (if needed)

After creating the prompt, ask: "Will this be used with GPT-5 or OpenAI models?"

If yes, you MUST load the GPT-5 Prompting Guide and perform a revision pass:

Official GPT-5 prompting guide

Remember

You're not doing "prompt engineering"—you're helping someone communicate clearly with an intelligent teammate. Focus on clarity, context, and decisiveness. Trust the AI to be smart; give them what they need to be effective in your specific context.

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.