Skip to content

SEO Phase 1: Technical Foundation - #5

Closed
mostlyerror wants to merge 4 commits into
mainfrom
seo-phase-1-technical-foundation
Closed

mostlyerror wants to merge 4 commits into
mainfrom
seo-phase-1-technical-foundation

Conversation

@mostlyerror

@mostlyerror mostlyerror commented Jan 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • ✅ Added auto-generated sitemap.xml (via app/sitemap.ts) for search engine crawling
  • ✅ Added auto-generated robots.txt (via app/robots.ts) with sitemap reference
  • ✅ Added Open Graph and Twitter Card meta tags to all pages for better social media sharing
  • ✅ Added RAG chatbot section to AI for Business page (targets "RAG chatbot" keywords)
  • ✅ Removed "coming soon" blog posts from blog page for cleaner UX
  • ✅ Added Analytics component to layout (was imported but not rendered)

SEO Impact

  • Search Discovery: Search engines can now efficiently crawl all pages via sitemap
  • Social Sharing: Better preview cards on Twitter, LinkedIn, Facebook with Open Graph tags
  • Content Quality: Cleaner blog page without placeholder posts
  • Keyword Targeting: New RAG chatbot content (~400/mo searches, low competition)

Test Plan

  • Verify build generates sitemap.xml and robots.txt (tested locally)
  • Check sitemap contains all 3 pages (/, /ai-for-business, /blog)
  • Verify robots.txt references sitemap correctly
  • After deployment: Visit https://goodrobotco.com/sitemap.xml
  • After deployment: Visit https://goodrobotco.com/robots.txt
  • Test social sharing preview at https://www.opengraph.xyz/
  • Verify blog page no longer shows "coming soon" posts
  • Verify AI for Business page has RAG chatbot section
  • Check Open Graph tags in browser dev tools (<head> section)
  • Submit sitemap to Google Search Console after merge

🤖 Generated with Claude Code

Add critical SEO infrastructure to improve search engine discoverability
and social media sharing.

Changes:
- Add auto-generated sitemap.xml via app/sitemap.ts
- Add auto-generated robots.txt via app/robots.ts
- Add Open Graph and Twitter Card meta tags to all pages
- Add RAG chatbot section to AI for Business page
- Remove "coming soon" blog posts from blog page
- Add Analytics component to layout

SEO improvements:
- Search engines can now discover all pages via sitemap
- Better social media sharing previews with Open Graph tags
- Cleaner blog page (no placeholder content)
- New RAG chatbot content targeting "RAG chatbot" keywords

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jan 10, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
goodrobotco.com Ready Ready Preview, Comment Jan 10, 2026 8:14pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements foundational SEO improvements by adding essential metadata and content for better search engine discoverability and social media sharing. The changes enable search engines to efficiently crawl the site and improve preview cards on social platforms.

Changes:

  • Added auto-generated sitemap.xml and robots.txt files using Next.js metadata route handlers
  • Implemented Open Graph and Twitter Card metadata across all pages for enhanced social sharing
  • Added comprehensive RAG chatbot content section to the AI for Business page
  • Removed placeholder "coming soon" blog posts for cleaner UX
  • Enabled Analytics component rendering in the root layout

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
app/sitemap.ts New file generating sitemap.xml with all three main pages (home, AI for Business, blog)
app/robots.ts New file generating robots.txt allowing all crawlers and referencing the sitemap
app/layout.tsx Added Open Graph and Twitter Card metadata to root layout, enabled Analytics component
app/blog/page.tsx Added page-specific Open Graph/Twitter metadata, removed four placeholder blog post cards
app/ai-for-business/page.tsx Added page-specific Open Graph/Twitter metadata, added detailed RAG chatbot section with use cases

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/sitemap.ts
Comment thread app/sitemap.ts
Comment on lines +3 to +21
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://goodrobotco.com'

return [
{
url: baseUrl,
lastModified: new Date(),
changeFrequency: 'monthly',
priority: 1,
},
{
url: `${baseUrl}/ai-for-business`,
lastModified: new Date(),
changeFrequency: 'monthly',
priority: 0.8,
},
{
url: `${baseUrl}/blog`,
lastModified: new Date(),

Copilot AI Jan 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using new Date() for lastModified will generate a different timestamp on every build, which can cause unnecessary cache invalidation and version control noise. Consider using a static date string (e.g., '2024-01-15') or removing the lastModified field entirely if you don't have a mechanism to track actual modification dates.

Suggested change
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://goodrobotco.com'
return [
{
url: baseUrl,
lastModified: new Date(),
changeFrequency: 'monthly',
priority: 1,
},
{
url: `${baseUrl}/ai-for-business`,
lastModified: new Date(),
changeFrequency: 'monthly',
priority: 0.8,
},
{
url: `${baseUrl}/blog`,
lastModified: new Date(),
const lastModified = '2024-01-15'
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = 'https://goodrobotco.com'
return [
{
url: baseUrl,
lastModified,
changeFrequency: 'monthly',
priority: 1,
},
{
url: `${baseUrl}/ai-for-business`,
lastModified,
changeFrequency: 'monthly',
priority: 0.8,
},
{
url: `${baseUrl}/blog`,
lastModified,

Copilot uses AI. Check for mistakes.
Comment thread app/sitemap.ts
Comment thread app/layout.tsx
Comment thread app/blog/page.tsx
Comment thread app/ai-for-business/page.tsx

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown

@mostlyerror I've opened a new pull request, #6, to work on those changes. Once the pull request is ready, I'll request review from you.

Add images field to all Open Graph and Twitter Card metadata configurations
to improve social media sharing previews. References /og-image.png which
needs to be created (see public/OG-IMAGE-TODO.md for specs).

Changes:
- Add OG image metadata to app/layout.tsx (homepage)
- Add OG image metadata to app/ai-for-business/page.tsx
- Add OG image metadata to app/blog/page.tsx
- Add public/OG-IMAGE-TODO.md with image creation instructions

All pages now reference /og-image.png (1200x630) for social sharing.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Created a professional Open Graph image for social media sharing:
- SVG file with Good Robot Co. branding (1200x630)
- Includes company name, tagline, and robot icon
- Uses brand colors (coral, sage, cream)
- Added preview HTML file for easy viewing and conversion

To convert to PNG:
1. Open public/og-image-preview.html in browser
2. Right-click image and save as PNG, OR
3. Use online converter, OR
4. Install ImageMagick: brew install imagemagick
   Then: magick public/og-image.svg public/og-image.png

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Complete OG image implementation with 1200x630 PNG file.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
mostlyerror added a commit that referenced this pull request Jan 10, 2026
Implement critical SEO infrastructure to improve search engine discoverability
and social media sharing.

Changes:
- Add auto-generated sitemap.xml via app/sitemap.ts
- Add auto-generated robots.txt via app/robots.ts
- Add Open Graph and Twitter Card meta tags to all pages
- Add OG image (1200x630 PNG) for social sharing previews
- Add RAG chatbot section to AI for Business page
- Remove "coming soon" blog posts from blog page
- Add Analytics component to layout

SEO improvements:
- Search engines can now discover all pages via sitemap
- Better social media sharing previews with Open Graph tags
- Cleaner blog page (no placeholder content)
- New RAG chatbot content targeting "RAG chatbot" keywords

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@mostlyerror
mostlyerror deleted the seo-phase-1-technical-foundation branch January 10, 2026 20:15

This branch was successfully deployed

1 active deployment
Preview — ec700adf Deployed Jan 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants