database
Skill3 starsChanged 3 days agoMITView on GitHub
Use when changing database schemas, migrations, database access, or database package structure.
- Reads credentials
35 other projects use a version of this.
Adopted by
Most recently taken up by
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- yamanidev/claude-code-configurationtheir own version, first seen Nov 29, 2026
- davidvornholt/mail-mcpword for word, first seen Nov 28, 2026
- davidvornholt/mailboxword for word, first seen Nov 28, 2026
- theopenco/llmgatewaytheir own version, first seen Nov 25, 2026
- dreitagebart/skillstheir own version, first seen Nov 22, 2026
Used with
Projects with it also use monitoring, devops and 2 more.
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.
cwklurksSkillmonitoring
Also in 3 projects that use this
mrgoonieSkilldevops
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.
Also in 5 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 4 projects that use this
0xSeroSkillsecurity
Also in 12 projects that use this
Other versions35 projects use a version of this.
Word for word · 2
- davidvornholt/mail-mcp★ 2100% same
- davidvornholt/mailbox★ 2100% same
Edited · 0
None found.
Wrote their own version · 33
- gridaco/grida★ 2.7ksame name
- theopenco/llmgateway★ 1.8ksame name
- AsiaOstrich/universal-dev-standards★ 86same name
- msrv-tech/skills★ 68same name
- manu14357/Zelaxy★ 15same name
- darknecrocities/SkillBuilder★ 13same name
- yamanidev/claude-code-configuration★ 9same name
- YepAPI/skills★ 8same name
- umararshad4/honey-stack★ 6same name
- AsiaOstrich/EngramGraph★ 4same name
23 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ci-pipelinesSkill
- declarative-infraSkill
- frontend-designSkill
- issuesSkill
- nextjsSkill
- prsSkill
- review-fixSkill
- reviewSkill
- screenshots-in-prsSkill
- secrets-and-configSkill
- standards-syncSkill
- ux-uiSkill
The file
Files
Database and migrations
Databases default to Drizzle, and the Drizzle schema is the source of truth. Generate migrations from it with drizzle-kit generate, and use drizzle-kit generate --custom for SQL the schema can't express.
Unless a database is private to one app, its schema, migrations, Drizzle config, and scripts live in a dedicated package: packages/db for the primary database, and one package per additional database.
Effect code accesses PostgreSQL through @effect/sql-pg, using the connection helpers from the project's @<project>/db package rather than its own PgClient.
When a process opens more than one pool against the same database, such as an Effect client beside the pg pool an auth library uses, their maximum sizes together stay within the role's connection limit in every environment, including pull request previews. Pools can't lend each other idle connections, and a query past a full pool waits while one past the role's limit fails. An integration test saturates every pool at once against a role created with that limit.
The canonical justfile owns the local development database (just dev-db-start). Don't add a project script or compose file for it.
bun run doesn't load .env.local, so scripts that need DATABASE_URL load it explicitly, as in "db:migrate": "bun --env-file=.env.local drizzle-kit migrate".
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.

