What the agent does
On launch day, links to the production site will be shared on X, LinkedIn, Slack, Discord, Reddit and in messages. A link with no image or the wrong title gets far fewer clicks. Give every public page a correct share card, generated from the page's own title and description so new pages get one automatically.
1. Audit the current tags
Find where
og:andtwitter:tags are set. For the homepage, pricing, and one page of each dynamic type (a blog post, a product page, a profile), list what each tag would be. Flag pages that inherit the homepage's card by mistake: that is the most common bug.2. Set the full tag set from one place
Every public page needs, built from the page's own data in the shared metadata helper:
og:title,og:description,og:url(the canonical URL),og:type(website, orarticlefor posts),og:site_name,og:imagewithog:image:width,og:image:heightandog:image:alt;twitter:cardset tosummary_large_image, plustwitter:title,twitter:descriptionandtwitter:image(the same image), andtwitter:siteif there is an X account.
Use absolute URLs for images: many crawlers ignore relative ones.
3. An image for every page
Images should be 1200 x 630 pixels, under about 5 MB (smaller is better), PNG or JPEG, with the important text away from the edges. Static pages can use designed images; dynamic pages (posts, products) should get a generated image with the title on it, using the framework's image generation if it has one (for example
ImageResponsein Next.js) or a build step. Keep one good default for pages without their own.4. Check the crawlers can fetch it
Make sure image URLs return 200 with the right
Content-Typeand are not blocked by robots.txt, auth or bot protection, and that pages send the tags in the server HTML (share crawlers do not run JavaScript).
Done means
- Every public page has its own og:title, og:description, og:url and og:image with dimensions and alt text.
- Every page has a summary_large_image X card using the same image.
- Dynamic pages get a generated image with their own title.
- Image URLs are absolute, return 200 and are not blocked to crawlers.
Questions
Why does my old image still show after I fixed it?
Networks cache previews. LinkedIn's Post Inspector re-scrapes a URL on request; Slack and X refresh after a while. A changed image URL (a version in the file name) shows up fastest.
Is one image for the whole site enough?
It works, but a card that shows the page's own title gets more clicks and makes it obvious which page is being shared. The prompt keeps a default and adds per-page images where pages have their own data.
Do share cards help SEO?
Not directly as a ranking factor, but they decide how many people click a shared link, and shares on launch day are a large part of the traffic.
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.