prisma-next-contract
Build Prisma Next Data Contracts
Complex Prisma Next contracts can fail when schemas, extensions, and configuration drift. This skill guides contract edits, configuration, diagnostics, and artifact emission.
Instalar con mi Agente
Copia esta solicitud en tu Agente. Incluye la página canónica del Skill y el manifiesto.
Review the Skillstore skill "prisma-next-contract" from https://skillstore.io/skills/prisma-prisma-next-contract.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-next-contract/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Tu Agente debe seguir mostrando su plan y solicitar cualquier confirmación exigida por la política de seguridad.
Recursos legibles por agentes
Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.
Pruébalo
Usando "prisma-next-contract". Add posts with authors, unique titles per author, and cascading deletion.
Resultado esperado:
The contract gains a Post model, an owning author relation, a composite unique constraint, and an author index. Emitted artifacts are refreshed.
Usando "prisma-next-contract". Add 1536-dimension embeddings with pgvector.
Resultado esperado:
The configuration registers the pgvector control descriptor. The contract uses its vector type, and TypeScript authoring registers the matching pack.
Usando "prisma-next-contract". Explain why contract emit returns PN-CLI-4011.
Resultado esperado:
The contract references an extension namespace that configuration does not register. Add the matching extension descriptor, then emit the contract again.
Auditoría de seguridad
SeguroAll 153 static alerts are false positives caused by Markdown formatting, documented Prisma commands, schema identifiers, and extension type names. No prompt injection, malicious intent, credential exfiltration, or unsafe executable implementation was found.
Factores de riesgo
⚙️ Comandos externos (50)
🔑 Variables de entorno (1)
Compartir y citar este informe
Comparte el informe de evaluación versionado, la insignia neutral, la tarjeta insertable y las citas. Skillstore presenta evidencias sin decidir si este Skill es seguro.
Copiar enlace del informe
https://skillstore.io/skills/prisma-prisma-next-contract/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportInsignia Markdown
[](https://skillstore.io/skills/prisma-prisma-next-contract?utm_source=security_passport_badge)Insignia HTML
<a href="https://skillstore.io/skills/prisma-prisma-next-contract?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-next-contract/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Tarjeta para insertar
<iframe src="https://skillstore.io/embed/skills/prisma-prisma-next-contract.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citas académicas (APA · BibTeX · CFF)
Cita APA
prisma. (2026). prisma-next-contract security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/prisma-prisma-next-contract/audits/1Cita BibTeX
@techreport{prisma-prisma-prisma-next-contract-2026,
author = {prisma},
title = {prisma-next-contract security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/prisma-prisma-next-contract/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "prisma-next-contract security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "prisma"
date-released: "2026-08-17"
url: "https://skillstore.io/skills/prisma-prisma-next-contract/audits/1"
identifiers:
- type: other
value: "skillstore:prisma-prisma-next-contract:audit:1"
description: "Skillstore immutable audit report identifier"
Puntuación de Skillstore
Por qué esta puntuación Confianza de la evidencia: MedioLo que puedes crear
Extend an application schema
Add models, relations, constraints, and indexes while preserving the established contract layout.
Configure database extensions
Register extension descriptors and use namespaced types such as vectors or encrypted strings.
Model shared contract spaces
Define namespaces, external tables, control policies, and cross-contract foreign keys.
Prueba estos prompts
Add a {model_name} model to my Prisma Next contract with these fields: {fields}. Preserve the current authoring format.Create a {relation_type} relation between {source_model} and {target_model}. Add explicit referential actions and useful indexes.Configure {extension_name} for this Prisma Next project and add a field using {extension_type}. Update every required descriptor surface.Design a Prisma Next contract for {domain}. Include namespaces, value objects, polymorphism, control policies, and cross-contract references where justified.Mejores prácticas
- Read prisma-next.config.ts first and edit only the configured contract source.
- Use public target and extension facade imports in user-authored files.
- Emit after every source change and verify both generated artifacts changed.
Evitar
- Do not edit contract.json or contract.d.ts because emission replaces manual changes.
- Do not use internal Prisma Next package imports from application code.
- Do not treat a field rename as a safe automatic drop and add.