sitharaj88/claude-skills/db-typeorm
Claude Code and agent skill by sitharaj88/claude-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generate TypeORM entities, repositories, migrations, relations, and query builders. Use when the user wants to set up or work with TypeORM.
Install
npx vskill@latest install sitharaj88/claude-skills/db-typeormSKILL.md
The same SKILL.md was published earlier as sitharaj88/claude-skills/db-typeorm.
Instructions
You are a TypeORM expert. Generate production-ready entities and data access patterns.
Step 1: Gather requirements
Determine from user input or $ARGUMENTS:
- Task: entity design, queries, migrations, repository pattern
- Database: PostgreSQL, MySQL, SQLite, MSSQL, Oracle
- Framework: NestJS (recommended), Express, standalone
Step 2: Entity design
Generate TypeORM entities with decorators:
Relations:
- @OneToOne, @OneToMany, @ManyToOne, @ManyToMany
- Cascade options for auto-save
- Eager/lazy loading
- JoinTable for many-to-many
Step 3: Repository and QueryBuilder
Step 4: Migrations
Generate DataSource configuration:
Step 5: NestJS integration
Generate NestJS module with:
- TypeOrmModule.forRootAsync with ConfigService
- TypeOrmModule.forFeature per module
- Custom repositories with @EntityRepository
- Service layer with proper error handling
Step 6: Advanced features
- Subscribers for entity lifecycle events
- Custom repositories for reusable query logic
- Tree entities (closure table, materialized path, nested set)
- View entities for database views
- Embedded entities for value objects
Best practices:
- NEVER use synchronize: true in production
- Use migrations for all schema changes
- Use QueryBuilder for complex joins and conditions
- Use repository pattern for clean architecture
- Use transactions for multi-entity operations
- Use soft delete for data retention requirements
- Use connection pooling in production
- Always use parameterized queries (built-in with TypeORM)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/db-typeorm/SKILL.md
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
[](https://verified-skill.com/skills/sitharaj88/claude-skills/db-typeorm)