Database Fundamentals
DanielPodolsky/ownyourcode
Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.
Instantly provision production-ready Postgres databases with Neon Instagres.
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install davila7/claude-code-templates neon-instagres --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .claude/skills/neon-instagres && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "neon-instagres" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagres into .claude/skills/neon-instagres/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neon-instagres", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagresType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install davila7/claude-code-templates neon-instagres --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .agents/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .agents/skills/neon-instagres && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "neon-instagres" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagres into .agents/skills/neon-instagres/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neon-instagres", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install davila7/claude-code-templates neon-instagres --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .cursor/skills/neon-instagres && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "neon-instagres" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagres into .cursor/skills/neon-instagres/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neon-instagres", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/davila7/claude-code-templates.git --path cli-tool/components/skills/database/neon-instagres--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install davila7/claude-code-templates neon-instagres --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .gemini/skills/neon-instagres && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "neon-instagres" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagres into .gemini/skills/neon-instagres/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neon-instagres", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install davila7/claude-code-templates neon-instagresInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .github/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .github/skills/neon-instagres && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "neon-instagres" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagres into .github/skills/neon-instagres/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neon-instagres", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill neon-instagres -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install davila7/claude-code-templates neon-instagres --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/cli-tool/components/skills/database/neon-instagres .opencode/skills/neon-instagres && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "neon-instagres" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/database/neon-instagres into .opencode/skills/neon-instagres/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "neon-instagres", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
neon-instagresInstantly provision production-ready Postgres databases with Neon Instagres.
Neon Instagres is an agent skill from davila7/claude-code-templates. Instantly provision production-ready Postgres databases with Neon Instagres. Use when setting up databases, when users mention PostgreSQL/Postgres, database setup, or need a development database. Works with Drizzle, Prisma, raw SQL.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering ORMs and data access. It works with PostgreSQL, Prisma and SQL. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteBashGrepGlobFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
neon.techconsole.neon.techget.neon.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Neon Instagres loads about 1.6k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 372 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
cat .env 2>/dev/null | grep DATABASE_URL- `--env .env.local` - Custom env file (Next.js, Remix)📁 Connection details in .env:npx get-db --env .env.local --yes --ref 4eCjZDz. Copy `PUBLIC_INSTAGRES_CLAIM_URL` from .env- Never commit `.env` to git- Add `.env` to `.gitignore`TABASE_URL contains credentials** - keep .env privateallowed-tools: Read, Write, Bash, Grep, GlobAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from davila7/claude-code-templates at commit c0ca7da, republished under its MIT licence (© davila7). 372 words, ~1,600 tokens.
.claude/skills/neon-instagres/SKILL.md (or your agent's skills folder).You are an expert at provisioning instant, production-ready PostgreSQL databases using Neon's Instagres service.
npx get-db --yes --ref 4eCjZDzThis provisions a Neon Postgres database in 5 seconds and creates:
DATABASE_URL - Connection pooler (for app queries)DATABASE_URL_DIRECT - Direct connection (for migrations)PUBLIC_INSTAGRES_CLAIM_URL - Claim URL (72-hour window)cat .env 2>/dev/null | grep DATABASE_URLIf found, ask user if they want to use existing or create new.
For new database:
npx get-db --yes --ref 4eCjZDzCommon Options:
--env .env.local - Custom env file (Next.js, Remix)--seed schema.sql - Seed with initial data--key DB_URL - Custom variable nameTell the user:
✅ Neon Postgres database provisioned!
📁 Connection details in .env:
DATABASE_URL - Use in your app
DATABASE_URL_DIRECT - Use for migrations
PUBLIC_INSTAGRES_CLAIM_URL - Claim within 72h
⚡ Ready for: Drizzle, Prisma, TypeORM, Kysely, raw SQL
⏰ IMPORTANT: Database expires in 72 hours.
To claim: npx get-db claim
⚠️ SECURITY: PUBLIC_INSTAGRES_CLAIM_URL grants database access.
Do not share this URL publicly.After provisioning, you can delegate to specialized Neon agents for advanced workflows:
For complex database schemas, data models, or architecture:
Delegate to @neon-database-architect for:
- Drizzle ORM schema generation
- Table relationship design
- Index optimization
- Schema migrationsFor auth systems with database integration:
Delegate to @neon-auth-specialist for:
- Stack Auth setup
- Neon Auth integration
- User authentication tables
- Session managementFor production migrations or schema changes:
Delegate to @neon-migration-specialist for:
- Safe migration patterns
- Database branching for testing
- Rollback strategies
- Zero-downtime migrationsFor query optimization or performance tuning:
Delegate to @neon-optimization-analyzer for:
- Query performance analysis
- Index recommendations
- Connection pooling setup
- Resource monitoringFor complex multi-step Neon workflows:
Delegate to @neon-expert for:
- Orchestrating multiple Neon operations
- Advanced Neon features
- Best practices consultation
- Integration coordinationnpx get-db --env .env.local --yes --ref 4eCjZDzOption 1: Manual
npx get-db --yes --ref 4eCjZDzOption 2: Auto-provisioning with vite-plugin-db
// vite.config.ts
import { postgres } from 'vite-plugin-db';
export default defineConfig({
plugins: [postgres()]
});npx get-db --yes --ref 4eCjZDzThen install dependencies and load with dotenv:
npm install dotenv postgresimport 'dotenv/config';
import postgres from 'postgres';
const sql = postgres(process.env.DATABASE_URL);After provisioning, suggest delegating to @neon-database-architect for schema design, or set up manually:
// drizzle.config.ts
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
schema: './src/db/schema.ts',
out: './drizzle',
dialect: 'postgresql',
dbCredentials: { url: process.env.DATABASE_URL! }
});// src/db/index.ts
import { drizzle } from 'drizzle-orm/postgres-js';
import postgres from 'postgres';
const client = postgres(process.env.DATABASE_URL!);
export const db = drizzle(client);npx prisma init
# DATABASE_URL already set by get-db
npx prisma db pushimport { DataSource } from 'typeorm';
export const AppDataSource = new DataSource({
type: 'postgres',
url: process.env.DATABASE_URL,
entities: ['src/entity/*.ts'],
synchronize: true
});npx get-db --seed ./schema.sql --yes --ref 4eCjZDzExample schema.sql:
CREATE TABLE users (
id SERIAL PRIMARY KEY,
email VARCHAR(255) UNIQUE NOT NULL,
created_at TIMESTAMP DEFAULT NOW()
);
INSERT INTO users (email) VALUES ('demo@example.com');Option 1: CLI
npx get-db claimOption 2: Manual
PUBLIC_INSTAGRES_CLAIM_URL from .envAfter claiming:
Connection Pooling:
DATABASE_URL (pooler) for app queriesDATABASE_URL_DIRECT for migrations/adminEnvironment Security:
.env to git.env to .gitignore.env.example with placeholdersDatabase Branching:
"npx get-db not found"
"Connection refused"
DATABASE_URL (pooler), not _DIRECT?sslmode=require if neededDatabase expired
npx get-db --yes --ref 4eCjZDz--ref 4eCjZDz for referral tracking© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in cli-tool/components/skills/database/neon-instagres of davila7/claude-code-templates.
Open the folder on GitHubat commit c0ca7da
Neon Instagres next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Neon Instagres this skilldavila7/claude-code-templates | 33k | — | ~1.6k | Automated safety check: Notes | MIT | |
| Database FundamentalsDanielPodolsky/ownyourcode | 290 | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| DB SculptorEliasOulkadi/shokunin | 114 | — | ~3.1k | Automated safety check: Notes | MIT | |
| DB Review312362115/claude | 107 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Planetscale Codebase Sqlcommenter Instrumentationplanetscale/skills | 133 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Stash Postgrescipherstash/stack | 157 | — | ~6.3k | Automated safety check: Pass | MIT |
DanielPodolsky/ownyourcode
Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.
EliasOulkadi/shokunin
Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…
312362115/claude
数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.
planetscale/skills
Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
cipherstash/stack
Query EQL v3 encrypted columns from hand-written Postgres SQL over pg (node-postgres) or postgres (postgres-js) — no ORM.
alirezarezvani/claude-skills
A skill your agent uses when the user asks to write SQL queries, optimize database performance, generate migrations, explore database schemas, or work with ORMs like Prisma, Drizzle, TypeORM, or…
davila7/claude-code-templates
Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
davila7/claude-code-templates
Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.
davila7/claude-code-templates
Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.
davila7/claude-code-templates
Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.
davila7/claude-code-templates
Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.
Works with
Categories
Instantly provision production-ready Postgres databases with Neon Instagres. Neon Instagres is an agent skill from davila7/claude-code-templates. Instantly provision production-ready Postgres databases with Neon Instagres.
Neon Instagres fits situations like: setting up databases; users mention PostgreSQL/Postgres; need a development database.
Run `npx skills add davila7/claude-code-templates --skill neon-instagres -a claude-code`. Or copy the skill folder (cli-tool/components/skills/database/neon-instagres in davila7/claude-code-templates) into .claude/skills/neon-instagres in your project. Claude Code loads it when a task matches its description.
Run `npx skills add davila7/claude-code-templates --skill neon-instagres -a codex`. Or copy the skill folder (cli-tool/components/skills/database/neon-instagres in davila7/claude-code-templates) into .agents/skills/neon-instagres in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill neon-instagres -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/neon-instagres, .gemini/skills/neon-instagres, .github/skills/neon-instagres and .opencode/skills/neon-instagres in your project.
Going by SKILL.md and its folder, Neon Instagres needs the command-line tools its instructions call (npx and npm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Bash, Grep, Glob.
SKILL.md names 3 domains. As links in the text: neon.tech, console.neon.tech and get.neon.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Neon Instagres is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Neon Instagres: Database Fundamentals (DanielPodolsky/ownyourcode, 290 stars), DB Sculptor (EliasOulkadi/shokunin, 114 stars), DB Review (312362115/claude, 107 stars) and Planetscale Codebase Sqlcommenter Instrumentation (planetscale/skills, 133 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.
Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.