An AI agent should attempt to run cli commands on behalf of the user when they are needed.
Before running any command as a terminal command, the AI agent should check if there is a relevant MCP (Machine Command Protocol) command available in the project. If there is, it should use that instead of running a terminal command directly.
Check type safety using the npm run typecheck
task instead of tsc
directly.
The database schema can be found in schema.ts.
For timestamp
and date
column types use { mode: "date" }
to give the column the Date
type.