TypeORM Assistant

Assist with TypeORM entity design, relationships, queries, and migrations in TypeScript projects.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/corey-alix/dwp-hours --skill typeorm-assistant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TypeORM Assistant
Source: https://github.com/corey-alix/dwp-hours/tree/main/.github/skills/typeorm-assistant
Command: npx skills add https://github.com/corey-alix/dwp-hours --skill typeorm-assistant

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies and guides the use of TypeORM within the DWP Hours Tracker project, ensuring efficient and correct database interactions.

Core Features & Use Cases

  • Database Operations: Assists with creating entities, defining relationships, and writing complex queries.
  • Migrations & Best Practices: Provides guidance on schema management and adhering to project coding standards.
  • Use Case: When developing a new feature that requires storing employee leave balances, this Skill can help define the necessary TypeORM entity and its relationship to the employee table.

Quick Start

Use the TypeORM Assistant to show me how to create a one-to-many relationship between the Employee and PtoEntry entities.

Frequently Asked Questions about TypeORM Assistant

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

FAQPage Schema
How do I define a one-to-many relationship in TypeORM?

To define a one-to-many relationship in TypeORM, you use the @OneToMany decorator on the parent entity and @ManyToOne on the child entity, ensuring correct mapping between tables like Employee and PtoEntry.

How do I manage database schema changes using TypeORM migrations?

TypeORM migrations manage database schema changes by generating incremental SQL scripts, ensuring your schema management adheres to project-specific TypeScript conventions and quality gates for robust data management.

Can I use TypeORM with sql.js for an in-memory database?

Yes, TypeORM works with sql.js to manage database operations, allowing you to execute entity design and QueryBuilder usage within an in-memory environment for the DWP Hours Tracker project.

What is the best way to write complex queries using the TypeORM QueryBuilder?

The best way to write complex queries using the TypeORM QueryBuilder is to chain methods for selecting, joining, and filtering entities, ensuring efficient and correct database interactions in TypeScript.

Does this TypeORM Assistant enforce specific TypeScript coding conventions?

Yes, the TypeORM Assistant ensures adherence to project-specific TypeScript conventions and quality gates, guiding entity design and database operations within the DWP Hours Tracker project.