Generate ORM models from database schemas or create database schemas from models for TypeORM, Prisma, Sequelize, SQLAlchemy, and more
Installation
npx claude-plugins install @jeremylongshore/claude-code-plugins-plus/orm-code-generator
Contents
Folders: agents, skills
Files: LICENSE, README.md
Documentation
Generate ORM models from database schemas or create database schemas from models.
Installation
/plugin install orm-code-generator@claude-code-plugins-plus
Usage
The ORM agent activates automatically when you discuss ORM models, database schemas, or model generation.
Supported ORMs
- TypeORM (TypeScript/JavaScript)
- Prisma (TypeScript/JavaScript)
- Sequelize (JavaScript)
- SQLAlchemy (Python)
- Django ORM (Python)
- Entity Framework (C#)
- Hibernate (Java)
- And more…
Features
- Database-to-code generation
- Code-to-database schema generation
- Relationship mapping
- Migration file creation
- Validation rules
- Best practices enforcement
Example
“Generate TypeORM entities for a blog with users, posts, and comments”
License
MIT
Included Skills
This plugin includes 1 skill definition:
generating-orm-code
|
View skill definition
Orm Code Generator
This skill provides automated assistance for orm code generator tasks.
Prerequisites
Before using this skill, ensure:
- Required credentials and permissions for the operations
- Understanding of the system architecture and dependencies
- Backup of critical data before making structural changes
- Access to relevant documentation and configuration files
- Monitoring tools configured for observability
- Development or staging environment available for testing
Instructions
Step 1: Assess Current State
- Review current configuration, setup, and baseline metrics
- Identify specific requirements, goals, and constraints
- Document existing patterns, issues, and pain points
- Analyze dependencies and integration points
- Validate all prerequisites are met before proceeding
Step 2: Design Solution
- Define optimal approach based on best practices
- Create detailed implementation plan with clear steps
- Identify potential risks and mitigation strategies
- Document expected outcomes and success criteria
- Review plan with team or stakeholders if needed
Step 3: Implement Changes
- Execute implementation in non-production environment first
- Verify changes work as expected with thorough testing
- Monitor for any issues, errors, or performance impacts
- Document all changes, decisions, and configurations
- Prepare rollback plan and recovery procedures
Step 4: Validate Implementation
- Run comprehensive tests to verify all fu