๐ AI Blog Generator
Objectiveโ
In this project, you will build a multi-step prompt pipeline that generates SEO-optimized blog posts through three distinct phases: outline generation, draft writing, and editing/polishing. You'll learn how to chain prompts, manage context between steps, and optimize content for both readers and search engines.
Requirementsโ
Before starting this project, you should be familiar with:
Difficultyโ
IntermediateStarter Templateโ
Start with this basic prompt and observe its limitations:
Write a blog post about productivity tips for remote workers.
What's wrong with this?
- No SEO optimization (keywords, meta description, headers)
- No structural guidance โ could produce any format or length
- No audience targeting
- No editing or quality control pass
- One-shot generation lacks the depth of a multi-step process
- No internal linking or CTA strategy
Step-by-Step Guideโ
Step 1: Design the Outline Generator (Phase 1)โ
The first prompt in the pipeline creates a structured outline with SEO targets.
You are an expert SEO content strategist. Generate a detailed blog post outline.
**Topic:** Productivity Tips for Remote Workers
**Target Keyword:** remote work productivity tips
**Secondary Keywords:** work from home efficiency, remote team productivity, home office tips
**Target Word Count:** 1,800โ2,200 words
**Target Audience:** Remote professionals and managers at tech companies
Generate an outline with:
1. SEO-optimized title (include primary keyword, under 60 characters)
2. Meta description (include primary keyword, 150โ160 characters)
3. H2 and H3 header hierarchy (each header should be descriptive and keyword-relevant)
4. 2โ3 bullet points per section describing what to cover
5. Suggested internal links placement
6. Where to place a CTA (call-to-action)
Output as structured markdown.
Step 2: Design the Draft Writer (Phase 2)โ
The second prompt takes the outline and produces the full draft.
You are an expert blog writer who creates engaging, well-researched content that
ranks well in search engines while genuinely helping readers.
Using the outline below, write the complete blog post draft.
[INSERT OUTLINE FROM STEP 1]
**Writing Rules:**
- Hook the reader in the first 2 sentences with a surprising stat or relatable scenario
- Use the primary keyword "remote work productivity tips" naturally 4โ6 times throughout
- Use secondary keywords at least once each in relevant sections
- Write in a conversational but authoritative tone
- Use short paragraphs (2โ4 sentences max)
- Include specific, actionable advice โ not generic platitudes
- Add a practical example or mini case study in at least 2 sections
- Use transition sentences between sections for flow
- End with a strong CTA related to the content
- Target 1,800โ2,200 words
Step 3: Design the Editor/Polisher (Phase 3)โ
The third prompt reviews and improves the draft.
You are a senior content editor with expertise in SEO content and engagement
optimization. Review and improve the following blog post draft.
[INSERT DRAFT FROM STEP 2]
**Editing Checklist:**
1. SEO Check:
- Primary keyword density (aim for 1โ1.5%)
- Secondary keywords present in relevant sections
- Headers are descriptive and keyword-rich
- Meta description is compelling and includes keyword
2. Readability:
- Flesch reading ease target: 60โ70 (clear and accessible)
- No paragraphs longer than 4 sentences
- Vary sentence length for rhythm
- Replace jargon with plain language where possible
3. Engagement:
- Strong opening hook โ does it grab attention in 5 seconds?
- Each section delivers a clear takeaway
- Examples are specific and relatable
- CTA is natural, not forced
4. Quality:
- Remove filler words ("very," "really," "just," "actually")
- Tighten verbose sentences
- Ensure consistent tone throughout
- Fact-check any statistics or claims
Output the improved post with a summary of changes made.
Step 4: Create the Unified Pipeline Promptโ
Combine all three phases into one comprehensive prompt for single-shot execution.
Execute a 3-phase blog post generation pipeline.
Phase 1: Outline โ Phase 2: Draft โ Phase 3: Edit & Polish
Process each phase sequentially, using the output of each phase as input for the next.
Final Optimized Promptโ
Here is the complete, production-ready pipeline prompt:
You are a professional content creation pipeline that generates high-quality, SEO-optimized blog posts. Execute the following 3-phase process sequentially. Complete each phase fully before moving to the next.
**CONTENT BRIEF:**
- Topic: Productivity Tips for Remote Workers
- Primary Keyword: "remote work productivity tips"
- Secondary Keywords: "work from home efficiency," "remote team productivity," "home office tips," "remote work routine"
- Target Audience: Remote professionals and team managers at tech companies (25โ45 years old)
- Content Goal: Educate and provide actionable strategies, build authority, drive newsletter signups
- Target Word Count: 1,800โ2,200 words
- Tone: Conversational, authoritative, practical โ like advice from an experienced remote work mentor
---
**PHASE 1: STRATEGIC OUTLINE**
Generate a detailed outline including:
1. **SEO Title** โ Under 60 characters, includes primary keyword, creates curiosity
2. **Meta Description** โ 150โ160 chars, includes primary keyword, has a clear value proposition
3. **Header Hierarchy:**
- 5โ7 H2 sections covering distinct subtopics
- 2โ3 H3 subsections under key H2s where depth is needed
- Each header is descriptive and naturally keyword-rich
4. **Section Briefs** โ 2โ3 bullet points per section describing key points to cover
5. **Content Strategy Notes:**
- Where to place the primary keyword (intro, 2 body sections, conclusion)
- Where to use secondary keywords
- Where to place internal links (suggest 2โ3)
- CTA placement and type
Label this section: "๐ PHASE 1: OUTLINE"
---
**PHASE 2: FULL DRAFT**
Using the outline from Phase 1, write the complete blog post:
Writing Standards:
- **Opening:** Hook in the first 2 sentences โ use a data point, question, or relatable scenario
- **Keyword Usage:** Primary keyword 4โ6 times naturally. Each secondary keyword at least once.
- **Paragraphs:** 2โ4 sentences maximum. White space is your friend.
- **Advice Quality:** Every tip must be specific and actionable. No generic advice like "stay organized." Instead: "Use time-blocking in 90-minute focused sprints with 15-minute breaks โ the Pomodoro method adapted for deep work."
- **Evidence:** Include at least 2 references to studies, surveys, or expert insights (cite sources)
- **Examples:** At least 2 practical examples or mini case studies
- **Transitions:** Use bridge sentences between sections for narrative flow
- **Subheadings:** Use the exact H2/H3 structure from the outline
- **CTA:** Natural, value-driven call-to-action at the end
- **Formatting:** Use bullet points, numbered lists, and bold text for scanability
Label this section: "โ๏ธ PHASE 2: DRAFT"
---
**PHASE 3: EDIT & POLISH**
Review the Phase 2 draft and apply these improvements:
1. **SEO Audit:**
- Verify primary keyword appears 4โ6 times with natural placement
- Confirm all secondary keywords are present
- Check that H2/H3 headers contain relevant keywords
- Ensure meta description is compelling and keyword-optimized
2. **Readability Pass:**
- Target Flesch score of 60โ70
- Break up any paragraphs longer than 4 sentences
- Replace jargon or complex terms with simpler alternatives
- Vary sentence length (mix of 8โ25 words per sentence)
3. **Engagement Polish:**
- Strengthen the opening hook if it doesn't grab attention in 5 seconds
- Ensure each section has a clear, memorable takeaway
- Add a one-line TL;DR at the start of each major section
- Verify the CTA feels earned and natural
4. **Quality Tightening:**
- Remove filler words: "very," "really," "just," "actually," "basically"
- Cut redundant sentences โ if two sentences say the same thing, merge or remove one
- Ensure consistent voice and tone throughout
- Verify any cited statistics or claims are plausible
Label this section: "โ
PHASE 3: FINAL POLISHED POST"
Output the final version with the meta description at the top, followed by the complete polished article.
Also include a brief "๐ Changes Summary" listing the key improvements made in Phase 3.
Interactive Playgroundโ
๐งช Blog Generator Playground
Start with the basic template, then iterate to reach the optimized version.
Explanationโ
The final prompt works because it applies several key prompt engineering principles:
-
Pipeline architecture โ Breaking generation into Outline โ Draft โ Edit mirrors how professional content teams work. Each phase has a focused job, producing better results than one-shot generation.
-
Detailed content brief โ Providing audience, keywords, tone, and goals upfront ensures every phase is aligned with the content strategy rather than producing generic output.
-
SEO-specific instructions โ Keyword frequency targets (4โ6 times), header optimization rules, and meta description constraints are concrete and measurable, not vague.
-
Quality benchmarks โ Specifying Flesch reading score targets, paragraph length limits, and specific filler words to remove gives the editor phase actionable criteria rather than subjective "make it better."
-
Practical content standards โ Rules like "no generic advice" with a counter-example ("not 'stay organized' but 'use 90-minute time blocks'") teach the AI what quality looks like through demonstration.
-
Self-review loop โ The Phase 3 editing pass acts as a built-in quality gate, catching issues that single-pass generation misses.
Extensions & Challengesโ
-
Topic Adapter โ Create a template version with variables (
{{topic}},{{keyword}},{{audience}}) that can generate blog posts for any subject by swapping the content brief. -
Series Generator โ Extend the pipeline to plan a 5-part blog series with interconnected topics, internal linking strategy, and progressive depth.
-
Social Media Companion โ Add a Phase 4 that generates 5 social media posts (Twitter, LinkedIn, Instagram) to promote the blog post, each adapted for the platform's style.
-
A/B Title Testing โ Modify Phase 1 to generate 5 title variations with different hooks (question, number, how-to, contrast, emotional) and explain which would perform best and why.
-
Content Refresh Pipeline โ Build a variant that takes an existing blog post as input and updates it with fresh data, new examples, improved SEO, and extended content.