postgresql
Skill13 starsChanged 27 days agoMITView on GitHub
The world's most advanced open source relational database. - mysql (Score: 0.93) Why: Direct relationship, Both are Databases, Shared ecosystem (database), Can deploy to aws, Similar network profile - drizzle (Score: 0.74) Why: Direct relationship, Both are Databases, Similar network profile - prisma (Score: 0.73) Why: Direct relationship, Both are Databases, Similar network profile
26 other projects use a version of this.
Adopted by
Most recently taken up by
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- hybridlabor-api/aostheir own version, first seen Nov 29, 2026
- iliaal/ai-skillstheir own version, first seen Nov 28, 2026
- lawless-m/claude-skillstheir own version, first seen Nov 28, 2026
- speakeasy-api/gramtheir own version, first seen Nov 26, 2026
Used with
Projects with it also use mongodb.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MongoDBSkillmongodb
Front door for MongoDB and MongoDB Atlas. Use it before answering which database, MongoDB deployment, Atlas tier, or database hosting to use, even for advice-only questions. MongoDB updates frequently, so check this skill first. Also use it before setting up, provisioning, or connecting to MongoDB or Atlas, or creating a throwaway or prototype database. Also use when the user mentions "MongoDB", "Atlas", "MongoDB quickstart", "document database", "NoSQL", "BSON", "Mongoose", "PyMongo", "RAG", "Vector Search", "aggregation pipeline", "change streams", or "backend", and for general MongoDB development questions (CRUD, transactions, drivers and ODMs, server versions) from current docs. If a more specific MongoDB skill is installed and matches the task (schema design, query writing or optimization, search and vector search, stream processing, connection tuning, MCP server setup, queryable encryption sizing), load that instead; if it isn't installed, use this skill, which routes to it.
Also in 3 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- speakeasy-api/gram★ 281same name
- kid-sid/claude-spellbook★ 190same name
- iliaal/ai-skills★ 46same name
- kumaran-is/claude-code-onboarding★ 35same name
- G1Joshi/Agent-Skills★ 15same name
- hybridlabor-api/aos★ 9same name
- xfstudio/skills★ 9same name
- lawless-m/claude-skills★ 6same name
- aakash1552005/universal-agent-skills★ 4same name
- malinskibeniamin/skills★ 4same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository140 other files it gives its agents.
- algoliaSkill
- anthropic-mcpSkill
- anthropicSkill
- argo-cdSkill
- auth0Skill
- aws-bedrockSkill
- aws-dynamodbSkill
- aws-lambdaSkill
- aws-s3Skill
- azure-blob-storageSkill
- azure-openaiSkill
- better-authSkill
- better-sqlite3Skill
- biomeSkill
- braintreeSkill
- bullmqSkill
- caddySkill
- chromadbSkill
- clerkSkill
- cloudflare-d1Skill
- cloudflare-r2Skill
- cloudflareSkill
- cloudflare-workersSkill
- cloudinarySkill
- cohereSkill
- convexSkill
- datadogSkill
- deepgramSkill
- deepseekSkill
- deno-deploySkill
- digitaloceanSkill
- discordSkill
- dockerSkill
- drizzleSkill
- elevenlabsSkill
- eslintSkill
- expressSkill
- fastapiSkill
- firebaseSkill
- flySkill
- geminiSkill
- github-actionsSkill
- githubSkill
- gitSkill
- google-cloud-runSkill
- google-cloud-storageSkill
- google-maps-platformSkill
- grafanaSkill
- groqSkill
- helmSkill
- honoSkill
- inngestSkill
- jaegerSkill
- jwtSkill
- kafkaSkill
- kubernetesSkill
- langchainSkill
- langfuseSkill
- langgraphSkill
- lemon-squeezySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
Use JSONB for unstructured metadata (like user preferences), but do not store core domain entities in JSONB.
- Distinctive: line 45
If transactions frequently deadlock, ensure all your application transactions acquire locks in the exact same deterministic order, and keep …
- Very specific: line 48
Never connect as the postgres superuser from your application.
- Distinctive: line 54
Use this when your agent works with postgresql — structured patterns beat pasted docs and prevent common hallucinations.
“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PostgreSQL Skill
The world's most advanced open source relational database.
Ecosystem Graph Preview
graph LR
postgresql["postgresql"]:::core
classDef core fill:#f9f,stroke:#333,stroke-width:4px;
drizzle -- "integrates with" --> postgresql
mysql -- "alternative to" --> postgresql
postgresql -- "extended by" --> neon
postgresql -- "integrates with" --> prisma
postgresql -- "integrates with" --> drizzle
postgresql -- "alternative to" --> mysql
prisma -- "integrates with" --> postgresqlRecommended Next Skills
- mysql (Score: 0.93) Why: Direct relationship, Both are Databases, Shared ecosystem (database), Can deploy to aws, Similar network profile
- drizzle (Score: 0.74) Why: Direct relationship, Both are Databases, Similar network profile
- prisma (Score: 0.73) Why: Direct relationship, Both are Databases, Similar network profile
Quick Start
PostgreSQL is the gold standard for relational data. It supports advanced JSONB querying, vector similarity (pgvector), and complex window functions.
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=secret postgres:16Production Patterns
Connection Pooling
Postgres spawns a new OS process per connection (unlike MySQL's threads). In serverless environments, this quickly exhausts memory. You MUST use a connection pooler like PgBouncer or a managed serverless Postgres like Neon/Supabase to multiplex connections.
Architecture & Scaling
JSONB vs Relational
Use JSONB for unstructured metadata (like user preferences), but do not store core domain entities in JSONB. You lose foreign key constraints and standard indexing performance.
Error Recovery
If transactions frequently deadlock, ensure all your application transactions acquire locks in the exact same deterministic order, and keep transactions as short as possible.
Security Notes
Never connect as the postgres superuser from your application. Create a dedicated application user with strictly limited schema access (GRANT SELECT, INSERT ON ALL TABLES...).
References
Why use this skill
Use this when your agent works with postgresql — structured patterns beat pasted docs and prevent common hallucinations.
AI pitfalls
- Inventing column names or schema fields
- Using deprecated driver methods or wrong connection strings
- Omitting connection pooling or transaction boundaries
Production checklist
- Migrations version-controlled and applied via CI
- Connection limits and pooling configured
- Backups and restore procedure documented
Related skills
neon— extended byprisma— integrates withdrizzle— integrates withmysql— alternative to
Last Verified: 2026-07-02
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

