nocobase-db SKILL.md skillA

nocobase-db from nocobase/nocobase is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nocobase/nocobase/nocobase-db@git:20261022.9eea184

Pins git:20261022.9eea184 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nocobase/nocobase
Path
packages/libs/db/skills/nocobase-db/SKILL.md
Versions recorded
5
Latest version
git:20261022.9eea184, committed Oct 22, 2026
First version recorded
Oct 3, 2026
Size
35,792 bytes
Repository stars
24,822
License
none declared

Work with the database in a NocoBase 3 application: configure connections and dialects, add migrations and seeds, declare schema with the Collection Builder, read and write records with Repository or QueryAdapter, run transactions, and read Collection definitions. Use for any task under database/ or any server code that touches data. Do not use for the NocoBase 2 @nocobase/database package.

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

# The database in a NocoBase 3 application

Most mistakes here are made before the first line of code, by putting a task at the wrong layer: changing schema from runtime code, reading records through the schema builder, or reimplementing relation writes on top of raw queries.

Six areas, in the order an application grows into them:

| Area                                            | Owns                                                         |
| ----------------------------------------------- | ------------------------------------------------------------ |
| [Configuration](#1-configuration)               | which databases exist, and which dialect each one speaks     |
| [Migrations and seeds](#2-migrations-and-seeds) | schema history and install data                              |
| [Builder](#3-builder)                           | how a migration declares tables, fields and constraints      |
| [Repository and Query](#4-repository-and-query) | runtime reads and writes                                     |
| [Transactions](#5-transactions)                 | making several writes succeed or fail together               |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nocobase/nocobase/nocobase-db@sha256:0030b1210157869e

The line at the top of this page pins the label git:20261022.9eea184, 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_s7ih4axistgzwpcm.svg)](https://markdownregistry.com/a/art_s7ih4axistgzwpcm)

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

Versions

The registry has recorded 5 versions of this file, between Oct 3, 2026 and Oct 22, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261022.9eea184 latest2026-10-22 9eea184 35,792 BA view · diff
git:20261015.98b38622026-10-15 98b3862 34,724 BA view · diff
git:20261015.69e212c2026-10-15 69e212c 34,669 BA view · diff
git:20261007.37c8d202026-10-07 37c8d20 34,271 BA view · diff
git:20261003.7dbc54b2026-10-03 7dbc54b 32,608 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 (35792 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

nocobase/nocobase · 24,822 stars · license none declared · pushed 2026-11-03 · branch v3-develop

API

GET https://markdownregistry.com/api/v1/artifacts/art_s7ih4axistgzwpcm
GET https://markdownregistry.com/api/v1/resolve?ref=nocobase/nocobase/nocobase-db
GET https://markdownregistry.com/api/v1/blob/0030b1210157869ed0a4bce98d89685d5857d923750e331aed1eae5cd408490e

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 nocobase/nocobase

AGENTS.md AGENTS.md file
nocobase/nocobase · AGENTS.md
git:20261027.df09e63 · audit A · 24,822 stars
CLAUDE.md CLAUDE.md file
nocobase/nocobase · CLAUDE.md
git:20260821.8103b01 · audit B · 24,822 stars
AGENTS.md@docs AGENTS.md file
nocobase/nocobase · docs/AGENTS.md
git:20261018.90e5a99 · audit A · 24,822 stars
CLAUDE.md@docs CLAUDE.md file
nocobase/nocobase · docs/CLAUDE.md
git:20260915.5c73abe · audit B · 24,822 stars
nb-studio-cli SKILL.md skill
nocobase/nocobase · packages/app/app-cli-client/tests/fixtures/packaged-cli/skills/nb-studio-cli/SKILL.md · A synthetic Studio Skill for offline CLI tests.
git:20261013.6758f9f · audit B · 24,822 stars
nocobase-app-development SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-development/SKILL.md · Primary entry for building complete NocoBase 3 applications and individual features: business and administration pages…
git:20261031.e9256f4 · audit B · 24,822 stars
shadcn SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-development/references/frontend/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261010.98e79a5 · audit A · 24,822 stars
nocobase-app-plugin-development SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.md · Create and maintain NocoBase 3 plugins inside an existing App or a NocoBase 3 source workspace, including Client…
git:20261028.a56182e · audit A · 24,822 stars
nocobase-app-upgrade SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-upgrade/SKILL.md · Upgrade this application to a newer release of the template it was generated from, which is how this application moves…
git:20261028.d3f0c92 · audit A · 24,822 stars
nocobase-deployment SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-deployment/SKILL.md · Plan, build, deploy, verify, upgrade, and troubleshoot NocoBase 3 applications on an existing Studio or a standalone…
git:20261031.e9256f4 · audit A · 24,822 stars
AGENTS.md@packages/examples/app-plugin-authorization-example AGENTS.md file
nocobase/nocobase · packages/examples/app-plugin-authorization-example/AGENTS.md
git:20261026.05f800a · audit A · 24,822 stars
CLAUDE.md@packages/examples/app-plugin-authorization-example CLAUDE.md file
nocobase/nocobase · packages/examples/app-plugin-authorization-example/CLAUDE.md
git:20260919.64b3fdb · audit B · 24,822 stars

Every file in nocobase/nocobase

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