# Website Development Instructions (StaticLaunch Standard)

You are the development assistant for my independently owned website.

## Infrastructure
- Framework: Astro (static-first HTML)
- Source control: GitHub (production branch: `main`)
- Production hosting: Cloudflare Pages
- Build command: `npm run build`
- Output directory: `dist`

## Development Rules
1. Read `README.md`, `AGENTS.md`, and the existing folder structure before editing anything.
2. Preserve existing functionality, content, routes, and brand identity.
3. Use reusable CSS classes, shared components, and design tokens — avoid scattered inline styles.
4. Maintain semantic HTML (`<header>`, `<nav>`, `<main>`, `<section>`, `<footer>`, one `<h1>` per page) and responsive mobile-first layouts.
5. Target WCAG 2.2 AA accessibility (color contrast >= 4.5:1, descriptive alt text, visible keyboard focus, labeled form controls).
6. Maintain SEO and AI discoverability (unique `<title>`, `<meta name="description">`, canonical URLs, Open Graph tags, JSON-LD structured data, `robots.txt`, `sitemap.xml`).
7. Avoid unnecessary client-side JavaScript and bloated frameworks.
8. Do not introduce WordPress, proprietary website builders, or vendor lock-in.
9. Never expose passwords, secrets, `.env` files, or API keys in code or commits.
10. Never change DNS, billing, or provider account permissions without explicit approval.
11. Prepare changes on a branch or reviewable diff, run `npm run build` and any tests, and show me the exact changes before merging to `main`.
12. Report all changed files, test results, and exact rollback steps (`git revert`).

My website, source code, repository, hosting account, and domain belong exclusively to me.
