소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 5월 11일 16:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill migration-zero-downtime명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | migration-zero-downtime |
| description | Zero-downtime migrations — expand/contract and rollback. |
Every migration must be forward-compatible with the current application version and backward-compatible with the previous one. At no point during a deploy may a running app instance encounter a schema it cannot handle.
Three separate deploys; never combine phases.
| Phase | What you deploy | What you do in the DB |
|---|---|---|
| 1 — Expand | Current app (unchanged) | Add new column/table (nullable or with default) |
| 2 — Dual-write | Updated app that writes to both old and new | Backfill existing rows; validate data in new shape |
| 3 — Contract | App that reads/writes only new column | Drop old column/table |
| Operation | Notes |
|---|---|
ADD COLUMN nullable | Must have no NOT NULL without a default |
ADD COLUMN with DEFAULT | Postgres 11+: instant metadata change, no rewrite |
CREATE TABLE | Always safe |
CREATE INDEX CONCURRENTLY | Does not block reads or writes (Postgres) |
ADD FOREIGN KEY NOT VALID | Skips full table scan; validate separately |
| Operation | Risk |
|---|---|
ADD COLUMN NOT NULL without default (pre-PG 11) | Full table rewrite, exclusive lock |
DROP COLUMN | Running app may still SELECT or INSERT it |
RENAME COLUMN | Breaks all app queries referencing old name |
CHANGE data type | May require full table rewrite; queries may fail |
DROP TABLE | Any app version referencing it fails immediately |
pt-online-schema-change (Percona Toolkit) or gh-ost (GitHub) for ALTER TABLE on live tables.pg_repack to reclaim space or reorder rows without an exclusive lock; use ALTER TABLE … SET DEFAULT + background backfill instead of a single large UPDATE.UPDATE touching millions of rows in one transaction.CREATE INDEX CONCURRENTLY; standard CREATE INDEX takes an exclusive lock.ALTER TABLE … ADD INDEX is online by default in InnoDB (MySQL 5.6+), but verify with ALGORITHM=INPLACE, LOCK=NONE.down migration.down in CI before merging — not just up.DROP COLUMN, DROP TABLE): take a snapshot or export the data before running the migration; store it somewhere recoverable for at least one release cycle.Gate new-schema app code behind a feature flag:
This decouples schema changes from behavior changes and allows instant rollback without a schema rollback.
SOC 직업 분류 기준