database-engineer
Skill0 starsChanged 4 months agoMITView on GitHub
Use this skill when an AI coding agent should schema design, queries, migrations, constraints, indexing, transactions, SQL injection prevention, rollback planning, and data integrity. It supports developer tasks such as designing or changing schemas, writing migrations, and related engineering work. Do not use it for frontend-only display changes.
We split this skill into the rules it gives an agent
24 rules. 0 are common, 24 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
24
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 16
Do not use network access unless the user explicitly approves a bounded external action in the current thread.
- Distinctive: line 17
Do not install packages unless the user explicitly approves the exact package action.
- Distinctive: line 18
Do not run destructive commands unless the user explicitly approves the exact operation.
- Distinctive: line 19
Do not expose secrets, tokens, cookies, credentials, private keys, account data, or session material in output, logs, screenshots, reports, …
- Distinctive: line 20
Do not access cross-workspace files unless explicitly approved.
- Distinctive: line 22
Avoid unrelated rewrites, broad formatting churn, and speculative refactors.
- Distinctive: line 23
Ask before side-effecting actions such as writing outside the requested scope, moving files, sending messages, changing accounts, …
- Distinctive: line 33
Use this skill for:
- Distinctive: line 44
Do not use this skill for:
- Distinctive: line 50
Use a more specific neighboring engineering skill when the task clearly belongs there.
- Distinctive: line 54
Use constraints for invariants the database can enforce..
- Distinctive: line 55
Use parameterized queries only..
- Distinctive: line 56
Keep migrations small and reversible where practical..
- Distinctive: line 65
Avoid network access, package installation, browser profiles, account actions, and cross-workspace reads unless explicitly approved.
- Distinctive: line 67
Verify locally with checks proportional to risk.
- Distinctive: line 76
add tests or query checks for integrity and performance.
- Distinctive: line 83
Keep edits focused on the requested skill task.
- Distinctive: line 84
Avoid unrelated refactors, broad formatting churn, dependency churn, and metadata churn.
- Distinctive: line 85
Keep writes inside the approved repository or explicitly approved target paths.
- Distinctive: line 86
Use preview, dry-run, or separate output files for risky file operations.
- Distinctive: line 87
Verify after changes with local checks proportional to the blast radius.
- Distinctive: line 92
Run migration checks or local database tests where available..
- Distinctive: line 93
Check query parameterization and ownership scope..
- Distinctive: line 94
Verify rollback or forward-fix notes for risky changes..
“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
Internal Safety Override
- Local-first is the default mode: inspect local project files and user-provided context before considering external sources.
- Do not use network access unless the user explicitly approves a bounded external action in the current thread.
- Do not install packages unless the user explicitly approves the exact package action.
- Do not run destructive commands unless the user explicitly approves the exact operation.
- Do not expose secrets, tokens, cookies, credentials, private keys, account data, or session material in output, logs, screenshots, reports, or generated files.
- Do not access cross-workspace files unless explicitly approved.
- Preserve user changes and never revert work you did not make unless explicitly requested.
- Avoid unrelated rewrites, broad formatting churn, and speculative refactors.
- Ask before side-effecting actions such as writing outside the requested scope, moving files, sending messages, changing accounts, deploying, publishing, or modifying production data.
Skill-specific safety focus: this skill commonly touches database, data-loss, SQL injection, migrations, secrets. Keep those areas explicit, bounded, and approval-gated.
Purpose
Schema design, queries, migrations, constraints, indexing, transactions, SQL injection prevention, rollback planning, and data integrity.
When to Use
Use this skill for:
- designing or changing schemas.
- writing migrations.
- optimizing queries or indexes.
- reviewing transactions and data integrity.
Typical trigger language includes "build", "fix", "review", "debug", "test", "automate", "validate", "design", "implement", or "audit" when the task context matches this skill.
When Not to Use
Do not use this skill for:
- frontend-only display changes.
- analytics-only interpretation without schema impact.
- destructive data changes without approval.
Use a more specific neighboring engineering skill when the task clearly belongs there.
Operating Principles
- Use constraints for invariants the database can enforce..
- Use parameterized queries only..
- Keep migrations small and reversible where practical..
- Index for real access patterns..
- Plan rollback and data preservation before destructive changes..
Local-First Workflow
- Restate the task, target files, and expected outcome.
- Inspect only approved local files, tool outputs, and user-provided context.
- Identify trust boundaries, side effects, and verification needs.
- Avoid network access, package installation, browser profiles, account actions, and cross-workspace reads unless explicitly approved.
- Make the smallest useful plan or change.
- Verify locally with checks proportional to risk.
- Report changes, evidence, and remaining uncertainty.
Advanced Workflow
- scope data model, volume, lifecycle, and access patterns.
- inspect existing schema, migrations, queries, and ORM usage.
- design constraints, indexes, transactions, and migration sequence.
- implement focused schema or query changes.
- add tests or query checks for integrity and performance.
- report rollback notes and residual risk.
Safe Modification Workflow
- Inspect first and understand the surrounding code, files, or workflow.
- Preserve user changes and never revert edits you did not make unless explicitly requested.
- Keep edits focused on the requested skill task.
- Avoid unrelated refactors, broad formatting churn, dependency churn, and metadata churn.
- Keep writes inside the approved repository or explicitly approved target paths.
- Use preview, dry-run, or separate output files for risky file operations.
- Verify after changes with local checks proportional to the blast radius.
- Report what changed, what was verified, what was skipped, and why.
Validation Workflow
- Run migration checks or local database tests where available..
- Check query parameterization and ownership scope..
- Verify rollback or forward-fix notes for risky changes..
Expected Output
Separate the response into the parts that matter for the task:
- Facts observed locally or provided by the user.
- Assumptions and constraints.
- Plan, recommendation, or changes made.
- Verification results.
- Risks, skipped checks, and open questions.
For reviews, lead with findings ordered by severity. For implementation, summarize the completed work and verification after making changes.
Escalation Points
Pause and ask before continuing when the task requires:
- Network access, external website access, downloads, uploads, or account actions.
- Package installation or new executable tooling.
- Destructive commands, recursive deletes, mass moves, forced checkouts, or irreversible data changes.
- Reading or handling credentials, tokens, cookies, private keys, browser profiles, or private accounts.
- Cross-workspace file access.
- Production deployment, cloud changes, billing changes, or customer-impacting actions.
- Ambiguous user-impacting, security-sensitive, regulated, or data-loss-prone decisions.
Examples
1. Unique slug
User asks: "Make team slugs unique."
Expected behavior: Add a constraint or index and handle conflicts.
Safety check: Use parameterized access and migration tooling.
Expected output: Migration summary and rollback notes.
2. Slow query
User asks: "Orders are slow when filtered by status."
Expected behavior: Inspect query shape and add a targeted index if justified.
Safety check: Keep tenant scope in the query.
Expected output: Root cause and verification.
3. Transfer transaction
User asks: "Make account transfers reliable."
Expected behavior: Use a transaction and guarded updates.
Safety check: Prevent negative balances.
Expected output: Transaction plan and tests.
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★ 62same name
- nad33mahm3d/flareskill★ 1same name
- paulopestanajunior/agents-config★ 1same 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 repository16 other files it gives its agents.
- agent-workflow-engineerSkill
- automation-engineerSkill
- backend-api-engineerSkill
- browser-automation-engineerSkill
- debug-code-reviewerSkill
- devops-observability-engineerSkill
- document-automation-engineerSkill
- frontend-engineerSkill
- fullstack-feature-builderSkill
- lessworksSkill
- python-engineerSkill
- runtime-parity-engineerSkill
- security-reviewerSkill
- skill-auditorSkill
- test-qa-engineerSkill
- trinity-coordinatorSkill
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.

