vendix-prisma-schema

Edit Prisma schemas and run migrations for the Vendix backend.

5|Updated Aug 23, 2025
One-click install
npx skills add https://github.com/Rzyfront/Vendix --skill vendix-prisma-schema
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vendix-prisma-schema
Source: https://github.com/Rzyfront/Vendix/tree/main/skills/vendix-prisma-schema
Command: npx skills add https://github.com/Rzyfront/Vendix --skill vendix-prisma-schema

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of maintaining a clean, consistent Prisma schema and safe migration workflow across the Vendix backend. It guides developers through editing apps/backend/prisma/schema.prisma, validating models, and generating migrations without breaking the running environment.

Core Features & Use Cases

  • Schema editing: define and validate Prisma models with consistent conventions.
  • Migration workflow: create, review, and apply migrations without downtime.
  • Use Case: When adding a new relation or field, update the schema.prisma, run migrations, and verify in the dev environment.

Quick Start

Open apps/backend/prisma/schema.prisma, apply changes to your models, and run the Prisma migration workflow to generate and apply new migrations.

Frequently Asked Questions about vendix-prisma-schema

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

FAQPage Schema
How do I run Prisma migrations for a multi-service backend without downtime?

To run Prisma migrations safely, edit apps/backend/prisma/schema.prisma, then execute npx prisma migrate dev to generate and apply changes. This validates models across backend services without breaking the running environment.

What naming conventions should I follow when editing a Prisma schema?

Editing a Prisma schema requires adhering to consistent naming conventions enforced by the Vendix workflow. It provides pattern references in apps/backend/prisma/schema.prisma to ensure models and relations remain clean and validated across services.

How do I add a new relation field to an existing Prisma model?

Adding a new relation field involves updating schema.prisma with the relation definition, running the Prisma migration workflow to generate the migration, and verifying the changes within the dev environment before proceeding.

Can I use this Prisma schema workflow with a PostgreSQL backend?

Yes, the Prisma schema workflow supports PostgreSQL databases. It guides you through editing the schema, executing migrations, and validating changes specifically for development workflows involving Postgres.

Why does modifying schema.prisma break my running development environment?

Modifying schema.prisma breaks environments when migrations are applied inconsistently. Using a guided workflow with npx prisma migrate dev ensures proper migration generation, review, and application to prevent downtime across backend services.