[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A05Y8T07282EBWHW0R74QN":3,"skill-same:01M7A05Y8T07282EBWHW0R74QN":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7A05Y8T07282EBWHW0R74QN","prisma-postgres",null,"Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db\u002Fcreate-pg\u002Fcreate-postgres, or integrating programmatic provisioning with service tokens or OAuth.","Yousuf-Wizdan\u002Fexpense-flow","Yousuf-Wizdan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F139041819?v=4","01M7A01QGA9T4VSH6ZSS903K18","yousuf_wizdan","01M7A01QGX8XKH0X9KZJVDM9VN",0,"MIT","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprisma-postgres\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prisma-postgres\ndescription: Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db\u002Fcreate-pg\u002Fcreate-postgres, or integrating programmatic provisioning with service tokens or OAuth.\nlicense: MIT\nmetadata:\n  author: prisma\n  version: \"7.7.0\"\n---\n\n# Prisma Postgres\n\nGuidance for creating, managing, and integrating Prisma Postgres across interactive and programmatic workflows.\n\n## When to Apply\n\nReference this skill when:\n- Setting up Prisma Postgres from Prisma Console\n- Provisioning instant temporary databases with `create-db`\n- Linking an existing local project with `prisma postgres link`\n- Managing Prisma Postgres resources via Management API\n- Using `@prisma\u002Fmanagement-api-sdk` in TypeScript\u002FJavaScript\n- Handling claim URLs, connection strings, regions, and auth flows\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | CLI Provisioning | CRITICAL | `create-db-cli` |\n| 2 | Management API | CRITICAL | `management-api` |\n| 3 | Management API SDK | HIGH | `management-api-sdk` |\n| 4 | Console and Connections | HIGH | `console-and-connections` |\n\n## Quick Reference\n\n- `create-db-cli` - instant databases and current CLI flags (`--ttl`, `--copy`, `--quiet`, `--open`)\n- `management-api` - service token and OAuth API workflows\n- `management-api-sdk` - typed SDK usage with token storage\n- `console-and-connections` - Console operations, `prisma postgres link`, direct TCP connections, and serverless-driver choices\n\n## Core Workflows\n\n### 1. Console-first workflow\n\nUse Prisma Console for manual setup and operations:\n\n- Open `https:\u002F\u002Fconsole.prisma.io`\n- Create\u002Fselect workspace and project\n- Use Studio in the project sidebar to view\u002Fedit data\n- Retrieve direct connection details from the project UI\n\n### 2. Quick provisioning with create-db\n\nUse `create-db` when you need a database immediately:\n\n```bash\nnpx create-db@latest\n```\n\nAliases:\n\n```bash\nnpx create-pg@latest\nnpx create-postgres@latest\n```\n\nFor app integrations, you can also use the programmatic API (`create()` \u002F `regions()`) from the `create-db` npm package.\n\nTemporary databases auto-delete after ~24 hours unless claimed.\n\n### 2b. Persistent databases with the Platform CLI\n\nFor databases that belong to a Project (not throwaway `create-db` databases), use `@prisma\u002Fcli`:\n\n```bash\nnpx -y @prisma\u002Fcli@latest database create main --branch main\nnpx -y @prisma\u002Fcli@latest database list --json\nnpx -y @prisma\u002Fcli@latest database connection create db_123\nnpx -y @prisma\u002Fcli@latest database usage db_123\nnpx -y @prisma\u002Fcli@latest database backup list db_123\n```\n\n`database create` and `database connection create` print a one-time connection URL; store it immediately. Destructive commands (`remove`, `restore`) require exact `--confirm \u003Cid>`.\n\n### 3. Link an existing local project\n\nUse `prisma postgres link` when the database already exists and you want to wire a local project to it:\n\n```bash\nprisma postgres link\n```\n\nFor CI or other non-interactive environments:\n\n```bash\nprisma postgres link --api-key \"\u003Cyour-api-key>\" --database \"db_...\"\n```\n\nThis flow updates your local `.env` with `DATABASE_URL`, then you can run `prisma generate` and `prisma migrate dev`.\n\n### 4. Programmatic provisioning with Management API\n\nUse API endpoints on:\n\n```text\nhttps:\u002F\u002Fapi.prisma.io\u002Fv1\n```\n\nExplore the schema and endpoints using:\n\n- OpenAPI docs: `https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fdoc`\n- Swagger Editor: `https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fswagger-editor`\n\nAuth options:\n\n- Service token (workspace server-to-server)\n- OAuth 2.0 (act on behalf of users)\n\n### 5. Type-safe integration with Management API SDK\n\nInstall and use:\n\n```bash\nnpm install @prisma\u002Fmanagement-api-sdk\n```\n\nUse `createManagementApiClient` for existing tokens, or `createManagementApiSdk` for OAuth + token refresh.\n\n## Rule Files\n\nDetailed guidance lives in:\n\n```\nreferences\u002Fconsole-and-connections.md\nreferences\u002Fcreate-db-cli.md\nreferences\u002Fmanagement-api.md\nreferences\u002Fmanagement-api-sdk.md\n```\n\n## How to Use\n\nStart with `references\u002Fcreate-db-cli.md` for fast setup, then switch to `references\u002Fmanagement-api.md` or `references\u002Fmanagement-api-sdk.md` when you need programmatic provisioning.\n","# Prisma Postgres\n\nGuidance for creating, managing, and integrating Prisma Postgres across interactive and programmatic workflows.\n\n## When to Apply\n\nReference this skill when:\n- Setting up Prisma Postgres from Prisma Console\n- Provisioning instant temporary databases with `create-db`\n- Linking an existing local project with `prisma postgres link`\n- Managing Prisma Postgres resources via Management API\n- Using `@prisma\u002Fmanagement-api-sdk` in TypeScript\u002FJavaScript\n- Handling claim URLs, connection strings, regions, and auth flows\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | CLI Provisioning | CRITICAL | `create-db-cli` |\n| 2 | Management API | CRITICAL | `management-api` |\n| 3 | Management API SDK | HIGH | `management-api-sdk` |\n| 4 | Console and Connections | HIGH | `console-and-connections` |\n\n## Quick Reference\n\n- `create-db-cli` - instant databases and current CLI flags (`--ttl`, `--copy`, `--quiet`, `--open`)\n- `management-api` - service token and OAuth API workflows\n- `management-api-sdk` - typed SDK usage with token storage\n- `console-and-connections` - Console operations, `prisma postgres link`, direct TCP connections, and serverless-driver choices\n\n## Core Workflows\n\n### 1. Console-first workflow\n\nUse Prisma Console for manual setup and operations:\n\n- Open `https:\u002F\u002Fconsole.prisma.io`\n- Create\u002Fselect workspace and project\n- Use Studio in the project sidebar to view\u002Fedit data\n- Retrieve direct connection details from the project UI\n\n### 2. Quick provisioning with create-db\n\nUse `create-db` when you need a database immediately:\n\n```bash\nnpx create-db@latest\n```\n\nAliases:\n\n```bash\nnpx create-pg@latest\nnpx create-postgres@latest\n```\n\nFor app integrations, you can also use the programmatic API (`create()` \u002F `regions()`) from the `create-db` npm package.\n\nTemporary databases auto-delete after ~24 hours unless claimed.\n\n### 2b. Persistent databases with the Platform CLI\n\nFor databases that belong to a Project (not throwaway `create-db` databases), use `@prisma\u002Fcli`:\n\n```bash\nnpx -y @prisma\u002Fcli@latest database create main --branch main\nnpx -y @prisma\u002Fcli@latest database list --json\nnpx -y @prisma\u002Fcli@latest database connection create db_123\nnpx -y @prisma\u002Fcli@latest database usage db_123\nnpx -y @prisma\u002Fcli@latest database backup list db_123\n```\n\n`database create` and `database connection create` print a one-time connection URL; store it immediately. Destructive commands (`remove`, `restore`) require exact `--confirm \u003Cid>`.\n\n### 3. Link an existing local project\n\nUse `prisma postgres link` when the database already exists and you want to wire a local project to it:\n\n```bash\nprisma postgres link\n```\n\nFor CI or other non-interactive environments:\n\n```bash\nprisma postgres link --api-key \"\u003Cyour-api-key>\" --database \"db_...\"\n```\n\nThis flow updates your local `.env` with `DATABASE_URL`, then you can run `prisma generate` and `prisma migrate dev`.\n\n### 4. Programmatic provisioning with Management API\n\nUse API endpoints on:\n\n```text\nhttps:\u002F\u002Fapi.prisma.io\u002Fv1\n```\n\nExplore the schema and endpoints using:\n\n- OpenAPI docs: `https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fdoc`\n- Swagger Editor: `https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fswagger-editor`\n\nAuth options:\n\n- Service token (workspace server-to-server)\n- OAuth 2.0 (act on behalf of users)\n\n### 5. Type-safe integration with Management API SDK\n\nInstall and use:\n\n```bash\nnpm install @prisma\u002Fmanagement-api-sdk\n```\n\nUse `createManagementApiClient` for existing tokens, or `createManagementApiSdk` for OAuth + token refresh.\n\n## Rule Files\n\nDetailed guidance lives in:\n\n```\nreferences\u002Fconsole-and-connections.md\nreferences\u002Fcreate-db-cli.md\nreferences\u002Fmanagement-api.md\nreferences\u002Fmanagement-api-sdk.md\n```\n\n## How to Use\n\nStart with `references\u002Fcreate-db-cli.md` for fast setup, then switch to `references\u002Fmanagement-api.md` or `references\u002Fmanagement-api-sdk.md` when you need programmatic provisioning.\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26},"prisma","7.7.0","master","adb57b1d89278a8bae59a14ab31c7d6f35d0a7a2",".claude\u002Fskills\u002Fprisma-postgres","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow","https:\u002F\u002Fexpense-flow-one-bay.vercel.app","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan","🚀 Developer | 💻 Tech Enthusiast | 📍 India\r\nBuilding cool things with code.","2026-08-13 02:21:34",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Yousuf-Wizdan\u002Fexpense-flow --skill prisma-postgres",{"tool":41,"command":42},"bunx","bunx skills add Yousuf-Wizdan\u002Fexpense-flow --skill prisma-postgres",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Yousuf-Wizdan\u002Fexpense-flow --skill prisma-postgres","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprisma-postgres\u002FSKILL.md",true,[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fconsole-and-connections.md","REFERENCE","参考文档",2398,"https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprisma-postgres\u002Freferences\u002Fconsole-and-connections.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcreate-db-cli.md",3192,"https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprisma-postgres\u002Freferences\u002Fcreate-db-cli.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fmanagement-api-sdk.md",1420,"https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprisma-postgres\u002Freferences\u002Fmanagement-api-sdk.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fmanagement-api.md",2289,"https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprisma-postgres\u002Freferences\u002Fmanagement-api.md",[68,75,80,87,94,101],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7A09WT35ZKK9Y6DFK68TCDD","prisma-upgrade-v7","Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on \"upgrade to prisma 7\", \"prisma 7 migration\", \"prisma-client generator\", \"driver adapter required\".","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.windsurf\u002Fskills\u002Fprisma-upgrade-v7\u002FSKILL.md",[],[],{"skillNo":76,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7A09RRSVYQJJ7CEAFKPJ3SN","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.windsurf\u002Fskills\u002Fprisma-postgres\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7A09NAQ8JFAPJ842CAD9NCT","prisma-postgres-setup","Set up a new Prisma Postgres database and connect it to a local project using the Management API. Use when asked to \"set up a database\", \"create a Prisma Postgres project\", \"get a connection string\", \"connect my app to Prisma Postgres\", or \"provision a database\".","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.windsurf\u002Fskills\u002Fprisma-postgres-setup\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7A09HM0FGFNMS1DA7QTZ68W","prisma-mongodb-upgrade","Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when \"upgrade to prisma 7\" comes up in a project with provider = \"mongodb\", or when evaluating a move to Prisma Next. Triggers on \"upgrade prisma mongodb\", \"prisma 7 mongodb\", \"mongodb prisma migration\", \"prisma next mongodb\".","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.windsurf\u002Fskills\u002Fprisma-mongodb-upgrade\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7A09C2QXYTE4ET144PP4B2C","prisma-driver-adapter-implementation","Required reference for Prisma v7 driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter\u002FTransaction interfaces. Contains critical contract details not inferable from code examples — including the transaction lifecycle protocol, error mapping requirements, and verification checklist. Existing implementations do not replace this skill.","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.windsurf\u002Fskills\u002Fprisma-driver-adapter-implementation\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7A0984E48KXWM16BH6D9AGC","prisma-database-setup","Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Use when setting up a new project, changing databases, or troubleshooting connection issues. Triggers on \"configure postgres\", \"connect to mysql\", \"setup mongodb\", \"sqlite setup\".","https:\u002F\u002Fgithub.com\u002FYousuf-Wizdan\u002Fexpense-flow\u002Fblob\u002Fmaster\u002F.windsurf\u002Fskills\u002Fprisma-database-setup\u002FSKILL.md",[],[]]