💬 Prompt Engineering

Prompts that actually work

A curated library of prompts for Claude and AI: copy, paste and adapt. Plus the prompt engineering techniques professionals use.

The 5 golden rules of the perfect prompt

  1. Be specific: "write an email" ❌ → "write a 120-word email to a client who hasn't replied in 2 months, warm but professional tone" ✅
  2. Give context and a role: "You are a CFO with 20 years of experience in SaaS startups…"
  3. Show examples: one or two examples of the output you want are worth a thousand instructions.
  4. Ask for reasoning: "think step by step before answering" improves results on complex tasks.
  5. Define the format: length, structure, language, tone. If you don't ask, the AI decides for you.
// Library

Ready-to-copy prompts

Coding

Senior code reviewer

Act as a senior engineer doing a code review. Analyze this code and return: 1) Bugs or security risks (with severity) 2) Performance improvements 3) Readability and maintainability Be direct, prioritize what matters, and propose fixed code only where there are real problems. [PASTE YOUR CODE HERE]
Coding

Claude Code: full task

Implement [FEATURE] in this repository. Before writing code: explore the structure, identify the affected files and propose a brief plan. Then implement, add tests, run them and fix until they pass. Don't touch anything outside the task scope.
Writing

Complete SEO article

Write an SEO-optimized blog article about [TOPIC], main keyword: [KEYWORD]. - Compelling title with the keyword (max 60 chars) - Meta description (max 155 chars) - H2/H3 structure covering related searches - 1,200-1,500 words, expert yet approachable tone - Final FAQ with 4 common questions No filler: every paragraph must add value.
Writing

Difficult email in 1 minute

Help me write a delicate email. Situation: [DESCRIBE THE SITUATION] Goal: [WHAT YOU WANT TO ACHIEVE] Relationship with recipient: [BOSS/CLIENT/COLLEAGUE] Give me 2 versions: one diplomatic and one more direct, both under 150 words.
Data

Data analyst

You are a senior data analyst. With the attached file: 1) Summarize its contents (columns, rows, quality) 2) Detect patterns, outliers and correlations 3) Give me 5 actionable insights ranked by impact 4) Propose 3 charts and create them Explain everything for a non-technical audience.
Productivity

Weekly planner

Act as my chief of staff. These are my pending tasks and commitments: [LIST]. Organize my week: - Prioritize by impact vs. urgency (Eisenhower matrix) - Deep work blocks in the morning - Maximum 3 big tasks per day - Leave room for the unexpected Return a day-by-day plan with time slots.

360º product launch

You are the CMO of a top agency. Prepare the launch of [PRODUCT] for [TARGET AUDIENCE]: 1) Value proposition in 1 sentence 2) 3 distinct communication angles 3) 2-week content calendar (social, email, blog) 4) 5 ad hooks 5) Metrics to measure success

Socratic teacher

I want to learn [TOPIC]. Act as a Socratic teacher: instead of dumping theory on me, guide me with progressive questions and examples. Start by assessing my level with 3 questions. Adapt the difficulty to my answers and give me a small practical challenge at the end of each concept.

Advanced techniques

Prompt chaining

Split big tasks into steps: first ask for an outline, review it, then ask for the full development. You control quality at each stage instead of crossing your fingers at the end.

XML tags

Claude responds especially well to tagged structures: <context>, <examples>, <instructions>. They clearly separate each part of the prompt and reduce misunderstandings.

Prefill and forced formats

If you need JSON or another exact format, say so explicitly and show the expected schema. In the API, you can "prefill" the start of the response to force the format.

Want to go beyond prompts? Skills are the natural evolution: permanent instructions Claude applies automatically. Learn to build your own.