databases SKILL.md skillA

databases from tamnguyendinh/anvien is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tamnguyendinh/anvien/databases@git:20260905.74471cc

Pins git:20260905.74471cc in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tamnguyendinh/anvien
Path
internal/aicontext/skills/databases/SKILL.md
Versions recorded
5
Latest version
git:20260905.74471cc, committed Sep 5, 2026
First version recorded
Jun 4, 2026
Size
7,299 bytes
Repository stars
12
License
MIT

Use when creating, changing, or reviewing MongoDB/PostgreSQL/SQLite database work in a real repository, including schema, models, migrations, queries, indexes, transactions, connection config, backup/restore assumptions, dual-database desktop sync, or performance; follow repo-native tooling and meet the production database bar unless the user explicitly asks for a prototype.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Databases Skill

Repo-first guidance for creating, changing, and reviewing MongoDB, PostgreSQL, or SQLite database work in real repositories.

## Purpose

Use this skill when the task involves database schema, models, migrations, queries, indexes, transactions, seed data, connection config, backup/restore assumptions, or database performance.

The goal is not to teach basic database syntax. The goal is to help the agent produce database work that is correct, production-ready, and consistent with the target repository.

## Core Rule

Follow the user's requested action.

If the user asks for review, review. If the user asks for a plan, plan. If the user asks for implementation, implementation is allowed.

In every mode, database work must meet the production database bar unless the user explicitly asks for a throwaway prototype.

## Repo-First Rule

Before proposing or editing database work, inspect the target repository first:
- Database engine and version
- ORM, query builder, or data-access layer
- Migration framework and migration conventions
- Existing schema, model, index, and query patterns
- Connection config and environment conventions
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tamnguyendinh/anvien/databases@sha256:78e2617849094870

The line at the top of this page pins the label git:20260905.74471cc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ns3bv34fcsziv6dh.svg)](https://markdownregistry.com/a/art_ns3bv34fcsziv6dh)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 4, 2026 and Sep 5, 2026, about one every 23 days.

versioncommittedcommitsizeaudit
git:20260905.74471cc latest2026-09-05 74471cc 7,299 BA view · diff
git:20260903.ce8b77d2026-09-03 ce8b77d 6,184 BA view · diff
git:20260607.7b4f4132026-06-07 7b4f413 5,793 BA view · diff
git:20260605.f58cb702026-06-05 f58cb70 6,894 BA view · diff
git:20260604.bd0c6252026-06-04 bd0c625 6,733 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7299 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tamnguyendinh/anvien · 12 stars · license MIT · pushed 2026-10-25 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_ns3bv34fcsziv6dh
GET https://markdownregistry.com/api/v1/resolve?ref=tamnguyendinh/anvien/databases
GET https://markdownregistry.com/api/v1/blob/78e26178490948705c8b82ae368abc6277ada1743b7e30e718a086413f8dbb41

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tamnguyendinh/anvien

anvien-cli SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-cli/SKILL.md · Use when the user needs to run Anvien CLI commands like analyze/index a repo, check status, clean the index, generate a…
git:20260529.973b8f5 · audit A · 12 stars
anvien-debugging SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-debugging/SKILL.md · Use when the user is debugging a bug, tracing an error, or asking why something fails. Examples: "Why is X failing?"…
git:20260529.973b8f5 · audit A · 12 stars
anvien-exploring SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-exploring/SKILL.md · Use when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar…
git:20260529.973b8f5 · audit A · 12 stars
anvien-guide SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-guide/SKILL.md · Use when the user asks about Anvien itself — available tools, how to query the knowledge graph, MCP resources, graph…
git:20260529.973b8f5 · audit A · 12 stars
anvien-impact-analysis SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-impact-analysis/SKILL.md · Use when the user wants to know what will break if they change something, or needs safety analysis before editing code…
git:20260529.973b8f5 · audit A · 12 stars
anvien-pr-review SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-pr-review/SKILL.md · Use when the user wants to review a pull request, understand what a PR changes, assess risk of merging, or check for…
git:20260529.973b8f5 · audit A · 12 stars
anvien-refactoring SKILL.md skill
tamnguyendinh/anvien · anvien-claude-plugin/skills/anvien-refactoring/SKILL.md · Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: "Rename this function"…
git:20260529.973b8f5 · audit A · 12 stars
architect-review SKILL.md skill
tamnguyendinh/anvien · internal/aicontext/skills/Architect-review/SKILL.md · use when user ask to review spec
git:20260605.d53ced9 · audit A · 12 stars
data-integrity-review SKILL.md skill
tamnguyendinh/anvien · internal/aicontext/skills/Data-Integrity/SKILL.md · Data integrity specialist for schema correctness, owner isolation, projections, hash chains, log separation, snapshots…
git:20260605.d53ced9 · audit A · 12 stars
edge-case-review SKILL.md skill
tamnguyendinh/anvien · internal/aicontext/skills/Edge-Case/SKILL.md · Use when stress-testing failure paths, race conditions, reconnects, duplicate or out-of-order events, stale state…
git:20260830.6c9c408 · audit A · 12 stars
spec-to-svg-flow-map SKILL.md skill
tamnguyendinh/anvien · internal/aicontext/skills/Spec-to-SVG-Flow-Map/SKILL.md · Chuyển spec sản phẩm, tính năng, UI, backend, auth, sync, lifecycle, external contract, hoặc spec đa nhánh thành SVG…
git:20260628.c4d3629 · audit A · 12 stars
system-architect SKILL.md skill
tamnguyendinh/anvien · internal/aicontext/skills/System-Architect/SKILL.md · Software architecture specialist for system design, scalability, and technical decision-making. Use PROACTIVELY when…
git:20260830.16c215f · audit A · 12 stars

Every file in tamnguyendinh/anvien

Other files named databases

databases SKILL.md skill
vodailocz/kilo-kit-mcp · skills/engineering/databases/SKILL.md · Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational…
git:20260502.38d5305 · audit A · 27 stars
databases SKILL.md skill
dojocodinglabs/code-sensei · skills/databases/SKILL.md · SQL, databases, ORMs, and data modeling. Activated when Claude works with database code, .sql files, Prisma schemas, or…
git:20260207.d76e1ca · audit A · 14 stars
databases SKILL.md skill
iuliandita/skills · skills/databases/SKILL.md · Design schemas, tune queries, migrate, and administer PostgreSQL, MySQL/MariaDB, MongoDB, MSSQL, Redis, and Valkey.
git:20261028.1c536c5 · audit A · 11 stars
databases SKILL.md skill
wewpellex21/code-sensei · skills/databases/SKILL.md · SQL, databases, ORMs, and data modeling. Activated when Claude works with database code, .sql files, Prisma schemas, or…
git:20260207.d76e1ca · audit A · 3 stars

Browse by kind, by grade A, or by owner.