db-migration
Skill1 starsChanged 2 months agoMITView on GitHub
Tạo file migration cơ sở dữ liệu mới (Flyway / Liquibase / Alembic / Prisma / golang-migrate) đảm bảo tính bất biến, audit columns, soft delete và không downtime.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- aiqadam/qadam-flowtheir own version, first seen Sep 20, 2026
- tadoEng/web-startertheir own version, first seen Aug 11, 2026
- nikandr-surkov/ai-saas-startertheir own version, first seen Jul 12, 2026
- PiloTracer/pilo.ai.logicbisontheir own version, first seen Jul 6, 2026
- viknesh20-20/claude-code-tool-kittheir own version, first seen May 2, 2026
- justnau1020/claude-ostheir own version, first seen Mar 30, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nikandr-surkov/ai-saas-starter★ 23same name
- viknesh20-20/claude-code-tool-kit★ 7same name
- aiqadam/qadam-flow★ 4same name
- justnau1020/claude-os★ 3same name
- tadoEng/web-starter★ 2same name
- PiloTracer/pilo.ai.logicbison★ 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 repository83 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adopt-repoSkill
- agent-strict-guardSkill
- analyze-featureSkill
- backend-api-design-flowSkill
- clean-code-naming-conventionsSkill
- code-review-gateSkill
- dangerous-action-blockerSkill
- database-transaction-managementSkill
- db-interface-procedure-flowSkill
- db-migrationSkill
- defensive-troubleshooting-guideSkill
- git-workflowSkill
- human-authority-overrideSkill
- human-master-mapSkill
- implement-featureSkill
- jpa-n-plus-one-optimizationSkill
- knowledge-graphSkill
- multi-language-error-handlingSkill
- post-code-verificationSkill
- project-doctorSkill
- project-governance-dashboardSkill
- redis-cache-patternsSkill
- release-notesSkill
- safe-git-rebaseSkill
- security-secret-scannerSkill
- speckit-analyzeSkill
- speckit-auditSkill
- speckit-checklistSkill
- speckit-clarifySkill
- speckit-constitutionSkill
- speckit-helpSkill
- speckit-implementSkill
- speckit-ingestSkill
- speckit-planSkill
- speckit-specifySkill
- speckit-tasksSkill
- spec-writerSkill
- spring-middleware-pipelineSkill
- sql-repository-patternSkill
- system-dna-managerSkill
- test-featureSkill
- adopt-repoSkill
- agent-strict-guardSkill
- analyze-featureSkill
- backend-api-design-flowSkill
- clean-code-naming-conventionsSkill
- code-review-gateSkill
- dangerous-action-blockerSkill
- database-transaction-managementSkill
- db-interface-procedure-flowSkill
- defensive-troubleshooting-guideSkill
- git-workflowSkill
- human-authority-overrideSkill
- human-master-mapSkill
- implement-featureSkill
- jpa-n-plus-one-optimizationSkill
- knowledge-graphSkill
- multi-language-error-handlingSkill
- The first 60 shown.
The file
Files
<!-- GENERATED FROM registry/skills/db-migration/SKILL.md — DO NOT EDIT DIRECTLY --><!-- GENERATED FROM .shared/skills/02-codestyle/db-migration/SKILL.md — DO NOT EDIT DIRECTLY -->Skill — Database Migration (Backend Microservice)
Hướng dẫn Agent tạo file migration cơ sở dữ liệu an toàn.
Checklist trước khi tạo migration:
- Kiểm tra migration cũ: Không bao giờ sửa đổi file migration cũ đã tồn tại.
- Xác định phiên bản tiếp theo: Đọc thư mục migration để lấy version tăng dần (vd
V2__add_status_column.sql). - Quy chuẩn bắt buộc trong script:
- Bảng mới phải có cột audit:
created_at,updated_at,created_by. - Bảng mới phải có cột soft delete:
is_deletedhoặcstatus. - Cột thêm vào bảng cũ phải là
NULLABLEhoặc cóDEFAULT. - Tạo Index có điều kiện cho các trường truy vấn thường xuyên.
- Bảng mới phải có cột audit:
- Cập nhật Entity & DTO: Sau khi viết file migration, cập nhật Entity class và DTO mapping tương ứng.
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.

