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:
parent
0cccaf6e5a
commit
bb37a57c79
|
|
@ -11,6 +11,13 @@ The project consists of:
|
||||||
- `desktop/` – Electron wrapper application
|
- `desktop/` – Electron wrapper application
|
||||||
- `docs/` – Documentation website
|
- `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
|
## Plans and Worktrees
|
||||||
|
|
||||||
When the user asks you to create a plan to fix or implement something:
|
When the user asks you to create a plan to fix or implement something:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue