Brian Gershon

Building products, sharing best practices.

Gargoyle masthead mark

Guiding AI for Blogging and SEO

Master the art of using AI to create authentic, SEO-optimized blog content through multi-stage workflows that combine AI efficiency with human expertise and editorial control.

Guiding AI for Blogging and SEO

Here's a confession: I used to think AI-generated content was easy to spot and always sounded robotic. Then I realized the robotic content wasn't a limitation of AI, it was a result of lazy prompting. When you guide AI properly, it becomes a powerful writing partner that helps you create better content faster, without sacrificing your authentic voice.

This is the final post in my "Guide the AI" series. We've covered code development and customer review analysis. Today, we're tackling the most nuanced challenge yet: using AI to create blog content that's both genuinely helpful and optimized for search engines.

Why AI for Content Creation?

Writing quality blog posts is time-consuming. Research, outlining, drafting, editing, optimizing for SEO, creating meta descriptions, finding the right tone... it can take hours or even days per post.

AI can compress that timeline dramatically, but only if you maintain quality standards and editorial control. The goal isn't to replace the writer, it's to augment the writing process.

What AI does well for content creation:

  • Research assistance - Gathering information on topics you're learning
  • Outline generation - Structuring ideas into logical flow
  • First draft creation - Getting words on the page to edit
  • SEO optimization - Keyword integration, meta descriptions, headers
  • Editing and refinement - Improving clarity, fixing grammar, tightening prose
  • Format conversion - Adapting content for different platforms

What AI struggles with:

  • Original insights - Your unique experiences and perspectives
  • Authentic voice - The personality that makes your writing yours
  • Current events - Information beyond its training cutoff
  • Fact accuracy - Tendency to "hallucinate" plausible-sounding but incorrect information

The key is designing workflows that leverage AI's strengths while compensating for its weaknesses.

The Multi-Stage Content Workflow

Just like we broke down complex tasks in the code development post, effective content creation uses multiple stages with different prompts for each stage.

My typical workflow:

  1. Research and ideation - Gather information, generate ideas
  2. Outline creation - Structure the post logically
  3. Section drafting - Write each section with guidance
  4. Voice refinement - Ensure it sounds like you, not generic AI
  5. SEO optimization - Add keywords, optimize headers, create metadata
  6. Fact-checking and editing - Verify accuracy, improve clarity
  7. Final polish - Human review and final touches

Each stage uses different prompting strategies. Let's walk through them.

Stage 1: Research and Ideation

I start by using AI as a research assistant to gather information and explore angles I might not have considered.

Research prompt example:

I'm writing a technical blog post about implementing authentication
in Node.js applications.

Please help me research by providing:

1. Current best practices for authentication (OAuth, JWT, sessions, etc.)
2. Common security vulnerabilities to avoid
3. Popular libraries and frameworks used for this
4. Interesting angles or approaches that readers might not know about
5. Related topics that would make good follow-up posts

Focus on information relevant for an intermediate developer audience.

This gives me a knowledge foundation to build on. I then verify the information independently, especially for technical details.

Ideation prompt example:

Based on this research about Node.js authentication, suggest 5 blog
post titles that would:

- Appeal to intermediate developers
- Address a specific problem or use case
- Be SEO-friendly (include relevant keywords)
- Stand out from generic "how to" posts

For each title, provide a one-sentence description of the post's unique angle.

The AI suggests angles I might not have thought of, which I can then refine based on my actual expertise and experience.

Stage 2: Creating the Outline

A solid outline makes drafting much easier. This is where we apply the structured prompting techniques from earlier posts.

Outline prompt:

Create a detailed outline for a blog post titled:
"Implementing Secure Authentication in Express.js: Beyond the Basics"

Target audience: Intermediate Node.js developers
Post length: 2000-2500 words
Tone: Educational, conversational, first-person

Include:
- Opening hook that establishes the problem
- 5-7 main sections with H2 headers
- 2-3 subsections under each main section (H3 headers)
- Key points to cover in each section (bullet points)
- Specific code examples to include
- Conclusion that ties back to the opening

Optimize section headers for SEO by including relevant keywords naturally.

This gives me a structured framework. I then edit it based on my actual knowledge and the flow I want.

Stage 3: Drafting with Voice Guidance

Here's where most people go wrong: they ask AI to "write the blog post" and get generic, soulless content. Instead, guide the AI to write in your specific voice.

