File contents CRUD Skill
Auto-generates CRUD functionality for specified entities (tables) at production-ready level .
Quick Reference
"Create CRUD for task management " → /crud tasks
"Want search and pagination too " → Includes all together
"Include permissions (who can view/edit) " → Sets up authorization/rules together
Deliverables
CRUD + validation + authorization + tests, complete production-safe set
Minimize diff to match existing DB/code
Features :
Validation (Zod) auto-add
Auth/authorization (Row Level Security) auto-config
Relations (one-to-many, many-to-many) support
Pagination, search, filters
Auto-generated test cases
Auto-invoke Skills
This skill must explicitly invoke the following skills with the Skill tool :
Skill
Purpose
When to Call
impl
Implementation (parent skill)
CRUD feature implementation
verify
Verification (parent skill)
Post-implementation verification
Execution Flow
Detailed steps are described in the phases below.
Phase 1: Entity Analysis
Parse entity name from $ARGUMENTS
Detect existing schema (Prisma, Drizzle, raw SQL)
Infer field types and relations
Phase 2: CRUD Generation
Generate model/schema if needed
Create API endpoints (REST or tRPC)
Add validation schemas (Zod)
Configure authorization rules
Phase 3: Test Generation
Create unit tests for each endpoint
Add integration tests
Generate test fixtures
Phase 4: Verification
Run type check
Run tests
Verify build
Supported Frameworks
Framework
Detection
Generated Files
Next.js + Prisma
prisma/schema.prisma
API routes, Prisma client
Next.js + Drizzle
drizzle.config.ts
API routes, Drizzle queries
Express
express in package.json
Controllers, routes
Hono
hono in package.json
Route handlers
Output Structure
src/
├── lib/
│ └── validations/
│ └── {entity}.ts # Zod schemas
├── app/api/{entity}/
│ ├── route.ts # GET (list), POST (create)
│ └── [id]/
│ └── route.ts # GET, PUT, DELETE
└── tests/
└── {entity}.test.ts # Test cases
Related Skills
impl - Feature implementation
verify - Build verification
auth - Authentication/authorization
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1 --- 2 name: chachamaru127-claude-code-harness-crud 3 description: CRUD Skill 4 --- 5 6 # CRUD Skill 7 8 Auto-generates CRUD functionality for specified entities (tables) at **production-ready level**. 9 10 ## Quick Reference 11 12 - "**Create CRUD for task management**" → `/crud tasks` 13 - "**Want search and pagination too**" → Includes all together 14 - "**Include permissions (who can view/edit)**" → Sets up authorization/rules together 15 16 ## Deliverables 17 18 - CRUD + validation + authorization + tests, **complete production-safe set** 19 - Minimize diff to match existing DB/code 20 21 **Features**: 22 - Validation (Zod) auto-add 23 - Auth/authorization (Row Level Security) auto-config 24 - Relations (one-to-many, many-to-many) support 25 - Pagination, search, filters 26 - Auto-generated test cases 27 28 --- 29 30 ## Auto-invoke Skills 31 32 **This skill must explicitly invoke the following skills with the Skill tool**: 33 34 | Skill | Purpose | When to Call | 35 |-------|---------|--------------| 36 | `impl` | Implementation (parent skill) | CRUD feature implementation | 37 | `verify` | Verification (parent skill) | Post-implementation verification | 38 39 --- 40 41 ## Execution Flow 42 43 Detailed steps are described in the phases below. 44 45 ### Phase 1: Entity Analysis 46 47 1. Parse entity name from $ARGUMENTS 48 2. Detect existing schema (Prisma, Drizzle, raw SQL) 49 3. Infer field types and relations 50 51 ### Phase 2: CRUD Generation 52 53 1. Generate model/schema if needed 54 2. Create API endpoints (REST or tRPC) 55 3. Add validation schemas (Zod) 56 4. Configure authorization rules 57 58 ### Phase 3: Test Generation 59 60 1. Create unit tests for each endpoint 61 2. Add integration tests 62 3. Generate test fixtures 63 64 ### Phase 4: Verification 65 66 1. Run type check 67 2. Run tests 68 3. Verify build 69 70 --- 71 72 ## Supported Frameworks 73 74 | Framework | Detection | Generated Files | 75 |-----------|-----------|-----------------| 76 | **Next.js + Prisma** | `prisma/schema.prisma` | API routes, Prisma client | 77 | **Next.js + Drizzle** | `drizzle.config.ts` | API routes, Drizzle queries | 78 | **Express** | `express` in package.json | Controllers, routes | 79 | **Hono** | `hono` in package.json | Route handlers | 80 81 --- 82 83 ## Output Structure 84 85 ``` 86 src/ 87 ├── lib/ 88 │ └── validations/ 89 │ └── {entity}.ts # Zod schemas 90 ├── app/api/{entity}/ 91 │ ├── route.ts # GET (list), POST (create) 92 │ └── [id]/ 93 │ └── route.ts # GET, PUT, DELETE 94 └── tests/ 95 └── {entity}.test.ts # Test cases 96 ``` 97 98 --- 99 100 ## Related Skills 101 102 - `impl` - Feature implementation 103 - `verify` - Build verification 104 - `auth` - Authentication/authorization 105 106 --- 107 > Converted and distributed by [TomeVault](https://tomevault.io/claim/chachamaru127) — claim your Tome and manage your conversions. 108 <!-- tomevault:4.0:skill_md:2026-04-11 -->
tomevault-io/skills-registry/tree/main/chachamaru127--claude-code-harness--crud commit 30ea8879b2
Frequently asked questions How do I install the Chachamaru127 Claude Code Harness Crud skill? Run npx skillmds@latest add tomevault-io/chachamaru127-claude-code-harness-crud in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Chachamaru127 Claude Code Harness Crud skill do? CRUD Skill It is listed under Coding & Dev Tools on SkillMD.
Is Chachamaru127 Claude Code Harness Crud safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Chachamaru127 Claude Code Harness Crud? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Chachamaru127 Claude Code Harness Crud free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Chachamaru127 Claude Code Harness Crud? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.