40 AI Prompts for Expert Output
π The core idea
A real prompt is an engineered instruction, not a wish. It specifies role, context, constraints, format, quality standard, and examples. The author tested 500+ prompts and kept the 40 that produce expert-level output every run on Claude, ChatGPT, and Gemini. Originally a Twitter thread by @eng_khairallah1.
Closely aligned with the engineered-prompt philosophy in Context Engineering and Claude Code Best Practice β substance over wishes.
ποΈ Description
Six categories, 40 prompts. Each prompt is a parametrized template with rules, structure, and quality gates. Save the list, customize the variables, build a personal template library over time.
π§© Categories
- Writing and content (01β10) β Expert Article Writer, Thread Architect, Email Drafter, Content Repurposer, Copywriting Converter, Blog Post Outliner, Storytelling Transformer, Headline Generator, Case Study Builder, Style Mimic
- Analysis and strategy (11β20) β SWOT, Decision Matrix, Root Cause (5 Whys), Market Opportunity Scanner, Meeting Strategist, Pricing Strategist, Competitive Teardown, OKR Builder, Risk Assessor, Retrospective Facilitator
- Technical and development (21β28) β Architecture Advisor, Code Reviewer, Debug Diagnostician, API Designer, Database Schema Designer, Test Case Generator, Documentation Writer, Refactoring Planner
- Productivity and personal (29β32) β Weekly Planner (with deliberately-skipping section), Learning Accelerator, Negotiation Prep, Habit Designer
- Data and research (33β35) β Data Interpreter, Survey Analyzer, Research Synthesizer
- Communication (36β40) β Difficult Conversation Prep, Feedback Giver, Presentation Outliner, Apology Crafter, Elevator Pitch Builder
π Patterns worth stealing
- Role + constraint + format + quality bar in every prompt β no vague asks.
- Forced specificity β explicit βno filler phrasesβ, βno hedge wordsβ, βevery claim must be specificβ.
- Multi-version output β generate Version A (direct) and Version B (warm) so you can pick.
- Refusal to accept framing β Root Cause prompt says βDo not accept my initial framing at face valueβ.
- Pessimism on demand β Risk Assessor says βBe pessimistic. I want to hear about risks I have not considered.β
- Deliberately-skipping section in the Weekly Planner β saying no is how priorities stay priorities.
βοΈ One quoted prompt (#22 Code Reviewer)
Review this code⦠Check for: SECURITY, LOGIC, PERFORMANCE, READABILITY, BEST PRACTICES. For each issue found: Severity (Critical/High/Medium/Low), Exact location, Why it is a problem (not just what is wrong, but what could happen), The fix. If the code is clean, say so. Do not invent issues to seem thorough.
π Related notes
- Context Engineering β broader philosophy of feeding models the right context
- Claude Code Best Practice β operational prompts inside Claude Code
- Building Claude Skills Guide β packaging reusable prompts as skills
- Awesome Claude Code β curated CC resources
π Further reading
- Original thread: @eng_khairallah1 on X
Template: knowledge_note_info