database-architect
Skill1 starsChanged 18 days agoMITView on GitHub
Enforces database schema integrity, indexing, Supabase Row Level Security (RLS), and N+1 query prevention across SQL/ORM stacks. Use in Phase 4 (Technical Spec) and Phase 6 (Implementation).
20 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
- agenticaiengineer/ai-engineer-skillstheir own version, first seen Nov 29, 2026
- thanhdat2508/agent-skillstheir own version, first seen Nov 22, 2026
- AtilaMedeiros/skillstheir own version, first seen Nov 16, 2026
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Nov 12, 2026
Used with
Projects with it also use security-engineer, system-architect and 1 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.
belokonmSkillsecurity-engineer
Expert in infrastructure security, DevSecOps pipelines, and zero-trust architecture design.
Also in 3 projects that use this
nahisahoSkillsystem-architect
Copilot agent that assists with architecture design, C4 model diagrams, ADR creation, and tradeoff analysis
Also in 3 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 4 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- tranhieutt/software_development_department★ 71same name
- aiunlocked1412/claude-skill-unlock★ 18same name
- xfstudio/skills★ 9same name
- letscooktech-studio/ai-engineering-arsenal★ 7same name
- letscooktech-studio/outcomelab★ 7same name
- aakash1552005/universal-agent-skills★ 4same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- salmandev/everything-gemini★ 3same name
- agenticaiengineer/ai-engineer-skills★ 2same name
- ai4brands-design/claude-skills★ 2same name
10 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 repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- platform-cliSkill
- platform-desktopSkill
- platform-mobileSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- boundary-guardSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- design-auditSkill
- design-system-generatorSkill
- design-system-integratorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sast-scannerSkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- test-suite-auditorSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
0
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 14
Read docs/project/STACK.md, docs/project/ARCHITECTURE.md, and .agents/skills/database-architect/references/db-patterns.md (on-demand) for …
- Very specific: line 20
Verify schema migrations and query patterns trace back to REQ-XXX and docs/specs/*.md.
“Common” is measured: kept by at least 6 in 10 of the 20 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 Architect
Trigger
Phase 4 (Technical Spec) and Phase 6 (Implementation).
Process
- Read
docs/project/STACK.md,docs/project/ARCHITECTURE.md, and.agents/skills/database-architect/references/db-patterns.md(on-demand) for SQL indexing strategies, explicit query projections, N+1 prevention, transactions, and Supabase RLS templates. - Apply universal schema and query integrity across SQL/ORM implementations:
- Require explicit primary keys and indexed foreign keys on every table.
- Forbid
SELECT *and N+1 query loops; use explicit column selection, eager loading, or joins. - Enforce RLS policies and safe
SECURITY DEFINERsearch paths when targeting Supabase. - Wrap multi-step state mutations in explicit transactions.
- Verify schema migrations and query patterns trace back to
REQ-XXXanddocs/specs/*.md.
Output Contract
Schema definitions, indexes, RLS policies, and query patterns documented in docs/specs/ (Phase 4) and implemented without SELECT * or N+1 loops (Phase 6).
Checklist
- Read
.agents/skills/database-architect/references/db-patterns.md - Every table has a primary key and indexed foreign keys
- Zero
SELECT *queries or N+1 query loops in production code paths - Supabase RLS enabled with explicit policies when using Supabase
Prohibitions
- Leaving Supabase tables without RLS enabled in production schemas.
- Issuing queries inside
for/maploops over parent records. - Storing derived balances without transactional consistency where required.
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.

