skills/humanitys-last-prompt-engineer/skills/humanitys-last-prompt-engineer/SKILL.md
This skill should be used when the user asks to "write a prompt", "improve my prompt", "fix this prompt", "optimize a prompt", "learn prompting techniques", "get prompt templates", or mentions prompt engineering, prompt quality, or prompt rewriting. Applies 11 foundational techniques from Forward Future's guide.
npx skillsauth add back1ply/LLM-Skills humanitys-last-prompt-engineerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Craft effective prompts using proven techniques from Forward Future's prompt engineering guide. Diagnose weak prompts, apply the right technique, and deliver concrete rewrites.
Source: Based on "Humanity's Last Prompt Engineering Guide" by Matthew Berman & Nick Wentz (Forward Future). https://www.forwardfuture.ai/p/humanity-s-last-prompt-engineering-guide
Follow these five steps for every prompt request:
1. Receive the prompt (or a description of what the user needs)
2. Diagnose: Identify what's missing (role, context, format, task clarity)
3. Select technique(s): Determine which of the 11 techniques applies best
4. Rewrite: Produce an improved prompt
5. Explain: Briefly describe why the changes work
Evaluate against these 6 diagnostic questions:
| # | Question | If Missing | |---|----------|------------| | 1 | Is the task clearly defined? | Add a specific action verb | | 2 | Is there a role/persona? | Add "You are a [expert]..." | | 3 | Is input/context complete? | Add background data or scenario | | 4 | Is output format specified? | Add format constraint (bullets, JSON, table) | | 5 | Is reasoning requested (if needed)? | Add "think step by step" or "explain logic" | | 6 | Is it broken into steps (if complex)? | Decompose into subtasks |
| Technique | When to Apply | Complexity | |-----------|--------------|------------| | Zero-Shot | Simple, obvious tasks requiring no examples | Low | | Few-Shot | Need specific structure, tone, or output format | Low | | System Prompt | Control persistent behavior or format rules | Low | | Role Prompt | Need specific domain expertise or persona | Low | | Contextual | Task requires background data or domain knowledge | Medium | | Step-Back | Complex reasoning benefits from broader perspective first | Medium | | Chain-of-Thought | Math, logic, planning, or multi-step reasoning | Medium | | Self-Consistency | High-stakes or ambiguous tasks needing multiple reasoning paths | High | | Tree of Thoughts | Brainstorming, exploration of multiple valid solution paths | High | | ReAct | Tasks requiring tool use (search, code execution, APIs) | High | | APE | Optimizing prompt performance at scale with automated testing | High |
For detailed examples, tips by experience level, and advanced usage of each technique, see references/techniques-detailed.md.
Every strong prompt contains four components:
Example transformation:
Weak: "Help me with marketing"
Strong: "You are a B2B SaaS copywriter. Write 3 LinkedIn post variations
promoting our new analytics feature. Each post should be under
150 words, use a professional but approachable tone, and end
with a clear CTA."
| Problem | Diagnosis | Fix | |---------|-----------|-----| | Too vague | No specifics or constraints | Add specifics: "3 bullet points focusing on X" | | Wrong audience | No target reader defined | Add target: "for a busy executive" | | Missing role | No expertise context | Add persona: "You are a brand copywriter" | | Unstructured output | No format specified | Specify: "as a numbered list with explanations" | | Shallow reasoning | No thinking requested | Add: "explain your logic" or "think step by step" | | Inconsistent results | Single inference path | Apply Self-Consistency: generate 3 answers, pick majority |
Structure every response using this format:
## Analysis
[What's working in the original prompt, what's missing or weak]
## Technique Applied
[Which technique(s) were selected and why they fit this case]
## Improved Prompt
[The complete rewritten prompt, ready to copy-paste]
## Why This Works
[1-2 sentences explaining the key improvements]
Match temperature to the task type:
| Range | Best For | Examples | |-------|----------|---------| | 0-0.3 | Factual, precise, deterministic | Summaries, data analysis, extraction | | 0.4-0.6 | Balanced (default) | General tasks, explanations | | 0.7-1.0 | Creative, exploratory | Brainstorming, writing, ideation |
For detailed guidance and tools, consult:
references/techniques-detailed.md — Extended examples, tips by experience level, and advanced usage for all 11 techniquesreferences/role-templates.md — Ready-to-use role-based prompt templates for common business scenarios (operations, marketing, sales, HR)references/scorecard.md — Prompt quality scorecard (1-35 rating) and refinement worksheet for systematic prompt evaluationdevelopment
Query 2–3 AI models in parallel via OpenRouter and synthesize their responses into a unified review. Use when the user says "get a second opinion", "ask GPT", "ask Gemini", "multi-model review", "council review", "validate this", "what does [model] think", or wants cross-model validation of code, architecture, security, writing, math, or documents. Requires OPENROUTER_API_KEY set in the environment.
documentation
This skill should be used when the user asks to "write DAX measures", "create Power BI calculations", "help with DAX formulas", "write time intelligence", or mentions aggregations, filters, or DAX performance. Ensures correct syntax, optimal performance, and best practices on the first attempt.
tools
This skill should be used when the user asks to "find a skill", "discover plugins", "search for an MCP", "what plugins exist for X", "fill my skill gaps", "improve my setup", or when Claude recognizes it lacks tools for a task. Searches GitHub and marketplaces to suggest installations.
development
This skill should be used when the user asks to "review installed skills", "find duplicates", "detect skill overlaps", "identify skill gaps", "optimize skills", "audit my skills", or "troubleshoot skill conflicts". Supports Gemini, Claude Code, Cursor, Copilot, Windsurf, and custom setups.