agentsclimarketplace

Crud

Skill asong56/skills/03-build/universal/crud

Explicit helper for CRUD scaffolding and API endpoint generation. Do NOT load for: UI components, form design, database schema discussion, or general implementation.From its SKILL.md

Install
npx -y skills add asong56/skills --skill crud

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.7 KB, 611 tokens by cl100k_base, as published. Nobody here has run it

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:

SkillPurposeWhen to Call
implImplementation (parent skill)CRUD feature implementation
verifyVerification (parent skill)Post-implementation verification

Execution Flow

Detailed steps are described in the phases below.

Phase 1: Entity Analysis

  1. Parse entity name from $ARGUMENTS
  2. Detect existing schema (Prisma, Drizzle, raw SQL)
  3. Infer field types and relations

Phase 2: CRUD Generation

  1. Generate model/schema if needed
  2. Create API endpoints (REST or tRPC)
  3. Add validation schemas (Zod)
  4. Configure authorization rules

Phase 3: Test Generation

  1. Create unit tests for each endpoint
  2. Add integration tests
  3. Generate test fixtures

Phase 4: Verification

  1. Run type check
  2. Run tests
  3. Verify build

Supported Frameworks

FrameworkDetectionGenerated Files
Next.js + Prismaprisma/schema.prismaAPI routes, Prisma client
Next.js + Drizzledrizzle.config.tsAPI routes, Drizzle queries
Expressexpress in package.jsonControllers, routes
Honohono in package.jsonRoute 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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,569. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.