Json-ld structured data: Free AI Prompt | SheCodes

Free AI prompt · The Launch Book

Json-ld structured data

A ready-to-use prompt from the chapter Programmatic SEO. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.

The prompt

“Add structured data (JSON-LD) to my programmatic pages. For each city guide, include schema.org Place and BreadcrumbList. This helps Google understand each page and show the page path in search results.”

How to use it

  1. Copy the prompt and paste it into your AI coding tool.
  2. Check the result in the preview, then ask for changes one at a time: "make the buttons bigger", "use my brand colours".
  3. Read the chapter to understand why it works and what to do next.

More prompts like this

All prompts

BUILD A pSEO TEMPLATE

“Build a programmatic SEO route in my Next.js app. Pattern: /[city]/coffee-guide. The page should: (1) accept a city slug as a param, (2) fetch coffee shop data for that city from my Supabase coffee_shops table, (3) render a long-form guide with a hero, intro paragraph, list of 10-15 shops with descriptions, FAQ, and a CTA. Use generateStaticParams to pre-render every city. Add unique meta tags, OG image, and JSON-LD structured data per city.”

Dynamic sitemap

“Update my sitemap so it automatically includes every one of my auto-generated pages. Look at my coffee shops data, get the list of cities, and add a /[city]/coffee-guide entry for each one. Use the date each city was last updated so Google knows when the page changed, and mark these pages as updated weekly.”

Comparison pages

“Build comparison pages for my app at /vs/[tool-a]/[tool-b]. For each pair, fetch both tools' data (name, pricing, features) from my Supabase tools table and render a side-by-side comparison table, pros and cons, verdict, and a CTA. Generate every possible pair from my 20 tools. That's 380 pages.”

Analytics per page

“Add page-level analytics tracking so I can see which programmatic pages are getting traffic. Use Vercel Analytics or PostHog. Tag each page with the city/topic so I can filter and find the winners worth doubling down on.”

Copy this mega-prompt:

“Set up comprehensive SEO for my website. For every page, add a unique title (under 60 characters) and description (under 160 characters) that include relevant keywords. Add social sharing previews so links look good when shared on social media, including a 1200×630 preview image. Make sure every image has descriptive alt text. Generate a sitemap that automatically updates when new pages are added. Make sure search engines can find all my public pages but are blocked from crawling my admin area and behind-the-scenes endpoints. Make sure all headings follow a logical order (one main heading per page, then sub-headings below it). Add structured data for [FAQ pages / blog posts / products, pick what applies to your site].”

Add seo to every page

“Add SEO to every page of my Next.js app. Include page titles, meta descriptions, Open Graph tags, and a sitemap. Make sure each page has a unique title under 60 characters.”