prompt-engineer
Skill3 starsChanged 4 months agoMITView on GitHub
Design production-grade prompts: system instructions, task templates, variable slots, few-shot examples, and output format contracts. Use when working on designing prompts, system instructions, few-shot templates.
74 other projects use a version of this.
Adopted by
Most recently taken up by
- santiago-migoni/claude-skillstheir own version, first seen Nov 8, 2026
- wanghongN/SkillsRepotheir own version, first seen Nov 8, 2026
- AxlZero21/Skillstheir own version, first seen Nov 8, 2026
- joe-qai/qa-skillstheir own version, first seen Nov 8, 2026
- lsyamsiar/claude-skillstheir own version, first seen Nov 1, 2026
- jaskirat1616/grok-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use debugger, technical-writer and 7 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.
JohnJBorenSkilldebugger
Systematic debugging workflows, root cause analysis, and troubleshooting patterns
Also in 3 projects that use this
VercelSkilltechnical-writer
Write, review, and edit developer documentation for SDKs, libraries, and frameworks, including sites such as ai-sdk.dev and chat-sdk.dev. Use for getting-started guides, tutorials, API references, conceptual explanations, integration guides, migration guides, troubleshooting, and code examples.
Also in 3 projects that use this
JetBrainsSkillwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Also in 4 projects that use this
JetBrainsSkilldoc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
StrayDragonSkillui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Also in 4 projects that use this
Other versions74 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 74
- Jeffallan/claude-skills★ 12ksame name
- elithrar/dotfiles★ 222same name
- chrispangg/deepagentsdk★ 128same name
- aakashg/pm-claude-skills★ 106same name
- thedesignproject/agent-skills★ 88same name
- OpenCoven/coven★ 75same name
- monaccode/astromesh★ 39same name
- joe-qai/qa-skills★ 30same name
- jshsakura/awesome-opencode-skills★ 30same name
- Fandry96/k3-agentic-skills★ 27same name
64 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- agent-memory-designerSkill
- ai-cost-optimizerSkill
- ai-evaluation-builderSkill
- ai-latency-optimizerSkill
- ai-solution-architectSkill
- ai-workflow-builderSkill
- context-engineeringSkill
- human-in-the-loop-designerSkill
- multi-agent-plannerSkill
- prompt-optimizerSkill
- prompt-reviewerSkill
- adr-generatorSkill
- api-designerSkill
- architecture-reviewSkill
- component-diagram-builderSkill
- container-diagram-builderSkill
- data-flow-analyzerSkill
- integration-plannerSkill
- observability-plannerSkill
- scalability-advisorSkill
- solution-architectureSkill
- system-context-builderSkill
- experiment-designerSkill
- go-to-market-plannerSkill
- pricing-strategy-advisorSkill
- mcp-best-practicesSkill
- mcp-client-generatorSkill
- mcp-security-reviewSkill
- mcp-server-generatorSkill
- mcp-tool-generatorSkill
- acceptance-criteria-generatorSkill
- analytics-instrumentation-plannerSkill
- competitive-analysisSkill
- epic-generatorSkill
- feature-prioritizationSkill
- idea-validatorSkill
- north-star-metric-advisorSkill
- okr-builderSkill
- persona-generatorSkill
- prd-generatorSkill
- problem-statement-builderSkill
- product-discovery-assistantSkill
- product-vision-builderSkill
- sprint-plannerSkill
- story-mappingSkill
- user-story-generatorSkill
- value-proposition-designerSkill
- chunking-strategy-advisorSkill
- embedding-strategy-advisorSkill
- hybrid-search-advisorSkill
- knowledge-ingestion-plannerSkill
- rag-architecture-designerSkill
- retriever-optimizerSkill
- ai-governance-advisorSkill
- ai-threat-modelingSkill
- guardrails-builderSkill
- owasp-llm-reviewerSkill
- prompt-injection-detectorSkill
- skill-nameSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 65 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Use {{variable_name}} placeholders.
- Distinctive: line 111
Put instructions after context (recency bias).
- Very specific: line 112
Use delimiters for variable content (---, XML tags).
- Distinctive: line 113
Test with edge cases before production.
“Common” is measured: kept by at least 6 in 10 of the 65 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.
Files
Prompt Engineer
Purpose
Design production-grade prompts: system instructions, task templates, variable slots, few-shot examples, and output format contracts.
Input: Task definition, AI architecture (optional), example inputs/outputs (optional), constraints
Output: Prompt specification with template, variables, examples, and test cases
References: See references.md for domain cheat sheets.
Examples: See examples.md for worked input/output.
Workflow
Step 1: Define prompt objective
Specify:
- Single task the prompt performs (one objective per prompt)
- Success criteria (what good output looks like)
- Failure modes to prevent
Step 2: Structure the prompt
Use layered structure:
- Objective — what to accomplish
- Context — background information slots
- Instructions — step-by-step task rules
- Constraints — what not to do
- Output format — exact structure expected
- Examples — few-shot demonstrations (2–3)
Step 3: Define variables
| Variable | Type | Required | Description |
Use {{variable_name}} placeholders. Document validation rules.
Step 4: Write output format contract
Specify exact output structure:
- JSON schema description, or
- Markdown sections, or
- Structured text pattern
Include handling for edge cases (empty input, ambiguous input).
Step 5: Create test cases
| ID | Input | Expected behavior | Pass criteria |
Minimum 5 test cases: happy path, edge cases, adversarial input.
Step 6: Validate
Run Validation checklist.
Decision Rules
| Condition | Action |
| Multiple unrelated tasks in one prompt | Split into separate prompts |
| No output format specified | Define strict format before delivery |
| Task requires external data not in variables | Add variable or recommend RAG/tool integration |
| Prompt exceeds ~2000 tokens template | Modularize; use context-engineering skill |
| Customer-facing without refusal behavior | Add constraint block for out-of-scope requests |
Validation
- Single clear objective stated
- All 6 prompt layers present
- Variables documented with types and validation
- Output format contract is unambiguous
- ≥2 few-shot examples included
- ≥5 test cases with pass criteria
- No Role Play or persona assignment phrasing
- Refusal/out-of-scope handling for user-facing prompts
Anti-patterns
- Mega-prompt — everything in one undifferentiated block.
- Vague instructions — "be helpful", "be accurate" without specifics.
- No output format — free-form when structure is needed.
- Missing negative constraints — not saying what to avoid.
- Example pollution — examples that contradict instructions.
Best Practices
- Put instructions after context (recency bias).
- Use delimiters for variable content (
---, XML tags). - Test with edge cases before production.
- Version prompts with changelog.
- Pair with prompt-reviewer before deployment.
Output Structure
# Prompt Specification: [Prompt Name]
**Version:** 1.0
## Objective
[Single task description]
## Template[Full prompt with {{variables}}]
## Variables
| Name | Type | Required | Validation |
|------|------|----------|------------|
## Output Format
[Exact structure]
## Examples
### Example 1
**Input:** ...
**Output:** ...
## Test Cases
| ID | Input | Pass criteria |
|----|-------|---------------|
## Changelog
| Version | Change |
|---------|--------|Next Skills
| Outcome | Recommended Skill |
| Review prompt quality | ai/prompt-reviewer |
| Optimize token usage | ai/prompt-optimizer |
| Manage context budget | ai/context-engineering |
| AI architecture context | ai/ai-solution-architect |
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
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.

