Developer Feature Workflow
Follow this workflow to keep changes predictable and reviewable.
Implementation order
Use this sequence:
- UI (
src/pages,src/components) with realistic mock or seeded data - Service (
src/services) for business logic - API (
src/pages/api) for transport - CLI (
src/cli) when operational access is needed - Seeder (
src/db) if new setup/test data is required
Typical feature loop
- Add/adjust tests for expected behavior.
- Implement minimal code to satisfy tests.
- Run local validation commands.
- Confirm related docs are updated.
- Open PR with clear scope and verification notes.
Required validations
bun run lint:fixbun run stylelint:fixbun run format:fixbun run typecheckbun run buildRun targeted tests for your affected area, then run broader suites if risk is high.
Documentation updates you should not skip
- Update docs content in
docs/sites/src/content/docs/for user-visible behavior changes. - Update command docs in
COMMANDS.mdwhen scripts change. - Update OpenAPI artifacts when API response/contract changes.
Use Reference: API Overview and Reference: CLI while implementing.