The technique: provide voice examples and explicit style guidance.

Voice-guided drafting prompt:

Write the introduction section for this blog post using my writing style.

Here are three examples of my writing voice:
[paste 2-3 paragraphs from your previous posts]

Style guidelines:
- First-person perspective, conversational tone
- Use "I" and "you" to create connection
- Share specific personal experiences, not generic examples
- Keep paragraphs short (1-3 sentences)
- Use concrete examples over abstract concepts
- Avoid buzzwords and marketing speak

Topic: Implementing secure authentication in Express.js
Opening hook: Share a story about authentication gone wrong

Write 3-4 paragraphs for the introduction.

By providing examples of your actual writing and explicit style guidelines, the AI produces content that sounds much more authentic.

I draft one section at a time, reviewing and refining each before moving to the next. This prevents the generic "AI voice" from taking over.

Stage 4: SEO Optimization

SEO optimization happens after the content is drafted. This keeps the writing natural while ensuring search engine visibility.

SEO prompt example:

I have a blog post about Express.js authentication. Please help optimize it for SEO:

Primary keyword: "Express.js authentication"
Secondary keywords: "Node.js security", "JWT implementation", "passport.js"

Please provide:

1. Optimized title tag (60 chars max, include primary keyword)
2. Meta description (155 chars max, compelling with keyword)
3. Suggested H2 headers that incorporate keywords naturally
4. Internal linking opportunities (suggest related topics to link to)
5. Image alt text suggestions for 3 screenshots I'll include
6. Suggested URL slug

Ensure all suggestions sound natural, not keyword-stuffed.

This gives me SEO guidance without sacrificing readability.

I also use AI to check keyword density:

Analyze this blog post draft for SEO:

Target keyword: "Express.js authentication"
Related keywords: "Node.js security", "JWT", "session management"

Check:
- Is the target keyword used enough (aim for 1-2% density)?
- Are keywords distributed naturally throughout?
- Do headers include relevant keywords?
- Are there opportunities to add keywords without forcing them?

[paste blog post]

This helps me find natural places to reinforce key terms.

Stage 5: Editing for Clarity

AI is excellent at editing for clarity, grammar, and conciseness. This is where the iteration techniques from our code development post really shine.

Editing prompt:

Edit this section for clarity and conciseness while maintaining my voice:

Goals:
- Reduce word count by 15-20% without losing meaning
- Improve sentence structure for easier reading
- Fix any grammatical issues
- Ensure technical accuracy
- Maintain conversational tone

[paste section]

Show me the edited version with a brief explanation of major changes.

I review the suggestions and accept or reject based on whether they improve the content while preserving my voice.

Creating Authentic Personal Examples

Generic AI content uses generic examples: "Imagine you're building an e-commerce site..." The best way to avoid this is to provide your own experiences.

Technique: Write the personal example yourself, then ask AI to integrate it smoothly:

I want to add this personal experience to the authentication post:

"Last year, I was consulting for a startup that had implemented their
own authentication system instead of using established libraries. They
had over 12,000 users when we discovered they were storing passwords
in plain text. The migration to proper bcrypt hashing was a nightmare
that cost them three weeks and several sleepless nights."

Please integrate this anecdote into the "Why Authentication Libraries Matter"
section, adding 2-3 sentences before and after to make it flow naturally
with the surrounding content. Maintain my conversational tone.

Here's the current section:
[paste section]

This keeps your authentic experiences while ensuring smooth integration into the broader narrative.

Fact-Checking and Validation

Just like we validated AI code and review analysis in previous posts, you must validate content accuracy. AI can confidently state incorrect information.

My fact-checking workflow:

1. Technical Claims

  • Verify all code examples actually work
  • Check library versions and compatibility
  • Test commands and configurations mentioned

2. Statistics and Data

  • Verify any numbers or percentages cited
  • Check sources for accuracy
  • Ensure data is current

3. Best Practices

  • Confirm recommended approaches are actually current best practices
  • Check for security implications
  • Verify against official documentation

4. Links and References

  • All external links must be manually verified
  • Check that referenced tools/libraries still exist
  • Ensure linked content is relevant and authoritative

I never publish technical content without running code examples myself and verifying claims against official documentation.

The Human Touch: What AI Can't Replace

Here's what I always write myself, never delegating to AI:

Personal Stories and Experiences Your unique perspective is what makes your content valuable. AI can help you tell the story better, but the story itself comes from you.

