This is the source for agentsmd.space — a static directory of AGENTS.md and CLAUDE.md files. Next.js 15 App Router, TypeScript strict, Tailwind. No backend, no database.
pnpm dev— http://localhost:3000pnpm buildpnpm typecheckpnpm lint
Run pnpm typecheck and pnpm build before considering work done.
- TypeScript strict. No
any. - Server Components by default.
"use client"only when needed. - Tailwind only. Use
cn()fromsrc/lib/utils.tsfor class merging. - Filenames: PascalCase for components, kebab-case for utilities.
- Content lives in
content/agents/*.mdandcontent/claude/*.md. Each file has YAML frontmatter (see any existing file for the schema). - New files are picked up at build time via
src/lib/content.ts. No registry to update. - Animations use
transformandopacityonly — keep them hardware-accelerated. - Accent colors are semantic: emerald for
AGENTS.md, amber forCLAUDE.md. Don't mix. - Mono font is reserved for filenames, type badges, and code.
- If adding a new content file, just drop it in
content/agents/orcontent/claude/— nothing else to wire up. - If touching UI, check
src/components/for an existing primitive first. - If changing the design, keep it asymmetric — left-aligned hero, bento grids, monospace accents. No centered hero. No purple gradients.
- No backend. No database. No auth. No analytics.
- No new state libraries (URL state or local
useStateonly). - No images of people. No stock photography.
- Don't commit
.next/,.vercel/, or anything from.gitignore.