AGENTS.md — src/pages/ (routes & endpoints)

Before designing or restyling any page here, load and follow the vayce-design skill (skills/vayce-design/SKILL.md) — pages assemble the workbench surfaces and must stay coherent. Don’t write tool or article content in pages (it lives in src/content/, governed by vayce-writing-style); pages only render it.

File-based routes and a few dynamic endpoints. Pages compose src/layouts/Layout.astro, src/components/, and content collections — they should contain layout/wiring, not hardcoded copy.

Map

pages/
├── index.astro                      # Homepage (FEATURED_APPS lives here)
├── tools/
│   ├── index.astro                  # Tools directory
│   ├── categories/[slug].astro      # Per-category listing
│   ├── [slug]/index.astro           # A tool page (non-variant entries)
│   ├── [slug]/[entry].astro         # A tool variant page
│   ├── [slug]/tool.webmanifest.ts   # Per-tool PWA manifest (dynamic)
│   └── [slug]/sw.js.ts              # Per-tool service worker (dynamic)
├── workflows/
│   ├── index.astro                  # Workflows hub (hand-designed section per workflow)
│   └── [slug]/index.astro           # A workflow page (workflows collection)
├── blog/
│   ├── index.astro / all.astro      # Blog index
│   ├── [...slug].astro              # A post or guide part (nested slugs)
│   └── topics/index.astro, [slug].astro
├── policies/index.astro, [slug].astro
├── llms.txt.ts / llms-full.txt.ts   # AI-readable indexes of tools + posts
└── robots.txt.ts                    # robots.txt (also advertises sitemap + llms)

How routing works (don’t recreate page files for content)

When you do touch pages