chore: adopt repo-first agent workflow
Add CLAUDE.md, AGENTS.md, docs (context, ADR, runbooks, handoffs), coordination docs and Gitea issue/PR templates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# 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: TBD (e.g. performance, SEO, easy content updates).
|
||||
|
||||
## 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 not chosen yet. Fill these in once it is (see `docs/runbooks/`):
|
||||
- Install: TBD
|
||||
- Dev: TBD
|
||||
- Test: TBD
|
||||
- Lint: TBD
|
||||
- Build: TBD
|
||||
- Typecheck: TBD
|
||||
|
||||
## 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`
|
||||
Reference in New Issue
Block a user