bun install # Install deps + generate styled-system/ + route tree
bun run dev # Dev server on http://localhost:3000Requires Bun v1.3+.
Follow the component scaffold skill: read skills/component-scaffold/SKILL.md before creating new UI components. The pattern is: BaseUI primitive → Panda CSS cva() recipe → typed props → export from barrel.
bun run test # Unit tests (watch mode)
bun run test -- --run # Unit tests (single run)
bun run test:e2e # E2E tests (Playwright)
bun run typecheck # TypeScript checkNote: E2E coverage is still being expanded. Add E2E tests for new user-facing features before promoting to production.
Use conventional commits:
feat: add user profile page
fix: resolve modal focus trap on close
docs: update deployment guide
test: add ConfirmDialog error recovery test
- Create a feature branch from
main - Make your changes with tests
- Run
bun run typecheck && bun run test -- --runlocally - Open a PR — CI must pass (typecheck, unit tests, build, E2E)
- Get review and merge
Environment validation is handled by varlock via .env.schema. Add @required, @type, @sensitive decorators to define your schema. Varlock validates on load and fails fast with clear errors. Do not add manual validation wrappers around env access.