db-typeorm

Generate TypeORM entities, repositories, migrations, and query builders for NestJS.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/sitharaj88/claude-skills --skill db-typeorm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-typeorm
Source: https://github.com/sitharaj88/claude-skills/tree/main/skills/db-typeorm
Command: npx skills add https://github.com/sitharaj88/claude-skills --skill db-typeorm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the development of data access layers for applications using TypeORM, automating the generation of entities, repositories, migrations, and query builders.

Core Features & Use Cases

  • Entity Generation: Creates TypeORM entities with decorators for various database types and relations.
  • Repository & QueryBuilder: Provides examples for implementing the repository pattern and using QueryBuilder for complex queries.
  • Migration Management: Automates the generation and execution of TypeORM migrations.
  • NestJS Integration: Guides on integrating TypeORM with NestJS applications.
  • Use Case: When setting up a new feature that requires database interaction, use this skill to quickly generate the necessary TypeORM entity, repository, and migration files.

Quick Start

Use the db-typeorm skill to generate a TypeORM entity for a 'Product' with fields for 'name', 'price', and 'description'.

Frequently Asked Questions about db-typeorm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate TypeORM entities with decorators and relations in TypeScript?

Generate TypeORM entities by using this Skill to automatically apply decorators, define relations, configure cascade options, and build embedded entities for various database types in TypeScript. It creates production-ready entity files with advanced structural design.

How do I set up and manage TypeORM migrations automatically?

Manage TypeORM migrations automatically by generating migration files that handle database schema updates and execution. This Skill automates the creation and execution of migrations to streamline database version control.

Can I use TypeORM with NestJS modules for database access?

Yes, you can integrate TypeORM with NestJS modules. This Skill guides you through integrating data access layers into NestJS applications, automating repository pattern implementation and query builder generation.

What is the best way to implement the repository pattern and QueryBuilder for complex queries?

Implement the repository pattern and QueryBuilder by generating structured code examples that handle complex database queries. This Skill provides production-ready repository implementations and QueryBuilder configurations for advanced data retrieval.

Does TypeORM support advanced features like subscribers and embedded entities?

Yes, TypeORM supports subscribers and embedded entities. This Skill generates code incorporating these advanced features, allowing you to automate event listening through subscribers and map complex object structures using embedded entities.

How do I generate a complete data access layer with entities, repositories, and migrations?

Generate a complete data access layer by creating TypeORM entities, repositories, and migrations simultaneously. This Skill automates the setup and management of the entire data access architecture, including query builders for specific database interactions.