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.
التثبيت باستخدام Agent لدي
انسخ هذا الطلب إلى Agent لديك. يتضمن صفحة Skill المعتمدة وملف manifest.
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.يجب أن يواصل Agent عرض خطته وطلب أي تأكيد تفرضه سياسة الأمان.
موارد مهيّأة لـ Agents
استخدم هذه الروابط عندما يحتاج AI Agent أو crawler أو script إلى سياق نظيف بدلًا من قراءة الصفحة كاملة.
اختبرها
جارٍ استخدام "prisma-next-contract". Add posts with authors, unique titles per author, and cascading deletion.
النتيجة المتوقعة:
The contract gains a Post model, an owning author relation, a composite unique constraint, and an author index. Emitted artifacts are refreshed.
جارٍ استخدام "prisma-next-contract". Add 1536-dimension embeddings with pgvector.
النتيجة المتوقعة:
The configuration registers the pgvector control descriptor. The contract uses its vector type, and TypeScript authoring registers the matching pack.
جارٍ استخدام "prisma-next-contract". Explain why contract emit returns PN-CLI-4011.
النتيجة المتوقعة:
The contract references an extension namespace that configuration does not register. Add the matching extension descriptor, then emit the contract again.
التدقيق الأمني
آمنAll 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.
عوامل الخطر
⚙️ الأوامر الخارجية (50)
🔑 متغيرات البيئة (1)
شارك واستشهد بهذا التقرير
شارك تقرير التقييم المرتبط بالإصدار والشارة المحايدة وبطاقة التضمين والاستشهادات. تعرض Skillstore الأدلة من دون أن تقرر ما إذا كانت هذه المهارة آمنة.
نسخ رابط التقرير
https://skillstore.io/skills/prisma-prisma-next-contract/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportشارة Markdown
[](https://skillstore.io/skills/prisma-prisma-next-contract?utm_source=security_passport_badge)شارة 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>بطاقة قابلة للتضمين
<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>الاستشهادات الأكاديمية (APA · BibTeX · CFF)
اقتباس 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/1اقتباس 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"
تقييم Skillstore
سبب هذا التقييم موثوقية الأدلة: متوسطما الذي يمكنك بناؤه
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.
جرّب هذه الموجّهات
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.أفضل الممارسات
- 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.
تجنب
- 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.