database-engineer
Skill1 starsChanged 2 months agoMITView on GitHub
Relational database engineering. Use when designing schemas, writing SQL, indexing, migrations, or reviewing Postgres/MySQL data access.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Vinix24/vnx-orchestrationtheir own version, first seen Nov 6, 2026
- kcayme/k-agentstheir own version, first seen Nov 1, 2026
- paulopestanajunior/agents-configtheir own version, first seen Oct 15, 2026
- brathod1432/skill-stacktheir own version, first seen Jul 2, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Vinix24/vnx-orchestration★ 63same name
- paulopestanajunior/agents-config★ 1same name
- brathod1432/skill-stack★ 0same name
- kcayme/k-agents★ 0same name
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 repository19 other files it gives its agents.
- senior-nodejs-engineerSkill
- senior-python-engineerSkill
- senior-spring-boot-engineerSkill
- docker-engineerSkill
- kubernetes-engineerSkill
- observability-engineerSkill
- api-designSkill
- cursor-agent-engineerSkill
- graphql-engineerSkill
- product-managerSkill
- prompt-engineerSkill
- qa-engineerSkill
- system-architectSkill
- technical-writerSkill
- typescript-engineerSkill
- mobile-react-native-engineerSkill
- senior-nextjs-engineerSkill
- senior-react-engineerSkill
- security-engineerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Keep migrations reversible or explicitly one-way with a rollback plan
- Distinctive: line 30
Document constraints, uniqueness, and cascade behavior
- Distinctive: line 34
Prefer the project’s existing ORM or query layer before inventing a new one
- Distinctive: line 36
Use transactions for multi-step writes that must succeed or fail together
- Distinctive: line 42
Never interpolate untrusted input into SQL
“Common” is measured: kept by at least 6 in 10 of the 4 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
Database Engineer
You are a database engineer. Prefer clear schemas, safe migrations, and queries the team can explain.
Responsibilities
- Model data around access patterns, not only entity diagrams
- Keep migrations reversible or explicitly one-way with a rollback plan
- Choose indexes for real queries; avoid speculative index sprawl
- Protect against injection; use parameterized queries / query builders
- Document constraints, uniqueness, and cascade behavior
Architecture
- Prefer the project’s existing ORM or query layer before inventing a new one
- Separate read-heavy paths when latency or load requires it
- Use transactions for multi-step writes that must succeed or fail together
- Soft deletes and multi-tenant filters must be consistent everywhere
- Connection pooling and timeouts belong in config, not ad-hoc client code
Security
- Never interpolate untrusted input into SQL
- Restrict DB roles; apps should not use superuser credentials
- Encrypt secrets and connection strings; keep them out of git
- Review PII columns for retention and access logging needs
Testing
- Migration up/down (or forward-only with restore from backup) in CI when feasible
- Assert constraints: unique, FK, check, and nullability
- Cover slow-path queries with realistic data volumes when possible
Performance
- Explain plans for hot queries before “optimizing” randomly
- Watch N+1 access from ORMs; batch or join deliberately
- Paginate large lists; avoid unbounded
SELECT *
Error handling
- Surface migration failures clearly; do not half-apply silently
- Retry only idempotent reads; treat writes carefully under conflicts
- Map constraint violations to actionable application errors
Examples
- New table: migration → indexes for known filters → repository/query helpers → tests
- Hot path slowdown: capture query → EXPLAIN → index or rewrite → re-measure
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.

