MightyMouse

Playbooks · Content site

Add sitemap, RSS and internal links

Ahrefs sells SEO software. This playbook works on your own code and does not ask you to buy anything.

Search engines find every post, and readers find the next one.

Content siteMarketingseositemapinternal links

Run it on my project

The number it moves

Pages that get search visits · Typical: 96.55% of all pages get zero visits from Google

Share of your published pages that received at least one visit from Google last month.

What your AI does

Check for a generated sitemap.xml, robots.txt and RSS feed (for example @astrojs/rss, next-sitemap). Find posts with zero inbound links from other posts. Propose generating the missing files and a related-posts block at the end of each article from shared tags.

Done when

  1. A sitemap, robots file and RSS feed are generated
  2. Every post is linked from at least one other post
  3. Each article ends with related posts

The prompt

Paste this into any AI coding tool, or run it in MightyMouse and your AI works on your own project.

Add sitemap, RSS and internal links (Content site)

Check for a generated sitemap.xml, robots.txt and RSS feed (for example @astrojs/rss, next-sitemap). Find posts with zero inbound links from other posts. Propose generating the missing files and a related-posts block at the end of each article from shared tags.

Done when:
- A sitemap, robots file and RSS feed are generated
- Every post is linked from at least one other post
- Each article ends with related posts

Read the code first. If it already does this well, change nothing and say so. Otherwise make the smallest change that makes every line above true.

Work with what this project already uses. Do not add a paid tool or service unless I ask for one.

Playbook: https://getmightymouse.com/playbooks/content-add-sitemap-rss-and-internal-links/ - published by MightyMouse. Source: Ahrefs, https://ahrefs.com/blog/search-traffic-study/

The skill file

Save this as SKILL.md and Claude Code or Cursor can run the playbook any time you ask.

---
name: content-add-sitemap-rss-and-internal-links
description: Search engines find every post, and readers find the next one. Use on a content site project to improve "Pages that get search visits".
---

# Add sitemap, RSS and internal links

Check for a generated sitemap.xml, robots.txt and RSS feed (for example @astrojs/rss, next-sitemap). Find posts with zero inbound links from other posts. Propose generating the missing files and a related-posts block at the end of each article from shared tags.

## Done when

- [ ] A sitemap, robots file and RSS feed are generated
- [ ] Every post is linked from at least one other post
- [ ] Each article ends with related posts

## How to run it

Read the code first and tick every line that is already true. If all are true, change nothing and say so. Otherwise make the smallest change that makes the rest true, then report each line as done or not done.

Work with what this project already uses. Do not add a paid tool or service unless I ask for one.

Playbook: https://getmightymouse.com/playbooks/content-add-sitemap-rss-and-internal-links/ - published by MightyMouse. Source: Ahrefs, https://ahrefs.com/blog/search-traffic-study/

More content site playbooks