Files
officinazuliani/CLAUDE.md
T
andrearuffiniandClaude Opus 5.5 ee18ef3e1f docs: record visual direction (02) and Astro stack
ADR 0002 picks proposal 02 "Bottega"; ADR 0003 picks Astro static,
hosting still open. Update runbooks, module map and CLAUDE.md commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:10:02 +01:00

59 lines
2.3 KiB
Markdown

# CLAUDE.md
## Project purpose
This repository contains the source code for the **Officina Zuliani website**.
Primary goal: a public website presenting Officina Zuliani (services, contacts, location).
Secondary goals: top local SEO and AI-answer visibility (GEO/AEO), fast pages on mobile.
Visual direction: proposal 02 "Bottega" (`docs/adr/0002-direzione-visiva-bottega.md`).
## Working model
This repository uses a repo-first agent workflow.
The repository is the source of truth.
Do not rely on chat memory as the authoritative project memory.
Before starting work:
1. Read `AGENTS.md`
2. Read relevant files in `docs/context/`
3. Read related ADRs in `docs/adr/`
4. Check the active Gitea issue and its acceptance criteria
5. Read the latest relevant file in `docs/handoffs/`
## Rules
- Do not start work without an issue or explicit user instruction
- Do not change unrelated files
- Prefer minimal, reversible changes
- Preserve existing architecture unless the issue explicitly asks for refactor
- Record durable architectural decisions in `docs/adr/`
- Record end-of-session handoff in `docs/handoffs/`
- If a task changes developer workflow, update `docs/runbooks/`
- If a task changes project structure, update `docs/context/module-map.md`
- Never commit `.env` or any secret (the Gitea repo is public)
## Quality gate
Before considering work complete:
- Run relevant tests
- Run lint/format checks where available
- Verify no accidental file changes are included
- Update docs if behavior or workflow changed
- Write a concise handoff
## Commands
Stack: Astro (static) — see `docs/adr/0003-stack-astro-statico.md`. Node.js required.
- Install: `npm install`
- Dev: `npm run dev` (http://localhost:4321)
- Build: `npm run build` (output in `dist/`)
- Preview build: `npm run preview`
- Test / Lint / Typecheck: not set up yet (`npm run check` needs `@astrojs/check`)
- Design proposals: `python3 -m http.server 4173 --directory design`
## Gitea
- Instance: https://git.a75.it — repo `andrearuffini/officinazuliani`
- API config lives in `.env` (`GITEA_API_URL`, `GITEA_TOKEN`, `GITEA_OWNER`, `GITEA_REPO`), git-ignored
- Labels and lifecycle: `coordination/labels.md`, `coordination/issue-lifecycle.md`
## Architecture notes
Keep this file concise. For details, link to:
- `docs/context/module-map.md`
- `docs/context/known-constraints.md`
- `docs/runbooks/*.md`