Agent Instructions

July 15, 2026 ยท View on GitHub

Before building new features, consult the project catalog. After building, update it.

Documentation Map

DocPurpose
docs/architecture.mdSystem design, layers, data flow
docs/features-backend.mdBackend modules and API routes
docs/features-frontend.mdAdmin/user UI features and API services
docs/shared-infrastructure.mdCheck first โ€” reusable base classes, services, and "do not duplicate" list
docs/testing.mdBackend test pyramid, conventions, templates, and run instructions

Workflow

1. Before building

  1. Read docs/shared-infrastructure.md.
  2. Read the relevant feature doc (backend or frontend).
  3. Search for an existing capability before creating modules, services, utils, or admin feature areas.
  4. Extend existing systems (e.g. new TaskTypeEnum, new query on ShapeableQuery) rather than parallel implementations.

2. When implementing

Follow domain Cursor rules for how to build:

3. After building (required)

Update documentation in the same session/PR:

Change typeUpdate
New backend module or endpointdocs/features-backend.md
New admin-ui feature or API servicedocs/features-frontend.md
New reusable base class, util, or infradocs/shared-infrastructure.md
Architectural change (new app, new integration)docs/architecture.md

Bump the Last updated date in each file you edit.

Checklists

New backend entity

New admin-ui CRUD feature

New shared utility