What the agent does
Structured data tells search engines and AI systems what each page of the production site is about in a form they do not have to guess at. Add correct JSON-LD for every page type from shared helpers, built from the same data the page renders, so it always matches what visitors see.
1. Inventory page types and existing markup
List each page type (home, pricing, product or feature, blog post, docs, about, profile) and any JSON-LD already present. Note markup that is wrong: types that do not fit, fields that do not match the page, or ratings that are not from real reviews.
2. Site-wide entities
On the homepage (or in the root layout), a
@graphwith anOrganization(name, url, logo,sameAswith official profiles only) and aWebSite(name, url, and aSearchActiononly if the site has a working search URL). Give them stable@ids likehttps://site/#organizationso other pages can reference them.3. Per page type
- Product or app pages:
SoftwareApplication(orProductfor physical goods) with name, description,applicationCategory,operatingSystem, andofferswith real prices. AddaggregateRatingonly if it comes from real, visible reviews. - Blog posts and guides:
BlogPostingorArticlewith headline,datePublished,dateModified, anauthorthat is a realPerson, andpublisherpointing at the Organization@id. - Every page below the top level:
BreadcrumbListmatching the visible breadcrumb. - Pages with a visible FAQ:
FAQPagewith the same questions and answers. - Profile or team pages:
PersonorProfilePage.
- Product or app pages:
4. Build it from data, safely
Generate JSON-LD in one helper per type, from the page's data. Escape it safely when inlining (a
</script>inside a string must not break out). One<script type="application/ld+json">per page with a@graphis cleaner than many.
Done means
- Organization and WebSite markup exist once, with stable @ids.
- Every page type has the right JSON-LD type, built from its own data.
- Every value in the markup is visible on the page; no invented ratings or reviews.
- The markup is generated by shared helpers and escaped safely.
- Each page type validates without errors.
Questions
Which schema type should a SaaS product use?
SoftwareApplication, with applicationCategory, operatingSystem ("Web" for a web app) and offers. Product is meant for physical goods.
Can I add star ratings to get stars in search?
Only from real reviews that are shown on the page. Self-serving or invented ratings break Google's rules and can earn a manual action.
Is JSON-LD better than microdata?
Google accepts both but recommends JSON-LD, and it is much easier to keep in one helper and in sync with your data.
Does this prompt add links to Aback Launch to my site?
No. Nothing in the prompt mentions Aback Launch or asks your agent to link to us. The only exception is an optional badge step, which stays off unless you tick it. Some prompt libraries slip their own link into your codebase by default; we think that should always be your choice.
Which coding agents does it work with?
Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and any agent that can read your project and edit files. You can copy it as a plain prompt, save it as a Claude Code skill or a Cursor rule, or add it to AGENTS.md.
Is it safe to run on my real codebase?
The prompt makes the agent read first, show a plan and wait for your approval, and it forbids touching secrets, deploying and deleting data. Still review the changes and run your tests before you deploy, as with any change.
Changelog
- v1.0First version.