원클릭으로
schema-migration-safety
Generate two-step rollout-safe Django migrations plus model-field patching using jig.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate two-step rollout-safe Django migrations plus model-field patching using jig.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
When the user wants to codify a repeatable code generation pattern into a jig recipe — design variables, choose operations (create/inject/patch/replace), write Jinja templates, and validate the result. Use when someone says "I keep writing this same boilerplate", "make a recipe for X", or wants to turn a manual edit into an automated pattern.
When the user needs to chain multiple jig recipes into a multi-step workflow with conditional execution and shared variables. Use when a pattern spans multiple files that need coordinated creation and modification, like scaffolding an entire endpoint or a full feature slice.
Scaffold queryset/manager/selector layers and wire view reads through selector entrypoints with jig.
Insert consistent method/step structured logging lines into target functions using jig.
Write deterministic service tests with stable fixtures and boundary mocks without using jig.
Keep reads in selectors/querysets and keep write logic in services without using jig.
| name | schema-migration-safety |
| description | Generate two-step rollout-safe Django migrations plus model-field patching using jig. |
Use this skill for backwards-compatible model field rollout.
app_labelmodel_namefield_namefield_typeadd_field_kwargsfinal_field_kwargsprevious_migrationadd_migration_namefinalize_migration_namebackfill_valuejig run ${CLAUDE_SKILL_DIR}/recipe.yaml --vars '{
"app_label": "core",
"model_name": "Entity",
"field_name": "classification",
"field_type": "models.CharField",
"add_field_kwargs": "max_length=20, null=True",
"final_field_kwargs": "max_length=20",
"previous_migration": "0007_auto_20260407_1200",
"add_migration_name": "0008_add_entity_classification",
"finalize_migration_name": "0009_enforce_entity_classification",
"backfill_value": "\"standard\""
}'
model_file patching targets the rendered model_name class anchor directly.