[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74JXFDX8J2H418F86JBAYEZ":3,"skill-same:01M74JXFDX8J2H418F86JBAYEZ":52},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M74JXFDX8J2H418F86JBAYEZ","add-migration",null,"Acauhi99\u002Fopencode-agent-system","Acauhi99","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109399110?v=4","01M74JTV4VH2YAER6TABE78RKF","Acauhi","01M74JTV5CXNC5DEV2XR5SBFG3",1,"MIT","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fadd-migration\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: add-migration\ndescription: Generate and review a Drizzle (or Prisma \u002F Knex \u002F raw SQL) migration safely — classifies the change as additive, mutating, or destructive; for mutating\u002Fdestructive changes, splits into a multi-phase plan (deploy code that tolerates both shapes → migrate → deploy code that requires the new shape). Catches the landmines: NOT NULL on a populated column without backfill, dropping a column still referenced by old code, adding a unique constraint with existing duplicates, large-table index without `CONCURRENTLY`, type changes that rewrite the table, default values evaluated at migration time vs. row time. Trigger phrases — \"add a migration\", \"schema change\", \"add column to X\", \"drop column X\", \"rename column\", \"add index\", \"\u002Fadd-migration\", \"drizzle migration\", \"alter table\". Skip for — pure code changes with no schema impact, seed-data-only changes (use add-seed-data), and infra-level changes (DB version upgrades, replication setup).\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  source: \"Adapted from AgentSystemLabs\u002Fcore (MIT)\"\n  requires_codegraph: true\n---\n\n> **Tool mapping (OpenCode):** This skill uses:\n> - `question` tool for user prompts (not `AskUserQuestion`)\n> - `task` tool for subagents (not `Agent` or `Task` subagent syntax)\n> - `skill({ name: \"...\" })` to load other skills (not `Skill(skill=\"...\", args=\"...\")`)\n> - `codegraph_explore`, `codegraph_search`, `codegraph_context` for codebase exploration (preferred)\n> - `todowrite` for phase\u002Fprogress tracking\n> - `grep`, `glob`, `read`, `bash` as fallback when `.codegraph\u002F` not initialized\n>\n> **Context rule:** This skill supersedes any prior skill instructions. Follow ONLY these instructions now. Read the user's goal and any mode\u002Finclude\u002Fskip from the conversation context.\n\n# Code Add Migration\n\nA migration that breaks production usually broke at design time, not at run time. Classify the change first; the plan follows from the class.\n\n---\n\n## Phase 1 — Detect Migration Tooling\n\nUse `todowrite` to mark this phase as in_progress.\n\nIn order:\n\n1. `drizzle.config.*` → Drizzle (`drizzle-kit generate`).\n2. `prisma\u002Fschema.prisma` → Prisma (`prisma migrate dev --create-only`).\n3. `knexfile.*` → Knex (`knex migrate:make`).\n4. `migrations\u002F` with bare `.sql` files → raw SQL (project's own runner).\n\nIf none detected and the user wants a migration, ask via `question` tool which they use rather than picking one.\n\n**Exit:** the migration tool, command, and output directory are known.\n\n---\n\n## Phase 2 — Classify the Change\n\nUse `todowrite` to mark this phase as in_progress.\n\n**MANDATORY — READ [`references\u002Fchange-classes.md`](references\u002Fchange-classes.md)** before classifying. Every change falls into one of three classes; the deployment plan depends on the class.\n\n```\nADDITIVE    — strictly adds. Old code keeps working unchanged.\nMUTATING    — changes shape of existing rows or constraints. Old code may break.\nDESTRUCTIVE — removes data or columns. Cannot be reverted from data alone.\n```\n\nState the class and the one-line reason. If the user's request mixes classes (e.g., \"rename column\" = drop + add + backfill), split it into separate migrations.\n\n**Exit:** every requested change has exactly one class.\n\n---\n\n## Phase 3 — Plan by Class\n\nUse `todowrite` to mark this phase as in_progress.\n\n### ADDITIVE\n\nSingle migration. Examples: new nullable column, new table, new index, new enum value (if the DB supports concurrent enum extension).\n\nGenerate the migration. Add the index `CONCURRENTLY` if the table has any non-trivial size and the DB engine is Postgres. For Drizzle, this requires raw SQL (`drizzle-kit` does not emit `CONCURRENTLY` from schema diffs alone).\n\n### MUTATING\n\nMulti-step plan. Each step is its own deploy + migration:\n\n1. **Code tolerates both shapes.** Update the application to read\u002Fwrite either old or new shape.\n2. **Backfill \u002F migrate data.** Run the migration. For NOT NULL adds: column is added nullable, backfilled, then constrained to NOT NULL in a third step. For type changes: add new column, dual-write, backfill, swap reads, drop old.\n3. **Code requires new shape only.** Remove the dual-shape tolerance.\n\nState each step explicitly. Do not collapse them into a single migration even if the table is small today — the pattern is what makes it safe at scale.\n\n### DESTRUCTIVE\n\nMulti-step plan with a wait period:\n\n1. **Stop writing to the column\u002Ftable.** Update code to neither read nor write it. Deploy.\n2. **Verify in production logs\u002Fmetrics** for at least one full deployment cycle (not enforced by this skill — but call it out).\n3. **Drop the column\u002Ftable.** Migration.\n\nFor dropping rows (data deletion), get an explicit user confirmation via `question` tool and require a backup pointer (snapshot SHA, dump filename) be recorded in the migration's accompanying notes file.\n\n**Exit:** the plan is written down with one migration per step.\n\n---\n\n## Phase 4 — Generate\n\nUse `todowrite` to mark this phase as in_progress.\n\nRun the project's generate command. For Drizzle:\n\n```bash\npnpm drizzle-kit generate\n```\n\nOpen the generated SQL. **Read it.** drizzle-kit can produce surprising diffs (renames inferred as drop+add, default-value reordering). If the SQL doesn't match the plan, edit it directly — or adjust the schema and regenerate.\n\nFor each migration file, verify:\n\n- Index creation on tables with > a few thousand rows uses `CREATE INDEX CONCURRENTLY` (Postgres). If the tool can't emit this, hand-edit the SQL and add a note in the migration that it must be run outside a transaction.\n- Adding a NOT NULL column has a default OR is followed in a later step by the backfill + constraint.\n- Default values: `DEFAULT now()` is evaluated per row; `DEFAULT '2026-01-01'` is a literal. Make sure the right one was generated.\n- Foreign-key drops\u002Fadds: confirm cascade behavior matches the schema's `references(...).onDelete(...)`.\n\n**Exit:** the migration SQL has been read and matches the plan.\n\n---\n\n## Phase 5 — Backfill (if MUTATING)\n\nUse `todowrite` to mark this phase as in_progress.\n\nFor backfills that touch many rows:\n\n```sql\n-- Bad: locks the table for the entire UPDATE\nUPDATE big_table SET new_col = derive(old_col);\n\n-- Good: chunked\nUPDATE big_table SET new_col = derive(old_col)\nWHERE id BETWEEN \u003Clo> AND \u003Chi>;\n```\n\nFor Postgres on tables expected to grow large, use `LIMIT` + loop or a chunked migration script. The migration runner alone does not chunk.\n\nIf the project has no convention for chunked backfills, write the backfill as a separate `*.sql` file and a one-line note in the migration: `-- Run scripts\u002Fbackfill-\u003Cn>.sql before applying the NOT NULL constraint in \u003Cnext>.sql`.\n\n**Exit:** a backfill plan exists for any column being made NOT NULL on populated data.\n\n---\n\n## Phase 6 — Test the Migration\n\nUse `todowrite` to mark this phase as in_progress.\n\nRun against a local\u002Ftest DB:\n\n1. Restore the DB to a state representative of production (seeded fixtures, ideally a dump).\n2. Apply the migration.\n3. Apply the next migration in line, if any.\n4. Run the app's test suite — at minimum the data-access tests.\n\nIf the migration fails to apply on representative data, fix it. If the tests fail, the dual-shape tolerance from Phase 3 step 1 is missing.\n\n**Exit:** migration applies cleanly on representative data; tests pass.\n\n---\n\n## Phase 7 — Report\n\nUse `todowrite` to mark this phase as in_progress.\n\n```\nMigration added: \u003Cfile path>\n  Class:       \u003CADDITIVE \u002F MUTATING \u002F DESTRUCTIVE>\n  Plan:        \u003Cstep 1>: \u003Cthis migration>\n               \u003Cstep 2>: \u003Cnext migration's purpose, if multi-step>\n               \u003Cstep 3>: \u003Cnext>\n  Backfill:    \u003Cnone \u002F inline \u002F scripts\u002Fbackfill-N.sql>\n  Concurrent:  \u003Cyes\u002Fno — and why>\n  Reversible:  \u003Cyes \u002F no, requires restoring from \u003Cbackup pointer>>\n\nApply locally: \u003Ccommand>\nApply in prod: \u003Ccommand>  (run during low-traffic window if step requires lock)\n```\n\nIf the change was MUTATING or DESTRUCTIVE, remind the user that step 1 must deploy *before* step 2 runs in production.\n\n---\n\n## Post-step: data-integrity audit\n\nAfter the migration file and any backfill script are in place, dispatch a data-integrity reviewer subagent against the migration + related code diff:\n\n```\ntask({\n  subagent_type: \"general\",\n  description: \"Review migration data integrity\",\n  prompt: \"Audit the following migration for data-integrity: check defaults\u002Fbackfills, destructive rollout order, uniqueness assumptions, delete cascades, seed\u002Ftest fixture drift, and data-access invariants. Migration: \u003Cpath>. Related code diff: \u003Cdescribe>.\"\n})\n```\n\n---\n\n## NEVER\n\n- **NEVER add a NOT NULL column to a populated table in a single step.**\n  **Instead:** add nullable, backfill, then add the NOT NULL constraint in a follow-up migration.\n  **Why:** a single-step NOT NULL on a populated table requires a default. The default applies at migration time and locks the table while every row is rewritten — minutes to hours of downtime on large tables. The three-step pattern is online.\n\n- **NEVER drop a column in the same deploy that stops using it.**\n  **Instead:** deploy code that no longer references the column → wait for the deploy to settle → drop the column in a follow-up migration.\n  **Why:** during a rolling deploy, old pods still query the column; dropping it in the same release crashes those pods until they're replaced. Production goes down for the duration of the rollout.\n\n- **NEVER add an index on a large table without `CONCURRENTLY` (Postgres).**\n  **Instead:** hand-edit the migration SQL to use `CREATE INDEX CONCURRENTLY` and run it outside a transaction.\n  **Why:** a non-concurrent `CREATE INDEX` takes an `ACCESS EXCLUSIVE` lock — every read and write blocks for the duration. On a 50M-row table that's tens of minutes of full unavailability.\n\n- **NEVER add a UNIQUE constraint without checking for existing duplicates.**\n  **Instead:** run `SELECT col, count(*) FROM t GROUP BY col HAVING count(*) > 1` against representative data first; resolve duplicates as a backfill.\n  **Why:** the migration will fail mid-deploy when it hits the first duplicate, leaving the schema in a partially-applied state — the worst kind of outage to recover from.\n\n- **NEVER assume `drizzle-kit` (or any ORM diff tool) generated what you intended.**\n  **Instead:** read the generated SQL line by line. Renames are inferred as drop+add; default values can be reordered; cascades may differ.\n  **Why:** the schema is a model; the migration is data loss. The diff between them is where bugs live.\n\n- **NEVER write a single migration that mixes additive, mutating, and destructive changes.**\n  **Instead:** split per class. Even if the changes feel related, they have different rollout requirements.\n  **Why:** the safe rollout for a destructive change waits between steps; bundling it with additive changes either holds back the additive deploy or rushes the destructive one. Either is wrong.\n\n- **NEVER drop or truncate data without an explicit user `y` and a recorded backup pointer.**\n  **Instead:** confirm via `question` tool; record the pre-migration snapshot SHA, dump file path, or PITR timestamp in a notes file alongside the migration.\n  **Why:** dropped data is unrecoverable from the migration alone. A recorded backup pointer is the only thing that turns the change from \"permanent\" into \"reversible\" if the deploy goes wrong.\n\n- **NEVER use `DEFAULT now()` (or `DEFAULT random()`) in a column-add that's expected to set a literal value at migration time.**\n  **Instead:** decide explicitly: backfill with a single literal computed once, or accept that each row gets its own evaluation when the migration runs.\n  **Why:** `DEFAULT now()` evaluates per row at the time the row is rewritten — for a long ALTER TABLE, you get spread-out timestamps that look like real activity but aren't. The bug surfaces months later in audit log analyses.\n","> **Tool mapping (OpenCode):** This skill uses:\n> - `question` tool for user prompts (not `AskUserQuestion`)\n> - `task` tool for subagents (not `Agent` or `Task` subagent syntax)\n> - `skill({ name: \"...\" })` to load other skills (not `Skill(skill=\"...\", args=\"...\")`)\n> - `codegraph_explore`, `codegraph_search`, `codegraph_context` for codebase exploration (preferred)\n> - `todowrite` for phase\u002Fprogress tracking\n> - `grep`, `glob`, `read`, `bash` as fallback when `.codegraph\u002F` not initialized\n>\n> **Context rule:** This skill supersedes any prior skill instructions. Follow ONLY these instructions now. Read the user's goal and any mode\u002Finclude\u002Fskip from the conversation context.\n\n# Code Add Migration\n\nA migration that breaks production usually broke at design time, not at run time. Classify the change first; the plan follows from the class.\n\n---\n\n## Phase 1 — Detect Migration Tooling\n\nUse `todowrite` to mark this phase as in_progress.\n\nIn order:\n\n1. `drizzle.config.*` → Drizzle (`drizzle-kit generate`).\n2. `prisma\u002Fschema.prisma` → Prisma (`prisma migrate dev --create-only`).\n3. `knexfile.*` → Knex (`knex migrate:make`).\n4. `migrations\u002F` with bare `.sql` files → raw SQL (project's own runner).\n\nIf none detected and the user wants a migration, ask via `question` tool which they use rather than picking one.\n\n**Exit:** the migration tool, command, and output directory are known.\n\n---\n\n## Phase 2 — Classify the Change\n\nUse `todowrite` to mark this phase as in_progress.\n\n**MANDATORY — READ [`references\u002Fchange-classes.md`](references\u002Fchange-classes.md)** before classifying. Every change falls into one of three classes; the deployment plan depends on the class.\n\n```\nADDITIVE    — strictly adds. Old code keeps working unchanged.\nMUTATING    — changes shape of existing rows or constraints. Old code may break.\nDESTRUCTIVE — removes data or columns. Cannot be reverted from data alone.\n```\n\nState the class and the one-line reason. If the user's request mixes classes (e.g., \"rename column\" = drop + add + backfill), split it into separate migrations.\n\n**Exit:** every requested change has exactly one class.\n\n---\n\n## Phase 3 — Plan by Class\n\nUse `todowrite` to mark this phase as in_progress.\n\n### ADDITIVE\n\nSingle migration. Examples: new nullable column, new table, new index, new enum value (if the DB supports concurrent enum extension).\n\nGenerate the migration. Add the index `CONCURRENTLY` if the table has any non-trivial size and the DB engine is Postgres. For Drizzle, this requires raw SQL (`drizzle-kit` does not emit `CONCURRENTLY` from schema diffs alone).\n\n### MUTATING\n\nMulti-step plan. Each step is its own deploy + migration:\n\n1. **Code tolerates both shapes.** Update the application to read\u002Fwrite either old or new shape.\n2. **Backfill \u002F migrate data.** Run the migration. For NOT NULL adds: column is added nullable, backfilled, then constrained to NOT NULL in a third step. For type changes: add new column, dual-write, backfill, swap reads, drop old.\n3. **Code requires new shape only.** Remove the dual-shape tolerance.\n\nState each step explicitly. Do not collapse them into a single migration even if the table is small today — the pattern is what makes it safe at scale.\n\n### DESTRUCTIVE\n\nMulti-step plan with a wait period:\n\n1. **Stop writing to the column\u002Ftable.** Update code to neither read nor write it. Deploy.\n2. **Verify in production logs\u002Fmetrics** for at least one full deployment cycle (not enforced by this skill — but call it out).\n3. **Drop the column\u002Ftable.** Migration.\n\nFor dropping rows (data deletion), get an explicit user confirmation via `question` tool and require a backup pointer (snapshot SHA, dump filename) be recorded in the migration's accompanying notes file.\n\n**Exit:** the plan is written down with one migration per step.\n\n---\n\n## Phase 4 — Generate\n\nUse `todowrite` to mark this phase as in_progress.\n\nRun the project's generate command. For Drizzle:\n\n```bash\npnpm drizzle-kit generate\n```\n\nOpen the generated SQL. **Read it.** drizzle-kit can produce surprising diffs (renames inferred as drop+add, default-value reordering). If the SQL doesn't match the plan, edit it directly — or adjust the schema and regenerate.\n\nFor each migration file, verify:\n\n- Index creation on tables with > a few thousand rows uses `CREATE INDEX CONCURRENTLY` (Postgres). If the tool can't emit this, hand-edit the SQL and add a note in the migration that it must be run outside a transaction.\n- Adding a NOT NULL column has a default OR is followed in a later step by the backfill + constraint.\n- Default values: `DEFAULT now()` is evaluated per row; `DEFAULT '2026-01-01'` is a literal. Make sure the right one was generated.\n- Foreign-key drops\u002Fadds: confirm cascade behavior matches the schema's `references(...).onDelete(...)`.\n\n**Exit:** the migration SQL has been read and matches the plan.\n\n---\n\n## Phase 5 — Backfill (if MUTATING)\n\nUse `todowrite` to mark this phase as in_progress.\n\nFor backfills that touch many rows:\n\n```sql\n-- Bad: locks the table for the entire UPDATE\nUPDATE big_table SET new_col = derive(old_col);\n\n-- Good: chunked\nUPDATE big_table SET new_col = derive(old_col)\nWHERE id BETWEEN \u003Clo> AND \u003Chi>;\n```\n\nFor Postgres on tables expected to grow large, use `LIMIT` + loop or a chunked migration script. The migration runner alone does not chunk.\n\nIf the project has no convention for chunked backfills, write the backfill as a separate `*.sql` file and a one-line note in the migration: `-- Run scripts\u002Fbackfill-\u003Cn>.sql before applying the NOT NULL constraint in \u003Cnext>.sql`.\n\n**Exit:** a backfill plan exists for any column being made NOT NULL on populated data.\n\n---\n\n## Phase 6 — Test the Migration\n\nUse `todowrite` to mark this phase as in_progress.\n\nRun against a local\u002Ftest DB:\n\n1. Restore the DB to a state representative of production (seeded fixtures, ideally a dump).\n2. Apply the migration.\n3. Apply the next migration in line, if any.\n4. Run the app's test suite — at minimum the data-access tests.\n\nIf the migration fails to apply on representative data, fix it. If the tests fail, the dual-shape tolerance from Phase 3 step 1 is missing.\n\n**Exit:** migration applies cleanly on representative data; tests pass.\n\n---\n\n## Phase 7 — Report\n\nUse `todowrite` to mark this phase as in_progress.\n\n```\nMigration added: \u003Cfile path>\n  Class:       \u003CADDITIVE \u002F MUTATING \u002F DESTRUCTIVE>\n  Plan:        \u003Cstep 1>: \u003Cthis migration>\n               \u003Cstep 2>: \u003Cnext migration's purpose, if multi-step>\n               \u003Cstep 3>: \u003Cnext>\n  Backfill:    \u003Cnone \u002F inline \u002F scripts\u002Fbackfill-N.sql>\n  Concurrent:  \u003Cyes\u002Fno — and why>\n  Reversible:  \u003Cyes \u002F no, requires restoring from \u003Cbackup pointer>>\n\nApply locally: \u003Ccommand>\nApply in prod: \u003Ccommand>  (run during low-traffic window if step requires lock)\n```\n\nIf the change was MUTATING or DESTRUCTIVE, remind the user that step 1 must deploy *before* step 2 runs in production.\n\n---\n\n## Post-step: data-integrity audit\n\nAfter the migration file and any backfill script are in place, dispatch a data-integrity reviewer subagent against the migration + related code diff:\n\n```\ntask({\n  subagent_type: \"general\",\n  description: \"Review migration data integrity\",\n  prompt: \"Audit the following migration for data-integrity: check defaults\u002Fbackfills, destructive rollout order, uniqueness assumptions, delete cascades, seed\u002Ftest fixture drift, and data-access invariants. Migration: \u003Cpath>. Related code diff: \u003Cdescribe>.\"\n})\n```\n\n---\n\n## NEVER\n\n- **NEVER add a NOT NULL column to a populated table in a single step.**\n  **Instead:** add nullable, backfill, then add the NOT NULL constraint in a follow-up migration.\n  **Why:** a single-step NOT NULL on a populated table requires a default. The default applies at migration time and locks the table while every row is rewritten — minutes to hours of downtime on large tables. The three-step pattern is online.\n\n- **NEVER drop a column in the same deploy that stops using it.**\n  **Instead:** deploy code that no longer references the column → wait for the deploy to settle → drop the column in a follow-up migration.\n  **Why:** during a rolling deploy, old pods still query the column; dropping it in the same release crashes those pods until they're replaced. Production goes down for the duration of the rollout.\n\n- **NEVER add an index on a large table without `CONCURRENTLY` (Postgres).**\n  **Instead:** hand-edit the migration SQL to use `CREATE INDEX CONCURRENTLY` and run it outside a transaction.\n  **Why:** a non-concurrent `CREATE INDEX` takes an `ACCESS EXCLUSIVE` lock — every read and write blocks for the duration. On a 50M-row table that's tens of minutes of full unavailability.\n\n- **NEVER add a UNIQUE constraint without checking for existing duplicates.**\n  **Instead:** run `SELECT col, count(*) FROM t GROUP BY col HAVING count(*) > 1` against representative data first; resolve duplicates as a backfill.\n  **Why:** the migration will fail mid-deploy when it hits the first duplicate, leaving the schema in a partially-applied state — the worst kind of outage to recover from.\n\n- **NEVER assume `drizzle-kit` (or any ORM diff tool) generated what you intended.**\n  **Instead:** read the generated SQL line by line. Renames are inferred as drop+add; default values can be reordered; cascades may differ.\n  **Why:** the schema is a model; the migration is data loss. The diff between them is where bugs live.\n\n- **NEVER write a single migration that mixes additive, mutating, and destructive changes.**\n  **Instead:** split per class. Even if the changes feel related, they have different rollout requirements.\n  **Why:** the safe rollout for a destructive change waits between steps; bundling it with additive changes either holds back the additive deploy or rushes the destructive one. Either is wrong.\n\n- **NEVER drop or truncate data without an explicit user `y` and a recorded backup pointer.**\n  **Instead:** confirm via `question` tool; record the pre-migration snapshot SHA, dump file path, or PITR timestamp in a notes file alongside the migration.\n  **Why:** dropped data is unrecoverable from the migration alone. A recorded backup pointer is the only thing that turns the change from \"permanent\" into \"reversible\" if the deploy goes wrong.\n\n- **NEVER use `DEFAULT now()` (or `DEFAULT random()`) in a column-add that's expected to set a literal value at migration time.**\n  **Instead:** decide explicitly: backfill with a single literal computed once, or accept that each row gets its own evaluation when the migration runs.\n  **Why:** `DEFAULT now()` evaluates per row at the time the row is rewritten — for a long ALTER TABLE, you get spread-out timestamps that look like real activity but aren't. The bug surfaces months later in audit log analyses.\n",{},"main","a40966cd3b7323e693a9fd665ab9c720d8bf9634","skills\u002Fadd-migration",0,"https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@acauhi\u002Fopencode-agent-system","https:\u002F\u002Fgithub.com\u002FAcauhi99","@github Backend Engineer","2026-07-07 22:24:45",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Acauhi99\u002Fopencode-agent-system --skill add-migration",{"tool":38,"command":39},"bunx","bunx skills add Acauhi99\u002Fopencode-agent-system --skill add-migration",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Acauhi99\u002Fopencode-agent-system --skill add-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fadd-migration\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fchange-classes.md","REFERENCE","参考文档",4379,"https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fadd-migration\u002Freferences\u002Fchange-classes.md",[53,59,65,72,78,85],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M74KEHKFCSF2H23R44MR5DN8","write-tests","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M74KEEXZW2185BZ3VJCM7AF6","update-changelog","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fupdate-changelog\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M74KDVH470SS6WPS8WK3VSW3","triage","Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M74KDKGNY0MQXQ0ZHAGYSJJ4","to-prd","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fto-prd\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M74KD9YN0K59GWMWDT5YHBKY","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M74KD14VJAJZ8E4ENN0KP9GV","testing-plan","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-plan\u002FSKILL.md",[],[]]