prisma-next-queries
Write Prisma Next Queries Across Database Targets
Prisma Next query APIs differ across Postgres, SQLite, and Mongo, which makes correct lane selection difficult. This skill provides target-specific patterns for typed reads, writes, relations, aggregates, pagination, and transactions.
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-queries" from https://skillstore.io/skills/prisma-prisma-next-queries.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-next-queries/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-queries". Fetch the newest posts with authors from a Postgres project.
Resultado esperado:
Uses the Postgres ORM, includes the author relation, applies descending creation order, limits results, and awaits the collection once.
Usando "prisma-next-queries". Count Mongo posts by category for one author.
Resultado esperado:
Uses the Mongo query builder with an author match, category grouping, count accumulator, plan construction, and runtime execution.
Usando "prisma-next-queries". Create a user and post atomically.
Resultado esperado:
Uses one Postgres transaction and its shared context, while noting that the Mongo facade does not support this transaction workflow.
Auditoría de seguridad
SeguroAll 103 static findings are false positives caused by Markdown code notation, fixed relative imports, and Prisma query terminology. No command execution, unsafe filesystem access, system reconnaissance, prompt injection, or malicious intent was found.
Factores de riesgo
⚙️ Comandos externos (50)
📁 Acceso al sistema de archivos (6)
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-queries/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportInsignia Markdown
[](https://skillstore.io/skills/prisma-prisma-next-queries?utm_source=security_passport_badge)Insignia HTML
<a href="https://skillstore.io/skills/prisma-prisma-next-queries?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-next-queries/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Tarjeta para insertar
<iframe src="https://skillstore.io/embed/skills/prisma-prisma-next-queries.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-queries security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/prisma-prisma-next-queries/audits/1Cita BibTeX
@techreport{prisma-prisma-prisma-next-queries-2026,
author = {prisma},
title = {prisma-next-queries security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/prisma-prisma-next-queries/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-queries 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-queries/audits/1"
identifiers:
- type: other
value: "skillstore:prisma-prisma-next-queries: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
Build application queries
Create typed reads, writes, relation includes, and pagination for an application service.
Create database analytics
Build Postgres aggregates or Mongo pipelines with grouping, projection, and joins.
Translate query styles
Convert familiar Prisma, Drizzle, or Kysely patterns into supported Prisma Next APIs.
Prueba estos prompts
Write a Prisma Next query for [target] that returns [records] filtered by [condition].
Create a [target] query for [model] with [relation], selected fields, stable sorting, and [page size] results.
Build a Prisma Next [Postgres or Mongo] aggregation that groups by [field] and calculates [metrics].
Design a Prisma Next workflow for [operations], using transactions where supported and explaining target limitations.
Mejores prácticas
- Confirm the runtime target before choosing model names, filters, or query lanes.
- Use the ORM for standard CRUD and relations, then use builders for unsupported shapes.
- Apply filters to mutations and consume each asynchronous result only once.
Evitar
- Do not mix Postgres model accessors with Mongo collection accessors.
- Do not use unrestricted reads when a single-row method or bounded page is required.
- Do not invent raw SQL, Mongo transactions, or ORM aggregate APIs that are unavailable.
Preguntas frecuentes
Which databases does this skill cover?
Does it generate data contracts?
When should I use the ORM?
When should I use a lower-level builder?
Does Mongo support transactions through this facade?
How should I consume all query results?
Detalles del desarrollador
Autor
prismaLicencia
MIT
Revisión de Skillstore
r1
Aviso de versión
El autor no declaró una versión.
Ref.
2b5eb09b8a8d063f44990dafee9dfeaa98332939
Actualidad del mantenimiento
17/8/2026
Uso
0 descargas · 0 vistas
Estructura de archivos