google-search-console
When the user wants to analyze Google Search Console data, use the GSC API, or interpret search performance. Also use when the user mentions "GSC," "Search…
When the user wants to create, audit, or optimize sitemap.xml. Also use when the user mentions "sitemap," "sitemap.xml," "sitemap index," "lastmod," "changefreq," "priority," "URL discovery," "URL discovery for search engines," "single source of truth," "URL config," "unify
$ npx -y skills add kostja94/marketing-skills --skill sitemap --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sitemapContext preview
The summary Claude sees to decide when to auto-load this skill.
When the user wants to create, audit, or optimize sitemap.xml. Also use when the user mentions "sitemap," "sitemap.xml," "sitemap index," "lastmod," "changefreq," "priority," "URL discovery," "URL discovery for search engines," "single source of truth," "URL config," "unify
name: xml-sitemap description: When the user wants to create, audit, or optimize sitemap.xml. Also use when the user mentions "sitemap," "sitemap.xml," "sitemap index," "lastmod," "changefreq," "priority," "URL discovery," "URL discovery for search engines," "single source of truth," "URL config," "unify sitemap IndexNow," or "reduce duplicate maintenance." For IndexNow, use indexnow. metadata: version: 1.1.0
Guides sitemap creation, auditing, and optimization for search engine discovery.
**When invoking**: On **first use**, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output.
Generate an XML Sitemap that complies with the sitemaps.org protocol from the project's page list, and declare it in robots.txt.
**Check for project context first:** If `.claude/project-context.md` or `.cursor/project-context.md` exists, read it for site URL and page structure.
Identify: 1. **Site URL**: Base domain (e.g., `https://example.com`) 2. **URL count**: Total indexable pages (single sitemap vs. sitemap index) 3. **Data source**: Static config, CMS, file system, or hybrid
Before generating, assess whether a sitemap is warranted. A sitemap is most valuable when:
Small sites (< 50 pages) with strong internal linking may not strictly need one, but creating a sitemap has near-zero cost and provides future-proof infrastructure. If in doubt, err on the side of creating.
| Item | Spec | |------|------| | Single sitemap limit | 50,000 URLs, 50MB (uncompressed) | | Sitemap index | When exceeding limit, split and have main index reference sub-sitemaps | | Encoding | UTF-8 | | URL format | Full URL, same host, include `https://` | | Required tags | `<loc>` | | Optional tags | `<lastmod>`, `<changefreq>`, `<priority>` |
| Field | Description | Recommendation | |-------|--------------|---------------| | url | Full URL | `https://example.com/path` | | lastModified | Page last modified time | Use page metadata, ISO 8601; use `YYYY-MM-DD` or omit when no data | | changeFrequency | Update frequency | Home `daily`, list pages `weekly`, content pages `monthly` | | priority | Relative importance | Home 1.0, aggregate pages 0.9, content pages 0.7–0.8, others 0.5–0.6 |
For multilingual sites, add `xhtml:link` hreflang alternates inside each `<url>` entry. **Recommended for large sites** (100+ multilingual pages); centralizes hreflang management.
**Rules**:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://example.com/page</loc>
<xhtml:link rel="alternate" hreflang="en" href="https://example.com/page" />
<xhtml:link rel="alternate" hreflang="zh" href="https://example.com/zh/page" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://example.com/page" />
</url>
</urlset>List all language sitemaps in sitemap index; include in robots.txt.
| Tech Stack | Implementation | |------------|-----------------| | Next.js App Router | `app/sitemap.ts` export `MetadataRoute.Sitemap` or `generateSitemaps` | | Next.js Pages Router | `pages/sitemap.xml.ts` or `getServerSideProps` return XML | | Astro | `src/pages/sitemap-index.xml.ts` or `@astrojs/sitemap` | | Vite / Static build | Build script generates `public/sitemap.xml` | | Other | Generate static `/sitemap.xml` or return dynamically via API |
Markdown skill library for AI agents - SEO, content, pages, paid ads, channels, strategies. Add project context + skills; your agent delivers tailored, production-ready output. Works with Cursor, Claude Code, OpenClaw, Lovable, and any AI that reads markdown.
Repo: kostja94/marketing-skills
When the user wants to analyze Google Search Console data, use the GSC API, or interpret search performance. Also use when the user mentions "GSC," "Search…
When the user wants to build an SEO data analysis system, monitor indexing/traffic/keywords/backlinks, or set up benchmarks. Also use when the user mentions…
When the user wants to track AI search traffic in GA4 or GSC. Also use when the user mentions "AI traffic," "ChatGPT referral," "Perplexity traffic," "AI…
When the user wants to analyze website traffic sources, attribution, or dark traffic. Also use when the user mentions "traffic sources," "dark traffic,"…
When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions). Also use when the user mentions "Google Analytics," "GA4,"…
When the user wants to promote via forums, communities, or invite users to join a community. Also use when the user mentions "forum promotion," "Indie Hacker,"…