Imported from ashcochrane/ubb (
apps/ui/AGENTS.md). Install upstream withnpx skills add ashcochrane/ubb --skill ui. Copyright stays with the author.
AGENTS.md — UBB Tenant Console
Supplement to CLAUDE.md (which is current truth — read it first).
Before writing any code
- Read
CLAUDE.md— architecture, feature-module pattern, contract sharp edges, navigation model. - Read the relevant slice of
src/api/schema.json— the committed backend contract is the source of truth for every field, param, and status the UI touches. - Skim the feature's existing
api/sextet and page components before adding to them.
After writing code
pnpm test·npx tsc -b·pnpm lint·pnpm build— all four green.- Verify no cross-feature imports and no raw client calls from components.
- Mock (
api/mock.ts) stays signature-identical withapi/api.tsand contract-typed. - Update
PROGRESS.mdonly for genuine milestone changes.
Git
Standard monorepo flow: feature branch → draft PR. (The standalone-era "never commit" rule is
retired; see the monorepo root CLAUDE.md for repo-wide conventions.)