new-entity

Scaffold a new Prisma entity across all 13 Genfeed.ai layers.

2|1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/genfeedai/genfeed.ai --skill new-entity-genfeedai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-entity
Source: https://github.com/genfeedai/genfeed.ai/tree/main/.agents/skills/new-entity
Command: npx skills add https://github.com/genfeedai/genfeed.ai --skill new-entity-genfeedai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold a complete Prisma entity end-to-end across all 13 layers of Genfeed.ai, enabling consistent data modeling and rapid delivery when adding new data entities.

Core Features & Use Cases

  • Generates Prisma schema blocks with required base fields and cross-model relations (user, organization, brand) for new entities.
  • Creates corresponding TypeScript interfaces, client models, domain models, and serializer triplets, plus API endpoint constants and NestJS collection scaffolds.
  • Provides a ready-to-use frontend service and React hook to consume the new entity in apps.

Quick Start

Invoke the new-entity scaffold with the desired entity name and domain to generate all 13 layers.

Frequently Asked Questions about new-entity

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

FAQPage Schema
How do I scaffold a full-stack Prisma entity across a NestJS monorepo?

To scaffold a full-stack Prisma entity, you invoke the automation with a desired entity name and domain to generate schema, interfaces, client and domain models, serializers, NestJS modules, and React hooks across 13 monorepo layers. This produces ready-to-integrate code aligned with dependency order.

What is end-to-end entity scaffolding in a TypeScript monorepo?

End-to-end entity scaffolding in a TypeScript monorepo is the automated generation of all required data layers for a new entity, from Prisma schema to frontend React hooks. It creates interfaces, serializers, NestJS collections, and modules to deliver ready-to-integrate full-stack code.

When do I need to generate a Prisma schema block and React hook together?

You need to generate a Prisma schema block and React hook together when adding a brand-new data entity that requires immediate frontend consumption. This ensures the database schema, API endpoints, and UI service layers remain consistently aligned across the full stack.

Does full-stack entity scaffolding work with existing Prisma models and NestJS modules?

Full-stack entity scaffolding works by generating new Prisma models and NestJS modules with required base fields and cross-model relations. It is applicable for adding brand-new data entities rather than modifying existing schemas, satisfying pre-flight checks.

What's the best way to add a new data model to a NestJS and Prisma monorepo?

The best way to add a new data model to a NestJS and Prisma monorepo is automating the end-to-end scaffolding process. This generates all 13 layers including schema, serializers, API constants, and frontend services, ensuring consistent code aligned with repository dependency order.

Why does adding a new entity in a full-stack monorepo require multiple generated files?

Adding a new entity in a full-stack monorepo requires multiple generated files because the data must flow through schema, interfaces, client models, serializers, API endpoints, and React hooks. Generating all layers ensures dependency order and consistent integration across the stack.