timothy191/arch-systems-portal/crud

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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

Install

npx vskill@latest install timothy191/arch-systems-portal/crud

SKILL.md

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

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/timothy191/arch-systems-portal/crud/badge)](https://verified-skill.com/skills/timothy191/arch-systems-portal/crud)

Something wrong with this skill or its page? Tell us.