crudable
OfficialImplement model CRUD with permissions safely.
Authorgo-vikunja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill prevents insecure or inconsistent CRUD implementations by ensuring model-level permission checks are implemented once and enforced reliably.
Core Features & Use Cases
- Model-level CRUD + permission methods: Add the required
CRUDableinterface and implementCanRead,CanCreate,CanUpdate, andCanDeleteon the model. - Centralized access control: Enforce permissions via
Can*methods rather than duplicating logic in route handlers. - Test coverage for access behavior: Provide positive and negative test cases, including inherited and shared access edge cases when supported.
- Operational checklist for reviews: Covers method placement, interface usage, call order expectations, and common anti-patterns to avoid.
Quick Start
Use the crudable skill to review or implement a new model in pkg/models/ by adding CRUD operations plus the full set of model-level Can* permission methods and ensuring both sides of permission tests are covered.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: crudable Download link: https://github.com/go-vikunja/vikunja/archive/main.zip#crudable Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.