| name | fetch-post-manifest |
| description | Read the canonical list of posts from the claudecodeformarketers.com repo, normalize frontmatter, flag missing fields. Source of truth every other skill joins against. Run first in the weekly pipeline. |
fetch-post-manifest
Reads the Astro content collection at src/content/blog/ in the site repo, parses frontmatter from every .md / .mdx file, and writes a normalized posts.json to the snapshot store at reports/{week}/posts.json.
When to invoke
Run this skill first in the weekly pipeline. Every other fetcher and analyzer joins against posts.json by slug or url.
How to invoke
python .claude/skills/fetch-post-manifest/scripts/fetch.py [--week 2026-W18]
Defaults to the current ISO week if --week is omitted.
Inputs
SITE_URL — base URL of the site (e.g. https://claudecodeformarketers.com)
SITE_REPO_LOCAL — local checkout path of the site repo (used in dev)
SITE_REPO + GITHUB_TOKEN — used in the Routine to clone fresh
CONTENT_PATH — relative path to the content collection (default src/content/blog)
Output
Writes reports/{week}/posts.json with the schema below. Posts missing target_keyword or description are flagged in manifest_issues but not excluded — analyzers decide what to do with them.