Evolving The Data Model
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
数据库开发子类型规范 — Migration 安全策略 + Schema 变更审查. An agent skill from devcodex-labs/devcodex.
$ npx skills add devcodex-labs/devcodex --skill dev-database -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install devcodex-labs/devcodex dev-database --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/dev-database .claude/skills/dev-database && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dev-database" agent skill from https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-database into .claude/skills/dev-database/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dev-database", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-databaseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add devcodex-labs/devcodex --skill dev-database -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install devcodex-labs/devcodex dev-database --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/content/skills/dev-database .agents/skills/dev-database && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dev-database" agent skill from https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-database into .agents/skills/dev-database/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dev-database", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add devcodex-labs/devcodex --skill dev-database -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install devcodex-labs/devcodex dev-database --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/content/skills/dev-database .cursor/skills/dev-database && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dev-database" agent skill from https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-database into .cursor/skills/dev-database/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dev-database", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/devcodex-labs/devcodex.git --path content/skills/dev-database--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add devcodex-labs/devcodex --skill dev-database -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install devcodex-labs/devcodex dev-database --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/content/skills/dev-database .gemini/skills/dev-database && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dev-database" agent skill from https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-database into .gemini/skills/dev-database/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dev-database", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install devcodex-labs/devcodex dev-databaseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add devcodex-labs/devcodex --skill dev-database -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .github/skills && cp -r skills-src/content/skills/dev-database .github/skills/dev-database && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dev-database" agent skill from https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-database into .github/skills/dev-database/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dev-database", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add devcodex-labs/devcodex --skill dev-database -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install devcodex-labs/devcodex dev-database --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/content/skills/dev-database .opencode/skills/dev-database && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dev-database" agent skill from https://github.com/devcodex-labs/devcodex/tree/main/content/skills/dev-database into .opencode/skills/dev-database/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dev-database", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dev-database数据库开发子类型规范 — Migration 安全策略 + Schema 变更审查. An agent skill from devcodex-labs/devcodex.
Dev Database is an agent skill from devcodex-labs/devcodex. 数据库开发子类型规范 — Migration 安全策略 + Schema 变更审查
Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `intent.json`).
It sits in Databases. The repository describes itself as: Intent-driven AI coding workflow runtime for consistent context, skills, approvals, validation, and handoffs across six AI coding hosts. The licence is AGPL-3.0.
Read from SKILL.md and the folder at commit 1dd4525. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dev Database loads about 482 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 131 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from devcodex-labs/devcodex at commit 1dd4525, republished under its AGPL-3.0 licence (© devcodex-labs). 131 words, ~482 tokens.
.claude/skills/dev-database/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.涉及数据库操作:Schema 变更(DDL)、Migration 文件、ORM 模型、查询优化、数据迁移。
| 操作类型 | 要求 |
|---|---|
| 新增列 | DEFAULT 或 NULLABLE,禁止 NOT NULL 无默认值(避免锁表) |
| 删除列 | 必须先废弃(rename/注释),至少一个版本后再删除 |
| 修改列类型 | 评估存量数据兼容性,准备回滚脚本 |
| 新建索引 | 生产环境使用 CONCURRENTLY(PostgreSQL)或 ALGORITHM=INPLACE(MySQL) |
migrations/YYYYMMDD_description.{sql|ts|js} — Migration 文件reports/requirements/ — 开发报告(含 Schema 变更说明)config.local.json、env、secretRef 或 secret manager 时,才从对应入口读取,缺失文件或字段时提醒用户补齐DataMutationPlan:范围来自显式清单、需求目录数据源或稳定业务键;跨环境写入不得直接用 source _id 匹配目标库,必须在目标环境重新唯一匹配并 dry-run 输出 source_id、target_id、缺失/重复清单;不能唯一匹配时阻断写库DatabaseRecordMigrationExportGate:只读源环境,导出主记录和引用记录的全字段 JSON/Extended JSON 备份,生成可执行 insert/upsert 脚本、执行顺序、引用完整性校验和目标 dry-run 说明;不得只给单条记录或截图说明OneOffRequirementScriptPlacementGate:需要留档/复核时放入对应 requirement/bug/任务目录 scripts/;纯本地临时执行时须先通过 lifecycle constructor 分配 WorkspaceTempManifestV2,再写入 canonical workspace temp 的 runs/<project>/<producer>/<run-id>/local-scripts/。V1 manifest 只读兼容;禁止在任务目录另建 .tmp;只有长期复用、发布、维护或运维入口才进入项目通用 scripts/Migration 执行完成后须执行以下验证,完成后方可宣告任务完成:
| 验证项 | 操作 | 通过标准 |
|---|---|---|
| Schema 一致性 | 对比 ORM 模型与实际表结构 | 列名/类型/约束完全一致 |
| 存量数据可用 | 抽样查询受影响的行 | 无报错,关键字段无 NULL 异常 |
| 索引生效 | EXPLAIN 关键查询 | 新索引被使用,无全表扫描回退 |
| 回滚可用性 | 验证回滚脚本语法(干运行) | 回滚脚本无语法错误 |
© devcodex-labs, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in content/skills/dev-database of devcodex-labs/devcodex.
Open the folder on GitHubat commit 1dd4525
Dev Database next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dev Database this skilldevcodex-labs/devcodex | 439 | — | ~482 | Automated safety check: Pass | AGPL-3.0 | |
| Evolving The Data ModelTriliumNext/Trilium | 38k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| Hybrid Cloud Outboxesgetsentry/sentry | 45k | — | ~4.8k | Automated safety check: Pass | Custom licence | |
| Iptvnator Sqlite DB Worker4gray/iptvnator | 7.3k | — | ~824 | Automated safety check: Pass | MIT | |
| Replicate Video AdJingyi-Wu-Richael/replicate-video-ad | 106 | 1 repos | ~1.6k | Automated safety check: Pass | None | |
| Content Create Hero Imageprisma/web | 1.1k | — | ~6.9k | Automated safety check: Pass | None |
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
getsentry/sentry
Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.
4gray/iptvnator
A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.
Jingyi-Wu-Richael/replicate-video-ad
Analyze a reference video frame by frame and turn its visual grammar, story beats, dialogue, product reveal, proof sequence, and conversion structure into a production-ready ecommerce story-ad…
prisma/web
A skill your agent uses when the operator wants a hero or meta image for a Prisma blog post; asks to create or generate a blog hero, cover, social card, Open Graph, or YouTube image; mentions cover…
eze-is/ai-partner-chat
基于用户画像和向量化笔记提供个性化对话。当用户需要个性化交流、上下文感知的回应,或希望 AI 记住并引用其之前的想法和笔记时使用。
devcodex-labs/devcodex
无障碍与国际化专家 Owner — 当任务涉及可访问性、键盘操作、焦点、屏幕阅读器、ARIA、语言地区、本地化、RTL、翻译资源、用户可见文案或多语言文档时使用;要求把包容性体验和本地化验证绑定到真实用户路径。
devcodex-labs/devcodex
AI Agent 系统架构专家 Owner — 当任务涉及 Agent 路由、工具调用、上下文管理、记忆、状态机、权限、人机协作、可观测性、回放验证或模型辅助治理时使用;要求把 Agent 行为设计成可解释、可恢复、可审计。
devcodex-labs/devcodex
API 契约架构专家 Owner — 当任务涉及 public API、HTTP/SDK/CLI 契约、版本兼容、错误模型、分页过滤、幂等、Schema、类型、迁移或消费者影响时使用;要求先冻结消费者契约,再设计实现与验证。
devcodex-labs/devcodex
架构设计文档编排 Owner — 当用户要求架构设计、系统设计、技术架构或可指导开发、Review 与任务拆分的完整方案时使用;要求从业务流程反推节点、状态、数据、一致性、异常补偿、ADR 与实施任务。
devcodex-labs/devcodex
审查公共维度 G0~G5 + Profile Freshness Check — 所有 audit 子类型必先执行的基础维度层
devcodex-labs/devcodex
审计工作流的跨会话状态机 — 在 <audit-root/.audit-state/<session-id.json 持久化轮次/发现项/收敛状态,支持 Token 中断后精准恢复
Categories
数据库开发子类型规范 — Migration 安全策略 + Schema 变更审查. An agent skill from devcodex-labs/devcodex. Dev Database is an agent skill from devcodex-labs/devcodex.
Dev Database fits situations like: databases work in your project.
Run `npx skills add devcodex-labs/devcodex --skill dev-database -a claude-code`. Or copy the skill folder (content/skills/dev-database in devcodex-labs/devcodex) into .claude/skills/dev-database in your project. Claude Code loads it when a task matches its description.
Run `npx skills add devcodex-labs/devcodex --skill dev-database -a codex`. Or copy the skill folder (content/skills/dev-database in devcodex-labs/devcodex) into .agents/skills/dev-database in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add devcodex-labs/devcodex --skill dev-database -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dev-database, .gemini/skills/dev-database, .github/skills/dev-database and .opencode/skills/dev-database in your project.
SKILL.md names no scripts, command-line tools or credentials: Dev Database is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dev Database is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 482 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Dev Database: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Hybrid Cloud Outboxes (getsentry/sentry, 45k stars), Iptvnator Sqlite DB Worker (4gray/iptvnator, 7.3k stars) and Replicate Video Ad (Jingyi-Wu-Richael/replicate-video-ad, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
devcodex-labs (a GitHub organization) maintains it in devcodex-labs/devcodex, which has 439 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on September 17, 2026.
Source: devcodex-labs/devcodex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.