prompt-engineer
Skill1 starsChanged 3 days agoMITView on GitHub
Turn a rough natural-language ask into a high-quality, Anthropic-spec prompt. Use when the user wants to write, engineer, improve, tighten, or harden a prompt — "write me a prompt for X", "make this prompt better", "rewrite my prompt to spec", "engineer this prompt", "prompt for <task>", or /prompt. ALWAYS reads references/anthropic-prompt-engineering.md (the codified current Anthropic guidance) before writing, instead of relying on memory of prompt-engineering folklore (now partly stale — e.g. prefill is deprecated, budget_tokens → adaptive thinking).
78 other projects use a version of this.
Adopted by
Most recently taken up by
- Tha-vivid-one/claude-skillstheir own version, first seen Nov 16, 2026
- Ivan-propio/claude-skillstheir own version, first seen Nov 16, 2026
- lamb92009/claude-skillstheir own version, first seen Nov 16, 2026
- LeonardSEO/prompt-engineer-skilltheir own version, first seen Nov 12, 2026
- santiago-migoni/claude-skillstheir own version, first seen Nov 8, 2026
- wanghongN/SkillsRepotheir own version, first seen Nov 8, 2026
Used with
Projects with it also use idea-validator, debugger and 5 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.
dipaulavsSkillidea-validator
Validates app ideas before building. Analyzes market saturation, competitors, real demand vs stated interest, solo builder feasibility (2-4 weeks timeline), and monetization potential. Use when user asks to validate an idea, evaluate a concept, check if idea is worth building, or before starting a new project.
Also in 3 projects that use this
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
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 versions78 projects use a version of this.
Word for word · 1
- LucasCooperBey/claude-skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 77
- Jeffallan/claude-skills★ 12ksame name
- elithrar/dotfiles★ 222same name
- chrispangg/deepagentsdk★ 128same name
- aakashg/pm-claude-skills★ 106same name
- thedesignproject/agent-skills★ 101same name
- OpenCoven/coven★ 75same name
- monaccode/astromesh★ 39same name
- jshsakura/awesome-opencode-skills★ 31same name
- joe-qai/qa-skills★ 30same name
- felvieira/claude-skills-fv★ 28same name
67 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 repository53 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/deep-recon/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-researchSkill
- algorithmic-artSkill
- api-integrationSkill
- breakdownSkill
- c4-architectSkill
- canvas-designSkill
- coding-agentsSkill
- compound-engineeringSkill
- context-budgetSkill
- counterfactualSkill
- critiqueSkill
- d3js-visualizationSkill
- data-analyst-agentSkill
- database-migrationsSkill
- deep-reconSkill
- design-tasteSkill
- e2b-sandboxSkill
- ecosystem-auditSkill
- executing-plansSkill
- frontend-designSkill
- fullstack-agentSkill
- grillSkill
- kickoffSkill
- mcp-builderSkill
- model-migrationSkill
- naming-the-machineSkill
- full-output-enforcementSkill
- package-researchSkill
- pdf-generationSkill
- pp2pSkill
- pp3pSkill
- prompt-groundingSkill
- redesignSkill
- requesting-code-reviewSkill
- reverse-engineer-to-learnSkill
- review-changesSkill
- scratchpadSkill
- shipSkill
- slack-gif-creatorSkill
- sprint-architectSkill
- techdebtSkill
- test-and-fixSkill
- threat-modelSkill
- verification-before-completionSkill
- visual-verdictSkill
- webapp-testingSkill
- web-asset-generatorSkill
- whatdidimissSkill
- wiki-writeSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 67 edited versions we read keep these.
3
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
- Distinctive: line 22
Default sensibly and proceed if the user said "just go."
- Distinctive: line 26
Add context/motivation ("because …") — Claude generalizes from the why.
- Distinctive: line 35
Add the anti-overengineering / anti-hallucination / autonomy-safety snippets when the task warrants them (reference § snippet library).
“Common” is measured: kept by at least 6 in 10 of the 67 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
Rewrite the user's raw intent into a prompt that follows Anthropic's current best practices — grounded in the codified reference, not from memory.
Why this exists
Claude "thinks it knows" how to write a prompt and skips the docs. The docs have also moved: prefill is deprecated, adaptive thinking + effort replaced budget_tokens, and newer models over-trigger on "CRITICAL: You MUST" language. So this skill makes referencing the doc non-optional.
Workflow — do this every time
- Read the reference FIRST. Open
references/anthropic-prompt-engineering.mdbefore writing anything. This is the entire point of the skill — do not skip it, do not work from memory. - Capture intent. Get the raw ask plus the few things that change the prompt. If any are unclear, ask as a SHORT multiple-choice (not free-text):
- Target model / harness? (Opus 4.8 API · Claude Code agent · Fable 5 · other)
- One-shot prompt · system prompt · agentic/long-horizon?
- Output format? (prose · JSON/structured · code · HTML · a document)
- Does it use tools / run autonomously? Default sensibly and proceed if the user said "just go."
- Engineer it against the reference checklist:
- Clarity & specificity; state the output + constraints; sequential steps as a numbered list.
- Add context/motivation ("because …") — Claude generalizes from the why.
- Examples: 3–5, relevant + diverse, in
<example>/<examples>tags. - Structure with XML tags (
<instructions>,<context>,<input>,<documents>). - Give a role (one system sentence).
- Control output by saying what TO do (not "don't"); match prompt style to desired output.
- Thinking: rely on adaptive thinking +
effort; add a self-check line; avoid prescriptive CoT steps. - Tools: be explicit ("make these edits", not "could you suggest"); add the parallel-tools snippet if relevant.
- Long context (20k+): longform data at the TOP, query at the bottom; ask it to quote first.
- Don't over-prompt ("CRITICAL: You MUST" → "Use … when …"); don't add prefill; don't use
budget_tokens. - Add the anti-overengineering / anti-hallucination / autonomy-safety snippets when the task warrants them (reference § snippet library).
- Deliver. Output the engineered prompt in ONE clean fenced block, then a 2–4 line "what I changed & why." Keep it copy-paste ready — no placeholders.
- Offer to run it (or run it if asked). For high-stakes prompts use generate → review-against-criteria → refine.
Prompt skeleton (assemble only the parts you need, roughly this order)
- Role (system) · 2. Task context / goal · 3. Tone & format rules · 4. Background data & documents (XML; at the TOP for long context) · 5. Detailed rules & steps · 6. Examples (
<examples>) · 7. Conversation history · 8. The immediate task/question · 9. "Think / self-check" · 10. Output-format spec.
Keep the reference fresh
The Anthropic guidance evolves (prefill got deprecated; adaptive thinking arrived). When models change, re-sync references/anthropic-prompt-engineering.md from:
https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/claude-prompting-best-practices
Not this skill
- Auditing a prompt's factual claims against your codebase/strategy →
prompt-grounding. - Generating a Ralph autonomous-loop prompt →
ralph-prompt-generator.
Source
Adapted from https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices (no open license found on the page, no holder found on the page). Changed for this repo by Lucas Cooper-Bey in 2026: the references file digests that page and the SKILL.md body is original.
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.

