{
  "markdown": "# Prisma Skills\n\nA collection of skills for AI coding agents working with Prisma ORM. Skills are packaged instructions that extend agent capabilities for database development.\n\nSkills follow the [Agent Skills](https://agentskills.io/) format and are compatible with `npx skills add`.\n\n## Available Skills\n\n### prisma-cli\n\nComplete reference for current Prisma ORM CLI commands. For Prisma Compute app deployment, use `prisma-compute`.\n\n**Use when:**\n- Running Prisma ORM/database commands\n- Setting up new projects (`prisma init`)\n- Managing migrations and database schema\n- Generating Prisma Client\n\n**Commands covered:**\n- `init`, `generate`, `dev` (local Prisma Postgres)\n- `migrate dev`, `migrate deploy`, `migrate reset`\n- `db push`, `db pull`, `db seed`, `db execute`\n- `studio`, `mcp`\n\n---\n\n### prisma-upgrade-v7\n\nStep-by-step migration guide from Prisma v6 to v7, covering all breaking changes.\n\n**Use when:**\n- Upgrading existing projects to Prisma 7\n- Troubleshooting v7 compatibility issues\n- Understanding what changed in v7\n\n**Topics covered:**\n- ESM-first module configuration plus CommonJS fallback\n- Driver adapter requirements\n- New `prisma.config.ts` file\n- Manual environment variable loading\n- Generated client entrypoints (`client`, `browser`, `models`, `enums`)\n- `Prisma.validator` to `satisfies` migration\n- Removed features (middleware, metrics, CLI flags)\n- Special handling for Accelerate users\n\n---\n\n### prisma-mongodb-upgrade\n\nDecision and migration guide for MongoDB projects on Prisma v6, which have no path to Prisma 7.\n\n**Use when:**\n- A MongoDB project asks about upgrading Prisma versions\n- Evaluating a move from Prisma v6 to Prisma Next\n- Preventing an impossible \"upgrade MongoDB to v7\" plan\n\n**Topics covered:**\n- The version landscape (v6 terminal for MongoDB; v7 has no connector; Prisma Next is the successor path)\n- Stay-on-v6 vs migrate-now decision table with no-go signals\n- Schema/contract, client API, and migrations mapping between v6 and Prisma Next\n- No-data-moves cutover verification checklist\n\n---\n\n### prisma-client-api\n\nComprehensive Prisma Client API reference.\n\n**Use when:**\n- Writing Prisma Client queries\n- Understanding query options (select, include, where)\n- Working with transactions\n- Using raw SQL queries\n\n**Topics covered:**\n- PrismaClient constructor and configuration\n- CRUD operations (findMany, create, update, delete)\n- Query options (select, include, omit, orderBy, pagination)\n- Filter operators and conditions\n- Transactions ($transaction)\n- Raw queries ($queryRaw, $executeRaw)\n- Client methods ($connect, $disconnect, $extends)\n\n---\n\n### prisma-driver-adapter-implementation\n\nImplementation guide for Prisma SQL driver adapter development.\n\n**Use when:**\n- Implementing a new SQL driver adapter\n- Modifying `SqlDriverAdapter` or `Transaction` behavior\n- Wiring migration-aware adapter factories\n- Debugging adapter type mapping or transaction issues\n\n**Topics covered:**\n- Required adapter interfaces and contracts\n- Transaction lifecycle protocol (including nested transactions)\n- `SqlQuery` argument mapping and `SqlResultSet` mapping\n- `ColumnTypeEnum` mapping strategy\n- Error conversion to `DriverAdapterError` / `MappedError`\n- Unit and E2E verification checklist\n\n---\n\n### prisma-database-setup\n\nGuides for configuring Prisma with different database providers.\n\n**Use when:**\n- Setting up a new project with a specific database\n- Connecting to PostgreSQL, MySQL, SQLite, MongoDB, etc.\n- Troubleshooting connection issues\n- Configuring connection strings\n\n**Databases covered:**\n- PostgreSQL & Prisma Postgres\n- MySQL / MariaDB\n- SQLite\n- MongoDB\n- SQL Server\n- CockroachDB\n\n---\n\n### prisma-postgres\n\nPrisma Postgres workflows across Console, `create-db`, Management API, and SDK integrations.\n\n**Use when:**\n- Setting up and managing Prisma Postgres in Prisma Console\n- Creating instant databases with `npx create-db`\n- Integrating programmatic provisioning with Management API\n- Building typed API integrations using `@prisma/management-api-sdk`\n- Handling auth, regions, claim flow, and connection details\n\n**Workflows covered:**\n- `npx create-db@latest`\n- `npx create-db@latest create --help`\n- `npx create-db@latest regions --help`\n- Programmatic `create-db` usage (`create()` and `regions()`)\n- Console operations (`https://console.prisma.io`)\n- Management API (`https://api.prisma.io/v1`)\n- Management API SDK (`@prisma/management-api-sdk`)\n\n---\n\n### prisma-compute\n\nPrisma Compute deployment and hosting workflows centered on the Prisma Platform CLI, with `create-prisma` covered as the new-project scaffold path, plus framework readiness, SDK automation, and operational debugging.\n\n**Use when:**\n- Creating a new Prisma app with optional Compute deploy\n- Deploying or redeploying an existing app to Prisma Compute\n- Checking framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts\n- Managing Compute app logs, deployments, environment variables, branches, and domains\n- Building programmatic Compute integrations with SDK/API tooling\n\n**Workflows covered:**\n- `@prisma/cli app build/run/deploy`\n- Generated `compute:deploy` scripts\n- `create-prisma --deploy` for new project scaffolds\n- Framework-specific build output requirements\n- `@prisma/compute-sdk` and Management API App/Deployment concepts\n- Troubleshooting auth, env, build, deploy, log, and port issues\n\n## Installation\n\nInstall all skills:\n\n```bash\nnpx skills add prisma/skills\n```\n\nOr install specific skills:\n\n```bash\nnpx skills add prisma/skills --skill prisma-cli\nnpx skills add prisma/skills --skill prisma-upgrade-v7\nnpx skills add prisma/skills --skill prisma-mongodb-upgrade\nnpx skills add prisma/skills --skill prisma-client-api\nnpx skills add prisma/skills --skill prisma-driver-adapter-implementation\nnpx skills add prisma/skills --skill prisma-database-setup\nnpx skills add prisma/skills --skill prisma-postgres\nnpx skills add prisma/skills --skill prisma-compute\n```\n\nList available skills:\n\n```bash\nnpx skills add prisma/skills --list\n```\n\nList installed skills:\n\n```bash\nnpx skills list\n```\n\n## Usage\n\nSkills are automatically available once installed. The agent will use them when relevant tasks are detected.\n\n**Examples:**\n```\nHelp me run Prisma migrations in production\n```\n```\nUpgrade my project from Prisma 6 to Prisma 7\n```\n```\nHow do I use transactions in Prisma?\n```\n\n## Skill Structure\n\nEach skill contains:\n- `SKILL.md` - Main instructions with YAML frontmatter (name, description, metadata)\n- `references/` (optional) - Individual reference files with detailed explanations and code examples\n\n## Prisma Version\n\nThe ORM-focused skills target **Prisma ORM 7.6.x**.\n\nThe `prisma-compute` skill tracks the active Prisma Compute launch flow and instructs agents to verify the current Prisma Platform CLI and `create-prisma` command surfaces before acting.\n\nIf you're upgrading from Prisma 6, use the `prisma-upgrade-v7` skill for migration-specific guidance.\n\n## Contributing\n\nSee [AGENTS.md](./AGENTS.md) for guidelines on creating and modifying skills.\n\n## License\n\nMIT\n",
  "bytes": 7133,
  "sha": "b7eb07aee723610d746f940c5264f1a74bae422c38cd7f6a6c7faab66d440129",
  "repo_slug": "prisma/skills",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/skl_prisma_skills_prisma_driver_adapter_impl_0ced88f8/readme"
}