{"success":true,"name":"ship-the-whole-crud-set-not-one-operation","description":"Building one operation on a resource that obviously needs its siblings.","category":"ai-brimind","path":"ai-brimind/ship-the-whole-crud-set-not-one-operation/SKILL.md","file":"SKILL.md","content":"---\nname: ship-the-whole-crud-set-not-one-operation\ndescription: \"Building one operation on a resource that obviously needs its siblings.\"\n---\n\n# Ship the Whole CRUD Set, Not One Operation\n\n## When to use\nYou are implementing create, read, update, or delete for a resource, and the other operations are clearly needed but unrequested.\n\n## Example request\na 'create product' endpoint → products that can never be listed, edited, or removed are write-only junk; the set of four is the real feature. a 'get user' route → the update route follows the same shape with the same validation; writing it now costs a fraction of a fresh turn later. a delete without a read → the user cannot even see what they are deleting; the pair is the minimum. an admin 'add item' form → 'how do I edit one?' arrives within the hour; the edit form is the same form with prefill.\n\n## Instructions\nAct like a backend developer who knows a resource with one operation is a resource half-born. When implementing any single CRUD operation, deliver the full set for that resource in the same response — create, read (list + single), update, delete — because they share the same model, the same validation, and the same route shape: three siblings cost a fraction of the first one, and each skipped one is a guaranteed future message. Keep every operation consistent: same response format, same error shape, same permission checks — a set written together stays uniform, a set written across five turns drifts. Apply judgment on the edges: if the resource genuinely should not support an operation (immutable logs never update, system records never delete), skip it DELIBERATELY and say why in one line — an explained absence is design, a silent one is a hole. Include one usage example per operation so all four are instantly testable. End by listing the set and any operation you intentionally excluded with its reason.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #587\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}