← Back to Blog

Generate AI Fix Prompts From Any Site Audit: Let ChatGPT or Claude Write Your Code

Generate AI Fix Prompts From Any Site Audit: Let ChatGPT or Claude Write Your Code

You ran the audit. You know what is broken. Your SEO score is 62, your schema markup is missing half the types your competitors have, and your meta descriptions are either too long or nonexistent. The analyzer told you everything that is wrong.

Now what? If you are not a developer, you are stuck. You can see the red cells in the report, but turning "missing FAQ schema" or "no Speakable markup" into actual working code is a different skill entirely. This is the gap that kills most DIY site optimization efforts. The diagnosis is easy. The fix is where people give up.

That is why I built the AI Fix Prompt generator into the Site Analyzer.

What the "Copy AI Fix Prompt" Button Does

After you run an analysis on any URL, you will see a button labeled Copy AI Fix Prompt. Click it and the tool copies a detailed, structured prompt to your clipboard. Paste that prompt into ChatGPT, Claude, Gemini, or any LLM. And it generates the exact code you need to fix every issue the analyzer found.

This is not a generic prompt. It does not say "improve my SEO." It includes your actual audit data: your specific URL, your current meta tags, which schema types you have and which are missing, which checks passed and which failed, your performance metrics, your accessibility gaps, and specific instructions for what to add or change.

What the Generated Prompt Includes

Here is an abbreviated example of what the prompt looks like when you paste it into an LLM:

I need you to generate code fixes for the following website based on
an automated audit. Here are the details:

URL: https://example.com/landing-page
Current Title Tag: "Welcome to Our Site" (too generic, 22 chars)
Current Meta Description: [MISSING]

SCHEMA MARKUP (Current):
- Organization: Present
- WebSite: Present
- BreadcrumbList: Missing
- FAQ: Missing
- Speakable: Missing
- Product: Missing

FAILED CHECKS:
- Meta description is missing
- No FAQ schema detected
- No BreadcrumbList schema for navigation
- H1 count: 0 (should be exactly 1)
- Images missing alt attributes: 4 of 12
- No Open Graph tags detected
- No Twitter Card tags detected

INSTRUCTIONS:
1. Generate a complete meta description (150-160 chars) based on
   the page content context above
2. Generate JSON-LD for BreadcrumbList, FAQ, and Speakable schema
3. Provide the HTML for a proper H1 tag
4. Generate Open Graph and Twitter Card meta tags
5. List the 4 images needing alt attributes with suggested alt text

The actual prompt is longer and more detailed than this. It includes every dimension the analyzer checks. SEO, GEO, AEO, schema, performance, accessibility, security, and content quality. Every failed check becomes a specific instruction.

The Step-by-Step Workflow

The process takes about three minutes:

Step 1: Run the analysis. Go to the Site Analyzer, enter your URL, and click Analyze. Wait for the results to load.

Step 2: Review the results. Scan the scores across all 8 dimensions. Click into any dimension to see which individual checks passed or failed. This gives you context for what the AI will be fixing.

Step 3: Click "Copy AI Fix Prompt." The button is near the top of the results section. One click copies everything to your clipboard.

Step 4: Paste into your LLM. Open ChatGPT, Claude, or whichever AI tool you prefer. Paste the prompt. Hit enter.

Step 5: Get your code. The LLM returns specific, ready-to-use code blocks. JSON-LD for schema markup. HTML meta tags. Heading structure changes. Alt text suggestions. Copy each block and paste it into your site.

That is it. You went from "I know what is broken" to "I have the exact code to fix it" without writing a single line yourself.

Tips for Getting Better Results

Use Claude or GPT-4 class models. The prompt is detailed enough that smaller models sometimes truncate their responses or skip items. Use the best model you have access to.

Ask follow-up questions. If the LLM generates FAQ schema but you are not sure where to place it in your HTML, ask. The context from the prompt carries forward in the conversation.

Request explanations. Add "explain each fix and why it matters" to the end of the prompt if you want to learn, not just copy-paste. Understanding what each fix does makes you faster at catching issues before the next audit.

Run the analyzer again after implementing fixes. Paste your URL back into the analyzer to verify your scores improved. The AI fix prompt is generated from real-time audit data, so a second run confirms the fixes landed correctly.

Combine with the Batch Analyzer. If you used the Batch Analyzer to compare yourself against competitors, generate AI fix prompts for your site's weakest dimensions. The batch comparison post walks through that workflow.

The Fix Wizard: When You Do Not Need AI

Not every fix requires an LLM. The analyzer also includes a built-in Fix Wizard that covers the 23 most common issues with inline, copy-paste code snippets. Missing a canonical tag? The wizard shows you the exact HTML line to add and where it goes. No Open Graph image? The wizard gives you the meta tag with a placeholder for your image URL.

The Fix Wizard handles the straightforward fixes. The AI Fix Prompt handles the complex, multi-step fixes where context matters. Like generating FAQ schema from your actual page content or writing meta descriptions that reflect what your page is really about.

The Pattern Behind This

If you have read The $97 Launch, you will recognize this approach. Chapter 41 covers the "Master AI Prompt" pattern. The idea that a well-structured, context-rich prompt turns a generic AI into a specialized tool. The AI Fix Prompt generator is that pattern applied to site auditing. Instead of crafting the prompt yourself, the analyzer builds it from real data.

The auditing methodology itself comes from The $20 Agency, specifically Chapter 27 on SEO auditing workflows. The book covers how to audit manually, how to prioritize fixes by impact, and how to build recurring audit schedules. The AI Fix Prompt automates the "how to fix it" step so you can focus on strategy.

Try It Now

Go to the Site Analyzer, enter any URL, and run the analysis. Click "Copy AI Fix Prompt," paste it into your preferred LLM, and see what comes back. Most people are surprised by how specific and actionable the results are. The fixes are not generic SEO advice. They are exact code blocks tailored to your site's actual issues.

If your site has problems, you now have a way to fix them without hiring a developer or learning to code. The analyzer finds the issues. The AI writes the fixes. You paste them in.

← Back to Blog

Accessibility Options

Text Size
High Contrast
Reduce Motion
Reading Guide
Link Highlighting
Accessibility Statement

J.A. Watte is committed to ensuring digital accessibility for people with disabilities. This site conforms to WCAG 2.1 and 2.2 Level AA guidelines.

Measures Taken

  • Semantic HTML with proper heading hierarchy
  • ARIA labels and roles for interactive components
  • Color contrast ratios meeting WCAG AA (4.5:1)
  • Full keyboard navigation support
  • Skip navigation link
  • Visible focus indicators (3:1 contrast)
  • 44px minimum touch/click targets
  • Dark/light theme with system preference detection
  • Responsive design for all devices
  • Reduced motion support (CSS + toggle)
  • Text size customization (14px–20px)
  • Print stylesheet

Feedback

Contact: jwatte.com/contact

Full Accessibility StatementPrivacy Policy

Last updated: April 2026