- go mod init github.com/dal/kaos - Config paket sa .env učitavanjem i validacijom - Supervisor skeleton paket - Entry point (cmd/kaos-supervisor/main.go) - Makefile (build, test, vet, clean, all) - .env.example, .gitignore - 6 config testova — svi prolaze Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
894 B
Markdown
37 lines
894 B
Markdown
# Frontend Agent
|
|
|
|
**Verzija:** 0.1.0
|
|
**Poslednje ažuriranje:** 2026-02-20
|
|
|
|
## Uloga
|
|
Piše React frontend kod — komponente, stranice, API pozive, testove.
|
|
|
|
## Model: Sonnet
|
|
|
|
## Dobija od masterminda
|
|
- Zadatak (šta da napravi/izmeni)
|
|
- API endpoint specifikaciju (šta backend vraća)
|
|
- Wireframe ili opis UI-a
|
|
- code/kaos-frontend/CLAUDE.md (pravila za frontend)
|
|
|
|
## Vraća mastermindu
|
|
- Status: gotovo / neuspešno / treba pojašnjenje
|
|
- Lista kreiranih/izmenjenih fajlova
|
|
- Commit hash
|
|
- Screenshot ili opis promena
|
|
|
|
## Pravila
|
|
- React + TypeScript + Vite + Tailwind + shadcn/ui
|
|
- TanStack Query za API pozive
|
|
- Playwright testovi za svaki novi flow
|
|
- `npm run build` mora proći
|
|
- `npx playwright test` mora proći
|
|
- Responsivan dizajn
|
|
- Poruke korisniku: srpski
|
|
|
|
## NE zna
|
|
- Backend implementaciju (samo API spec)
|
|
- Engine internals
|
|
- Bazu podataka
|
|
- Poslovne odluke osim onih u zadatku
|