config-prisma

Installation
SKILL.md

Config Prisma

Overview

Run deterministic Prisma infrastructure setup in apps/backend, with a neutral seed entrypoint (no module tasks), a Nest database module, and Postgres initialization via Docker Compose aligned with .env. The generated database contract must remain compatible with the current project version: simple PrismaService, without TransactionManager or runInTransaction, and Docker infrastructure derived from the project identity to avoid collisions between repositories.

Workflow

  1. Confirm the workspace contains apps/backend/package.json.
  2. Run the skill script:
    • node .agents/skills/config-prisma/scripts/init-prisma-backend.js --dry-run
    • node .agents/skills/config-prisma/scripts/init-prisma-backend.js --apply --install
  3. Add Prisma files per module (repeatable):
    • node .agents/skills/config-prisma/scripts/init-prisma-backend.js --apply --module auth --module product
  4. Start the database with backend Docker Compose:
    • npm --workspace apps/backend run db:start
  5. Validate Prisma:
    • npm --workspace apps/backend run prisma:generate
Installs
1
First Seen
Jun 23, 2026
config-prisma — ricardolv/nest-ai-plugins