Frontend Development Guidelines
Read [Frontend Patterns](../.claude/docs/FRONTEND_PATTERNS.md) before changing `site/src/`. It is the canonical contract for FE1 through FE10.
## Frontend contract
- **FE1:** UI behavior changes should have behavior coverage
18k13d agoReviewMountCreate a free account to mount
base folders without approval.
- Do not change the application's dependencies without approval.
## Frontend Bundling
- If the user doesn't see a frontend change reflected in the UI, it could
Steady4 mentions in 2 weeks
No other project uses it yet
17k6mo agoReviewMountCreate a free account to mount
desktop map. Root `AGENTS.md` owns organization.
| Folder | Role |
|--------|------|
| `backend/` | API and workers (Python) |
| `frontend/` | Vite SPA |
| `sidecars/` | Boot, the sidecar specs, the supervisor and the watchers both entries run; imports
17k21d agoReviewMountCreate a free account to mount
vertical slice, one responsibility per file. See root `AGENTS.md`.
- React/Next, colors, UI polish, motion: `frontend-workflow` skill.
- shadcn components (`components.json`): `shadcn` skill after `frontend-workflow`, not instead of it — separate
Steady5 mentions in 2 weeks
No other project uses it yet
17k21d agoReviewMountCreate a free account to mount
partners embedding it in an
agent harness. Auto-Ontology **maintainers** (build, test, schema, frontend conventions)
stay on [`CLAUDE.md`](./CLAUDE.md). Do not fold those conventions into these
skills.
## Which skill
Steady5 mentions in 2 weeks
No other project uses it yet
17k2mo agoReviewMountCreate a free account to mount
database migrations
make makemigrations # Create new migrations
make resetdb # Flush DB + create superuser (admin/admin)
```
### Frontend (TypeScript/Next.js)
```bash
# From src/frontend/apps/impress/:
yarn dev # Development server (port 3000)
yarn build # Production build (includes
17k20d agoReviewMountCreate a free account to mount
Commit:** dcc42ae4 · **Branch:** next (qiankun 3.0, active dev)
Qiankun is a micro-frontend framework built on [single-spa](https://github.com/single-spa/single-spa). v3 rewrites the runtime around **streaming HTML-entry loading
17k4d agoReviewMountCreate a free account to mount
primarily consists of the Backend module BE (`be/`, execution and storage engine), the Frontend module FE (`fe/`, optimizer and transaction core), and the Cloud module (`cloud/`, storage-compute separation). Your
16k28d agoReviewMountCreate a free account to mount
Handling & Validation
- Use custom AppError class when throwing errors
- When catching errors on the frontend use `const error = AppError.parse(error)` to get the error code
- Use early returns and guard
Steady5 mentions in 2 weeks
No other project uses it yet
16k11mo agoReviewMountCreate a free account to mount
discovery, observability, and governance — a multi-module project with a Java backend, a React/TypeScript frontend, a Python
ingestion framework, and Docker infrastructure.
## Stack at a glance
- **Backend**: Java 21 + Dropwizard
Steady18 mentions in 2 weeks
No other project uses it yet
16k53d agoReviewMountCreate a free account to mount
pattern `{lang}_{analyzer}`, e.g., `direct_java_pulse_test`, `direct_cpp_pulse_test`, `direct_c_frontend_test`. These are defined in the `DIRECT_TESTS` variable in the root Makefile.
### Test structure
16k28d agoReviewMountCreate a free account to mount
Guidelines
## Project Structure & Module Organization
Apache Answer combines a Go backend with a React/TypeScript frontend. `cmd/answer` is the executable entry point; `internal/` contains controllers, services, repositories, schemas, and migrations. Shared
16k15mo agoReviewMountCreate a free account to mount
separate table for history/audit, but events are not the system of record.
- **Frontend**:
- **Console**: Angular + RxJS.
- **Login/Docs**: Next.js + React.
## ZITADEL Domain & Multi-Tenancy Logic
### 1. Hierarchy & Ownership
ZITADEL follows
16k8d agoReviewMountCreate a free account to mount