Quick CRUD entity design (simplified version of new-feature)
Quickly create simple CRUD entities with database schema, migrations, and API contracts. Use for lookup tables, reference data, or basic configuration entities.
/plugin marketplace add venturo-id/venturo-claude/plugin install venturo-planner@venturo-toolsYou will guide the user through creating a simple CRUD entity with ERD, DBML, PostgreSQL migration, and standard API contract.
This command uses an incremental 3-phase workflow for quick CRUD entity creation.
Ask the user these questions first:
product, category, tag)Present a complete plan and ask for confirmation before proceeding.
After confirmation, execute these phases sequentially (read each phase file when needed):
phases/new-crud/01-crud-schema.md (ERD + DBML)phases/new-crud/02-crud-migrations.mdphases/new-crud/03-crud-api-contract.md (Standard CRUD)After each phase:
Database Standards:
DATABASE_STANDARDS.md before startingStandard CRUD Endpoints:
GET /api/v1/{entity_plural} - List with pagination
GET /api/v1/{entity_plural}/{id} - Get by ID
POST /api/v1/{entity_plural} - Create
PUT /api/v1/{entity_plural}/{id} - Update
DELETE /api/v1/{entity_plural}/{id} - Soft delete
File Naming:
docs/database/erd/{entity_name}.mmddocs/database/dbml/{entity_name}.dbmldocs/database/migrations/{timestamp}_add_{entity_name}.sqldocs/api/contracts/{entity_name}.mdUser: /venturo-planner:new-crud
Claude: I'll help you create a simple CRUD entity.
Let me ask some questions:
1. What is the entity name? (singular, snake_case)
User: tag
Claude: 2. What attributes should this entity have?
Please provide: name, type, length (if VARCHAR), required/optional, unique
User:
- name: VARCHAR(100), required, unique
- color: VARCHAR(7), optional (hex color code)
- description: TEXT, optional
Claude: 3. Should this entity support soft delete?
User: yes
Claude: 4. What filters should be available?
User: search by name
[Presents plan, executes phases]
docs/database/erd/{entity_name}.mmd - Mermaid ERDdocs/database/dbml/{entity_name}.dbml - DBML schemadocs/database/migrations/{timestamp}_add_{entity_name}.sql - PostgreSQL migrationdocs/api/contracts/{entity_name}.md - Standard CRUD API contractPerfect for:
For complex entities with multiple relationships, use /venturo-planner:new-feature instead.