From bb37a57c79a23472488c5be44866acf25c04dd26 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 23 Apr 2026 12:48:36 +0200 Subject: [PATCH] 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. --- AGENTS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index b370ecba2..90d6ed7be 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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: