ワンクリックで
database-orm
Interaction with NeonDB Postgres using Drizzle ORM.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Interaction with NeonDB Postgres using Drizzle ORM.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Documentation for the FastAPI backend, endpoints, and dependency injection.
Overview of the project's tech stack, directory structure, and architectural patterns.
Guide to using Better Auth for client and server-side authentication.
Validates and analyzes Docusaurus MDX chapters for structure, pedagogical quality, and component usage.
Details of the RAG Chatbot, including UI and backend logic.
Knowledge of the Vercel deployment pipeline, hybrid build scripts, and environment configuration.
| name | Database & ORM |
| description | Interaction with NeonDB Postgres using Drizzle ORM. |
@neondatabase/serverlessThe database connection is initialized in db/index.ts.
import { neon } from '@neondatabase/serverless';
import { drizzle } from 'drizzle-orm/neon-http';
const sql = neon(process.env.DATABASE_URL!);
export const db = drizzle(sql);
Schema definitions are in db/schema.ts.
users, sessions, accounts, verifications: Auth tables.analyses, chatbot_history: App specific tables.Example of a database query:
import { db } from "@/db";
import { users } from "@/db/schema";
import { eq } from "drizzle-orm";
// Select
const user = await db.select().from(users).where(eq(users.email, "test@example.com"));
// Insert
await db.insert(users).values({ ... });
npx drizzle-kit generatenpx drizzle-kit push (or migrate script)