Original Insights Novel connections between ideas, predictions based on experience, counterintuitive observations - these come from human expertise.

Editorial Judgment What to include, what to cut, what angle to take, what tone to use for this specific audience - these are human decisions.

Final Authenticity Check Before publishing, I read the entire post aloud. If anything sounds like it came from AI rather than me, I rewrite it. Your audience can tell the difference.

Practical Example: Full Workflow

Let me show you how all these stages work together for a real post.

Topic: "Building a REST API with Express.js and MongoDB"

Stage 1: Research (5 minutes)

Research current best practices for Express.js + MongoDB REST APIs.
Include: popular libraries, common patterns, security considerations.

Stage 2: Outline (10 minutes)

Create detailed outline for "Building a Production-Ready REST API
with Express.js and MongoDB"

Target: Intermediate developers
Length: 2500 words
Tone: Educational, first-person, conversational

I review and modify the outline based on my experience.

Stage 3: Draft Introduction (15 minutes)

Write introduction using my voice:
[provide voice examples]

Hook: Share experience from my first Express.js API that had no error
handling and crashed the entire server when MongoDB connection failed.

I review, edit for authenticity, ensure the story is accurate.

Stage 4: Draft Each Section (60 minutes)

For each section:

Write the "Error Handling and Validation" section.

Style: [voice guidelines]
Include:
- Code example showing try-catch with async/await
- Example of input validation with express-validator
- Explanation of why this matters

Maintain conversational tone while being technically accurate.

I fact-check code examples, test them, modify based on my preferences.

Stage 5: SEO Optimization (10 minutes)

Optimize for SEO:
Primary keyword: "Express MongoDB REST API"
Secondary: "Node.js backend", "API development"

Provide: title tag, meta description, header optimization suggestions

Stage 6: Editing Pass (20 minutes)

Edit entire post for:
- Clarity and conciseness
- Consistent tone
- Grammar and flow
- Technical accuracy

[paste full post]

I review all changes, accepting improvements while rejecting anything that doesn't sound like me.

Stage 7: Final Human Review (15 minutes)

  • Read entire post aloud
  • Run all code examples
  • Verify all links
  • Check for any remaining "AI voice" patterns
  • Ensure it provides genuine value

Total time: ~2.5 hours for a high-quality, 2500-word technical post.

Without AI, this same post would take me 6-8 hours.

Common Pitfalls in AI Content Creation

Mistakes I've made (so you don't have to):

1. Publishing Without Human Review

  • AI content needs editorial oversight
  • Always read the full post before publishing
  • Check for hallucinated facts or code

2. Over-Optimizing for SEO

  • Keywords should sound natural
  • Write for humans first, search engines second
  • Forced keywords hurt readability

3. Losing Your Voice

  • Generic AI voice makes content forgettable
  • Provide voice examples in every prompt
  • Rewrite sections that don't sound like you

4. Skipping the Fact-Check

  • AI confidently states incorrect information
  • Always verify technical claims
  • Test all code examples

5. Trying to Do Everything in One Prompt

  • Multi-stage workflows produce better results
  • Each stage has a specific purpose
  • Iteration improves quality

Measuring Success

How do you know if your AI-assisted content is working?

Metrics I track:

  • Engagement - Time on page, scroll depth, comments
  • SEO performance - Rankings for target keywords, organic traffic
  • Authenticity - Feedback from regular readers, does it sound like you?
  • Value - Are readers finding it helpful? Solving their problems?
  • Efficiency - Time saved vs. manual writing

Good AI-assisted content should be indistinguishable from your manual writing in terms of quality and voice, while being produced significantly faster.

In Conclusion

Using AI for blogging and SEO is about augmentation, not replacement. The techniques we covered in code development and review analysis all apply here: structured prompts, iterative refinement, rigorous validation.

The difference between mediocre AI content and excellent AI-assisted content is the human guiding the process. Provide your voice, contribute your experiences, maintain editorial control, and use AI to handle the heavy lifting of research, drafting, and optimization.

Your authentic perspective combined with AI's efficiency creates content that's both high-quality and sustainable to produce.

Thank you

Thanks to everyone who's shared their experiences with AI-assisted writing, both successes and failures. The community's willingness to experiment and share results helps all of us get better at guiding these powerful tools.

And thank you for reading this series. Whether you're using AI for code, data analysis, or content creation, I hope these techniques help you achieve better results faster.