From 860a841a789b204d68a9405f5f15d784d2eb3e9d Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 2 Jul 2026 08:05:30 +0200 Subject: [PATCH 1/2] Add AGENTS.md --- AGENTS.md | 426 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 426 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..9a512727e --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,426 @@ +# EuroPython 2026 Website — Agent Context + +> **Ask if unsure. Suggest improvements. Never introduce random colors or fonts.** + +The official **EuroPython 2026** conference website (`ep2026.europython.eu`), built with **Astro 6** + **pnpm** + **Tailwind CSS v4** + **Svelte 5**. + +**Worktree**: `/home/user/workspace/EuroPython/ep2026-ai` — branch `ep2026-ai`, forked from the main repo at `/home/user/workspace/EuroPython/website/`. + +--- + +## Quick Start + +```bash +make install # install deps (pnpm 9.3) +make dev # dev server → http://localhost:4321 +make build # full build + type-check + pagefind +pnpm format # Prettier (prettier-plugin-astro) +pnpm astro check # TypeScript validation only +``` + +--- + +## 🚨 DO / DON'T + +### DO ✅ + +**Content & pages** +- **DO** create new pages as `.md` files — MDX is deprecated, migrate existing `.mdx` when touched +- **DO** create pages as either `src/content/pages/page-name.md` or `src/content/pages/page-name/index.md` +- **DO** prefix hidden/internal pages with underscore: `_draft.md`, `_private-section/` + +**Architecture** +- **DO** split Astro pages into **page → sections → components** (see "Page Architecture" below) +- **DO** keep pages thin — they should only set layout, fetch data, and compose sections +- **DO** create page-block components in `src/components/sections/` +- **DO** create reusable UI primitives in `src/components/ui/` + +**Styling** +- **DO** use Tailwind utility classes from the existing `@theme` tokens in `src/styles/tailwind.css` +- **DO** use `