[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KM5XTQB70WMV69F406Q2P7":3,"skill-same:01M6KM5XTQB70WMV69F406Q2P7":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6KM5XTQB70WMV69F406Q2P7","schema-migration-safety",null,"Plan and apply backwards-compatible two-step schema changes for Django migrations without using jig.","Tetra-Research\u002Fjig","Tetra-Research","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F146581685?v=4","01M6KM4EG0ZAWRDQPSJZ4T4CWN","Tetra Research","01M6KM4EMC95A68J3CRCKTDNZD",6,"MIT","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Feval\u002Fhead2head\u002Fprofiles\u002Fcontrol\u002Fskills\u002Fschema-migration-safety\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"schema migration","Safety","schema","migration","schema migration safety","plan","django","migrations","for","changes","apply","2026-11-10 10:12:30",false,"---\nname: schema-migration-safety\ndescription: Plan and apply backwards-compatible two-step schema changes for Django migrations without using jig.\n---\n\n# Schema Migration Safety (Control)\n\nUse this skill for model field changes that need rollout-safe migrations.\nImplement the file edits directly. Do not return a checklist-only response.\n\n## Required Variables\n\n- `app_label`\n- `model_name`\n- `field_name`\n- `field_type`\n- `add_field_kwargs`\n- `final_field_kwargs`\n- `previous_migration`\n- `add_migration_name`\n- `finalize_migration_name`\n- `backfill_value`\n\n## Required Output Contract\n\n1. Update `models.py` so `class Entity(models.Model)` contains `classification = models.CharField(max_length=20)` as the final model field shape.\n2. Create the first migration file using the provided `add_migration_name`.\n3. In the first migration:\n- import `migrations` and `models`\n- define `backfill_classification(apps, schema_editor)`\n- use `model_cls = apps.get_model(app_label, model_name)` with the provided variable values\n- use `db_alias = schema_editor.connection.alias`\n- iterate `for row in model_cls.objects.using(db_alias).all().only(\"id\", field_name):` with the provided field name literal\n- when the field is `None` or `\"\"`, set it to the provided backfill value and call `row.save(update_fields=[\"{{ field_name }}\"])`\n- declare `migrations.AddField(...)` with the safe first-state kwargs from the variables\n- declare `migrations.RunPython(backfill_classification, migrations.RunPython.noop)`\n4. Create the second migration file using the provided `finalize_migration_name`.\n5. In the second migration:\n- depend on the first migration by its provided `add_migration_name`\n- declare `migrations.AlterField(...)` with the final field kwargs from the variables\n6. Keep the migration chain linear and use the exact migration filenames provided in the variables.\n\n## Guardrails\n\n- Avoid one-shot `NOT NULL` additions on large existing tables.\n- Avoid data backfill in request-time code paths.\n- Keep backfill logic idempotent.\n- Do not write a custom reverse-backfill function; use `migrations.RunPython.noop`.\n","# Schema Migration Safety (Control)\n\nUse this skill for model field changes that need rollout-safe migrations.\nImplement the file edits directly. Do not return a checklist-only response.\n\n## Required Variables\n\n- `app_label`\n- `model_name`\n- `field_name`\n- `field_type`\n- `add_field_kwargs`\n- `final_field_kwargs`\n- `previous_migration`\n- `add_migration_name`\n- `finalize_migration_name`\n- `backfill_value`\n\n## Required Output Contract\n\n1. Update `models.py` so `class Entity(models.Model)` contains `classification = models.CharField(max_length=20)` as the final model field shape.\n2. Create the first migration file using the provided `add_migration_name`.\n3. In the first migration:\n- import `migrations` and `models`\n- define `backfill_classification(apps, schema_editor)`\n- use `model_cls = apps.get_model(app_label, model_name)` with the provided variable values\n- use `db_alias = schema_editor.connection.alias`\n- iterate `for row in model_cls.objects.using(db_alias).all().only(\"id\", field_name):` with the provided field name literal\n- when the field is `None` or `\"\"`, set it to the provided backfill value and call `row.save(update_fields=[\"{{ field_name }}\"])`\n- declare `migrations.AddField(...)` with the safe first-state kwargs from the variables\n- declare `migrations.RunPython(backfill_classification, migrations.RunPython.noop)`\n4. Create the second migration file using the provided `finalize_migration_name`.\n5. In the second migration:\n- depend on the first migration by its provided `add_migration_name`\n- declare `migrations.AlterField(...)` with the final field kwargs from the variables\n6. Keep the migration chain linear and use the exact migration filenames provided in the variables.\n\n## Guardrails\n\n- Avoid one-shot `NOT NULL` additions on large existing tables.\n- Avoid data backfill in request-time code paths.\n- Keep backfill logic idempotent.\n- Do not write a custom reverse-backfill function; use `migrations.RunPython.noop`.\n",{"name":5,"description":7},"main","ab37f4809db1129e69d61246bd7a5d3b21b7f79b","eval\u002Fhead2head\u002Fprofiles\u002Fcontrol\u002Fskills\u002Fschema-migration-safety",0,"https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig","https:\u002F\u002Fgithub.com\u002FTetra-Research","2026-04-10 09:57:50",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Tetra-Research\u002Fjig --skill schema-migration-safety",{"tool":48,"command":49},"bunx","bunx skills add Tetra-Research\u002Fjig --skill schema-migration-safety",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Tetra-Research\u002Fjig --skill schema-migration-safety","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Feval\u002Fhead2head\u002Fprofiles\u002Fcontrol\u002Fskills\u002Fschema-migration-safety\u002FSKILL.md",true,[],[57,82,102,117,137,150],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":30},"01M6KMDJNF2XFW5VKNHT5KGA7M","velocity","Systematic DX improvement hunt — find friction, inconsistency, and missing abstractions across PRs, code, or tickets, then feed findings into \u002Fimprove. Use when looking for ways to accelerate development or compound Claude Code's utility.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fvelocity\u002FSKILL.md",[],[59,64,65,27,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81],"improvement","hunt","true","Accelerate","utility","ticket","missing","scope","id","module","across","dx","use","improve","Bash","code","development","component",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":30},"01M6KMDF2VAYVDDQWM4A2HDZ5P","upgrade","Upgrade an existing skill or agent by auditing it, gathering user references, and rewriting it with real content. Use when a skill is thin, sloppy, missing gotchas, or needs improvement. Different from \u002Fimprove which creates new extensions.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fupgrade\u002FSKILL.md",[],[84,89,90,91,70,92,93,76,94,95,96,97,77,78,98,99,100,64,101],"edit","with","it","existing skill","references","user","write","read","grep","content","which","Existing","extensions",{"skillNo":103,"name":77,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":30},"01M6KMDABCDDRWHCPVGRJ7G3N1","Deliberately improve Claude Code by creating or updating skills, agents, hooks, rules, or MCP servers. Use when Claude keeps making the same mistake, a workflow is tedious, a new pattern needs enforcement, or you want to compound Claude's utility.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fimprove\u002FSKILL.md",[],[77,108,109,68,79,110,111,76,89,95,96,97,112,78,113,114,115,116],"pattern","you","enforcement","hooks","Rules","mcp servers","compound","workflow","MCP",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":30},"01M6KMD6HSWSET1HRR5AHT9HFT","clean-copy","Recreate the current branch with a clean, narrative commit history. Use before creating a PR from a messy development branch, after exploratory coding with WIP commits, or when commit history is hard to review.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Fclean-copy\u002FSKILL.md",[],[124,125,126,97,127,128,78,129,80,130,131,132,133,134,66,90,135,136,76,96],"clean","copy","clean copy","history","gh","commits","pr","commit","review","branch","branch-name","narrative","name",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":30},"01M6KMD10AN05R0Q0PQPP8ZF16","audit","Audit installed skills and agents against best practices. Use when reviewing skill quality, checking for common problems, or before upgrading existing skills. Read-only — produces a report, changes nothing.","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fskills\u002Faudit\u002FSKILL.md",[],[139,28,100,27,144,145,76,96,97,146,147,148,149],"read-only","only","common","quality","best practices","report",{"skillNo":151,"name":152,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":30},"01M6KMCX8WE6FFXZ9X50ESNHAF","typescript-update-model","https:\u002F\u002Fgithub.com\u002FTetra-Research\u002Fjig\u002Fblob\u002Fmain\u002Fexamples\u002Ftypescript-update-model\u002FSKILL.md",[],[156,157,158,159],"update","model","typescript update model","typescript"]