page-views
Use when updating Cloudflare Web Analytics page-view data, src/_data/pageViews.json, or scripts/update-page-views.mjs.
SKILL.md.claude/skills/page-views/SKILL.md
GitHubPage Views
Files
scripts/update-page-views.mjssrc/_data/pageViews.json.github/workflows/update-page-views.yml
Rules
- Never print or commit secrets.
- Prefer
npm run views:update:drybefore writing data. - Generated page-view data should keep stable JSON formatting.
- Views are optional enhancement data; the site must build without fresh analytics credentials.
Checks
npm run views:update:drywhen credentials are available.npm run buildnpm run test:playwrightwhen notes sorting behavior changes.