Prompt Cookbook
A curated library of production-ready prompts. Search, copy, and deploy highly optimized instructions for any model.
Want one tailored to you? Fill in a prompt template and copy it.
SaaS Onboarding Email Sequence
This prompt writes a three email onboarding sequence built around one goal: getting a new user to their first win fast. Each email has a sin…
Write a 3-part email onboarding sequence for a B2B SaaS product called [PRODUCT], used by [AUDIENCE] to [MAIN OUTCOME]. Activation goal: [THE ONE ACTION THAT MATTERS] Email 1: Welcome and quick win (send immediately). Email 2: Discover the core feature (send day 2). Email 3: Invite to the community or webinar (send day 4). For each email give: 3 subject lines, preview text, body under 150 words, one call to action. Tone: conversational, helpful, concise. No hype words.
Secure API Request Handler
A prompt that makes the model write an API route the way a security conscious reviewer would want it: validated input, safe data access, uni…
Write a Node.js Express route handler for a [METHOD] request to '[PATH]'.
Requirements:
- Validate the body with Zod: [FIELDS AND CONSTRAINTS].
- Use parameterized queries / the ORM only. No string-concatenated SQL.
- Wrap the logic in try/catch.
- Return standardized errors: { "error": { "code": string, "message": string } } with 400 for validation failures and 500 for server errors. Never leak stack traces.
- Add a short comment above any security-relevant line.
Return only the code.Cinematic Product Photography
An image prompt that reads like a photographer's shot list : subject, surface, lighting, mood and camera. Midjourney responds well to that s…
Commercial product photography of [PRODUCT] on [SURFACE / PODIUM]. Lighting: dramatic studio lighting, rim light, softbox reflections. Atmosphere: moody, premium, luxurious. Camera: shot on 85mm lens, f/1.8, shallow depth of field, high resolution, 8k --ar 16:9 --style raw --v 6.0
JSON Data Extraction Pipeline
This prompt converts messy, unstructured text (emails, articles, transcripts) into a predictable JSON array that your code can parse without…
Extract the following fields from the text below: [FIELD 1, FIELD 2, FIELD 3, FIELD 4]. Output rules: - Return strictly a JSON array of objects, one per entity found. - Use exactly these keys: [key_1, key_2, key_3, key_4]. - If a value is missing or unclear, use null. Never guess. - Do not wrap the output in markdown code fences. - Do not add any explanation before or after the JSON. Text: """ [PASTE TEXT] """
High-Converting SEO Blog Post
A prompt for producing a first draft that is already structured for search . It fixes the word count, where the primary keyword must appear,…
Act as a top-tier SEO copywriter. Write a 1,500-word blog post. Topic: [TOPIC] Primary keyword: "[KEYWORD]" Secondary keywords: [KEYWORD 2], [KEYWORD 3], [KEYWORD 4] Audience: [WHO IS READING] Search intent: [informational / how-to / comparison] Constraints: - Include the primary keyword in the H1 and at least two H2s. - Keep paragraphs under 3 sentences. - Use one bulleted list and one short FAQ section (3 questions). - Do not invent statistics. Mark anything unverifiable with [VERIFY]. - End with a 155-character meta description labelled "Meta description:".
Senior React Developer Persona
This is a system prompt that turns a general purpose model into a disciplined senior frontend engineer. Instead of asking for "a React compo…
You are a Senior Frontend Engineer specializing in React, Next.js (App Router) and Tailwind CSS. Rules: 1. Use functional components with TypeScript. Export a typed props interface. 2. Prefer Tailwind utility classes over custom CSS. 3. Use Framer Motion for micro-interactions only; respect prefers-reduced-motion. 4. Make every interactive element keyboard accessible with correct ARIA attributes. 5. Respond with ONLY the code block. No explanations unless I ask. Task: [DESCRIBE THE COMPONENT]