podverse-orm-patterns

Document TypeORM entity, service, migration, and query builder patterns.

6|5|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/podverse/podverse --skill podverse-orm-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: podverse-orm-patterns
Source: https://github.com/podverse/podverse/tree/main/.cursor/skills/orm
Command: npx skills add https://github.com/podverse/podverse --skill podverse-orm-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Podverse ORM development patterns provide a concise reference for implementing consistent entity, service, and migration structures across the monorepo, helping teams align on best practices and reduce boilerplate.

Core Features & Use Cases

  • Entity Definition: Standardized entity structures using TypeORM decorators with relationships and timestamps.
  • Service Pattern: Centralized data access layer with create, update, delete, and find operations.
  • Migration Guidance: Clear instructions for creating and applying migrations within infra/database.
  • Query Builder Patterns: Reusable patterns for building complex queries with a fluent API.
  • Best Practices: Validation, indexing, DTOs, and consistent project conventions.

Quick Start

Review and apply the ORM patterns in packages/orm to your entity/service implementations.

Frequently Asked Questions about podverse-orm-patterns

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

FAQPage Schema
How do I structure TypeORM entities and services in a monorepo?

You can structure TypeORM entities and services by standardizing entity definitions with decorators and implementing a centralized service layer for create, update, delete, and find operations across monorepo packages.

What is the best way to manage database migrations with TypeORM?

The best way to manage TypeORM migrations is to follow clear instructions for creating and applying migrations within the infra/database directory, ensuring consistent schema changes across the monorepo.

How do I build complex queries using TypeORM query builder patterns?

You can build complex queries by applying reusable TypeORM query builder patterns that utilize a fluent API to construct dynamic filtering and joining logic within your service layer.

Do I need DTOs and validation for TypeORM service layer operations?

Yes, DTOs and validation are recommended best practices for TypeORM service layer operations to ensure consistent project conventions, data integrity, and safe create or update handling across the database layer.

When should I use repository patterns versus service layer patterns in TypeORM?

Use repository patterns for direct entity persistence and retrieval, while implementing a centralized service layer for complex business logic, query building, and orchestrating multiple repository operations across monorepo packages.