docs(agents): reference crudable and migration skills in AGENTS.md

Point agents to the skills up front so they are loaded before code is
written in the relevant areas. Patterns like permission placement and
migration error handling have been documented for 5+ months but still
recur in review; a path-aware skill prompt is a stronger trigger than
guidance buried further down the file.
This commit is contained in:
kolaente 2026-04-23 12:48:36 +02:00
parent 0cccaf6e5a
commit bb37a57c79
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ The project consists of:
- `desktop/` Electron wrapper application
- `docs/` Documentation website
## Skills
Before writing code in these areas, invoke the matching skill with the `Skill` tool. They are short checklists derived from recurring review feedback — loading them up front avoids rework.
- Adding or modifying a model in `pkg/models/` (new CRUD, new or changed `Can*` methods, anything touching permissions): invoke `crudable`.
- Creating or editing any file under `pkg/migration/`: invoke `migration`.
## Plans and Worktrees
When the user asks you to create a plan to fix or implement something: