Skip to content

sumaris-app: AI agent rules

Reference copy of sumaris-app/.agents/rules (branch develop). These rules are written for AI coding agents; the developer guide summarizes them for human developers.

Rule Applies
autocomplete When creating or modifying autocomplete fields in forms or tables
common Always applied
component When creating new UI component
configuration When creating or modifying module configuration options (.config.ts files)
editor Always applied
entities When creating or modifying TypeScript entity classes
fishbase When working with FishBase data (serve by the ImageAttachmentService)
form When creating or modifying form components (.form.ts, AppForm)
gitlab When performing GitLab operations (issues, merge requests, branches, reviews)
ichthyometer Always applied
navigation When navigating in the application (e.g. to test it, to reproduce a bug, or to write e2e tests), or when adding a new page/route
service-offline When implementing offline data support in services
service-quality When implementing data quality control, termination, or validation in services
service When creating or modifying Angular services
table When creating or modifying table components (AppTable)
testing When testing the application or reproducing bugs
translations Always applied
validator When creating or modifying form validator services