From e48538b70dfb735a717038d111fd8c94faa4ad39 Mon Sep 17 00:00:00 2001 From: Derek Pearson Date: Sun, 22 Mar 2026 06:29:50 -0400 Subject: [PATCH] feat(skills): add Prisma and Supabase/Postgres database packs - Prisma: prisma-database-setup, prisma-client-api, prisma-cli from prisma/skills (10.7K installs). Auto-detects via prisma/schema.prisma. - Supabase & Postgres: supabase-postgres-best-practices from supabase/agent-skills (44.3K installs). Auto-detects via supabase/config.toml. Covers Postgres patterns (indexing, RLS, migrations) through Supabase lens. - Add drizzle.config.ts/js to PROJECT_FILES for future ORM detection. --- src/resources/extensions/gsd/detection.ts | 5 +++++ src/resources/extensions/gsd/skill-catalog.ts | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/resources/extensions/gsd/detection.ts b/src/resources/extensions/gsd/detection.ts index 08619893d..da0f2c01a 100644 --- a/src/resources/extensions/gsd/detection.ts +++ b/src/resources/extensions/gsd/detection.ts @@ -99,6 +99,11 @@ export const PROJECT_FILES = [ "serverless.yml", "serverless.yaml", "azure-pipelines.yml", + // Database / ORM config files + "prisma/schema.prisma", + "supabase/config.toml", + "drizzle.config.ts", + "drizzle.config.js", // React Native markers "metro.config.js", "metro.config.ts", diff --git a/src/resources/extensions/gsd/skill-catalog.ts b/src/resources/extensions/gsd/skill-catalog.ts index 3477be097..a06d832e9 100644 --- a/src/resources/extensions/gsd/skill-catalog.ts +++ b/src/resources/extensions/gsd/skill-catalog.ts @@ -229,6 +229,25 @@ export const SKILL_CATALOG: SkillPack[] = [ matchLanguages: ["go"], matchFiles: ["go.mod"], }, + // ── Database / ORM ───────────────────────────────────────────────────────── + { + label: "Prisma", + description: "Prisma ORM setup, schema design, client API, and migrations", + repo: "prisma/skills", + skills: [ + "prisma-database-setup", + "prisma-client-api", + "prisma-cli", + ], + matchFiles: ["prisma/schema.prisma"], + }, + { + label: "Supabase & Postgres", + description: "Supabase project setup, auth, Postgres best practices, and Firestore", + repo: "supabase/agent-skills", + skills: ["supabase-postgres-best-practices"], + matchFiles: ["supabase/config.toml"], + }, // ── Cloud Platforms ──────────────────────────────────────────────────────── { label: "Firebase",