[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2A997BFA9AVSNPGQDR2N9":3,"skill-same:01M6C2A997BFA9AVSNPGQDR2N9":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":15,"repositoryHtmlUrl":40,"repositoryHomepageUrl":17,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":17,"updatedAt":43,"install":44,"resources":57},"01M6C2A997BFA9AVSNPGQDR2N9","dbmate","dbmate 数据库迁移管理","Managing database migrations with dbmate","使用 dbmate 管理数据库迁移。","kalbasit\u002Fncps-test","kalbasit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87115?v=4","01M6C2A733H05KZCC1FTS5ENT4","Wael Nasreddine","01M6C2A77QVF5AD69EP1S1ZTY4",0,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fdbmate\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C0TB31G8AP3NPCQDCRXCW2","数据库管理员","PROFESSION","适用职业",[5,31],"database","2026-11-10 10:12:30",false,"---\nname: dbmate\ndescription: Managing database migrations with dbmate\n---\n\n# dbmate Skill\n\nThis skill provides comprehensive instructions for managing database migrations in this project using `dbmate`.\n\n## Creating Migrations\n\nWhen creating new migrations, always follow the `\u002Fmigrate-new` workflow. The primary tool for creating a migration is:\n\n```bash\ndbmate --migrations-dir db\u002Fmigrations\u002F\u003Cengine> new \"migration_name\"\n```\n\nReplace `\u003Cengine>` with `sqlite`, `postgres`, or `mysql`.\n\n## Writing Migrations\n\nMigrations are stored in `db\u002Fmigrations\u002F\u003Cengine>\u002F` as `.sql` files. They follow a specific format:\n\n### Structure\n\nEach migration file MUST have two sections:\n\n```sql\n-- migrate:up\n-- SQL statements to apply the change\n\n-- migrate:down\n-- SQL statements to reverse the change\n```\n\n### Transaction Handling\n\n> [!IMPORTANT]\n> **DO NOT** wrap your SQL in `BEGIN`\u002F`COMMIT` blocks. `dbmate` automatically wraps each migration in a transaction. Adding manual transaction blocks will cause errors and may lead to inconsistent database states.\n\n### SQL Guidelines\n\n1. **Idempotency**: Use `IF NOT EXISTS` or similar where possible to make migrations safer (e.g., `CREATE TABLE IF NOT EXISTS ...`).\n2. **Schema Files**: **NEVER** edit files in `db\u002Fschema\u002F` manually. They are auto-generated.\n3. **Engine-Specifics**: Ensure you tailor the SQL for the specific database engine.\n    - PostgreSQL: Use appropriate types (e.g., `TEXT`, `JSONB`).\n    - MySQL: Use compatible types (e.g., `LONGTEXT` for JSON-like data).\n    - SQLite: Be mindful of limited `ALTER TABLE` support.\n\n## Applying Migrations\n\nFor development, use `.\u002Fdev-scripts\u002Fmigrate-all.py`. This script:\n\n1. Applies migrations for all engines (PostgreSQL, MySQL, SQLite).\n2. Updates the schema files in `db\u002Fschema\u002F`.\n","# dbmate Skill\n\nThis skill provides comprehensive instructions for managing database migrations in this project using `dbmate`.\n\n## Creating Migrations\n\nWhen creating new migrations, always follow the `\u002Fmigrate-new` workflow. The primary tool for creating a migration is:\n\n```bash\ndbmate --migrations-dir db\u002Fmigrations\u002F\u003Cengine> new \"migration_name\"\n```\n\nReplace `\u003Cengine>` with `sqlite`, `postgres`, or `mysql`.\n\n## Writing Migrations\n\nMigrations are stored in `db\u002Fmigrations\u002F\u003Cengine>\u002F` as `.sql` files. They follow a specific format:\n\n### Structure\n\nEach migration file MUST have two sections:\n\n```sql\n-- migrate:up\n-- SQL statements to apply the change\n\n-- migrate:down\n-- SQL statements to reverse the change\n```\n\n### Transaction Handling\n\n> [!IMPORTANT]\n> **DO NOT** wrap your SQL in `BEGIN`\u002F`COMMIT` blocks. `dbmate` automatically wraps each migration in a transaction. Adding manual transaction blocks will cause errors and may lead to inconsistent database states.\n\n### SQL Guidelines\n\n1. **Idempotency**: Use `IF NOT EXISTS` or similar where possible to make migrations safer (e.g., `CREATE TABLE IF NOT EXISTS ...`).\n2. **Schema Files**: **NEVER** edit files in `db\u002Fschema\u002F` manually. They are auto-generated.\n3. **Engine-Specifics**: Ensure you tailor the SQL for the specific database engine.\n    - PostgreSQL: Use appropriate types (e.g., `TEXT`, `JSONB`).\n    - MySQL: Use compatible types (e.g., `LONGTEXT` for JSON-like data).\n    - SQLite: Be mindful of limited `ALTER TABLE` support.\n\n## Applying Migrations\n\nFor development, use `.\u002Fdev-scripts\u002Fmigrate-all.py`. This script:\n\n1. Applies migrations for all engines (PostgreSQL, MySQL, SQLite).\n2. Updates the schema files in `db\u002Fschema\u002F`.\n",{"name":5,"description":7},"main","a541621e4e20d5773ebbcefa969b7bad1c15ed2a",".agent\u002Fskills\u002Fdbmate","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test","https:\u002F\u002Fgithub.com\u002Fkalbasit","https:\u002F\u002Fkalbas.it","2026-09-30 03:07:07",{"source":9,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add kalbasit\u002Fncps-test --skill dbmate",{"tool":50,"command":51},"bunx","bunx skills add kalbasit\u002Fncps-test --skill dbmate",{"tool":53,"command":54},"pnpm","pnpm dlx skills add kalbasit\u002Fncps-test --skill dbmate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fdbmate\u002FSKILL.md",true,[],[59,83,98,113,130,143],{"skillNo":60,"name":61,"nameZh":62,"description":63,"descriptionZh":64,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":65,"categories":66,"keywords":73,"publishedAt":32},"01M6C2BVH1AB05AHRRKM1KT5EK","openspec-verify-change","OpenSpec 变更验证","Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.","验证实现是否与变更工件一致。当用户想要在归档前验证实现是否完整、正确且连贯时使用。","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-verify-change\u002FSKILL.md",[67,70],{"categoryNo":68,"categoryName":69,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":71,"categoryName":72,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BZH5MB524G1VPY18RBFWDJ","工程变更管理",[74,75,76,77,78,79,80,81,82],"openspec verify change","change","verify","cli","validate","artifacts","correct","user","use",{"skillNo":84,"name":85,"nameZh":86,"description":87,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":93,"publishedAt":32},"01M6C2BSQEMJR15D1ESJBY51Q4","openspec-sync-specs","OpenSpec 规格同步","Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.","将变更中的增量规格（delta spec）同步到主规格。当用户想要用增量规格中的变更更新主规格，而不归档该变更时使用。","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-sync-specs\u002FSKILL.md",[91,92],{"categoryNo":68,"categoryName":69,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":71,"categoryName":72,"taxonomyType":23,"taxonomyTypeDesc":24},[94,95,82,77,96,75,97,81],"openspec sync specs","sync","spec","update",{"skillNo":99,"name":100,"nameZh":101,"description":102,"descriptionZh":103,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":108,"publishedAt":32},"01M6C2BQZ1J60X2BKKNRJQSHMF","openspec-propose","OpenSpec 变更提案","Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.","一步生成所有工件，提出新的变更。当用户想要快速描述要构建的内容，并获得包含设计、规格和任务的完整提案以供实施时使用。","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-propose\u002FSKILL.md",[106,107],{"categoryNo":68,"categoryName":69,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":71,"categoryName":72,"taxonomyType":23,"taxonomyTypeDesc":24},[109,110,82,81,79,77,111,112,75],"openspec propose","generated","tasks","design",{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":123,"publishedAt":32},"01M6C2BP1B1Y34VD761K3SKPVM","openspec-new-change","启动 OpenSpec 新变更","Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.","使用实验性工件工作流启动新的 OpenSpec 变更。当用户想要以结构化的分步方式创建新功能、修复或修改时使用。","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-new-change\u002FSKILL.md",[121,122],{"categoryNo":68,"categoryName":69,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":71,"categoryName":72,"taxonomyType":23,"taxonomyTypeDesc":24},[124,75,125,77,126,127,81,128,129,82],"openspec new change","workflow","create","start","fix","new feature",{"skillNo":131,"name":132,"nameZh":133,"description":134,"descriptionZh":135,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":140,"publishedAt":32},"01M6C2BMFQ6AZ3VSMSEEYGFZ03","openspec-ff-change","OpenSpec 工件快速创建","Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.","快速推进 OpenSpec 工件创建。当用户想要快速创建实现所需的全部工件，而无需逐个操作时使用。","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-ff-change\u002FSKILL.md",[138,139],{"categoryNo":68,"categoryName":69,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":71,"categoryName":72,"taxonomyType":23,"taxonomyTypeDesc":24},[141,75,77,126,79,142,81,82],"openspec ff change","fast",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":32},"01M6C2BJC0APWXADJ7B4WC0YCJ","openspec-explore","OpenSpec 需求探索","Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.","进入探索模式——作为思考伙伴，帮助探索想法、排查问题并澄清需求。当用户想在变更之前或期间深入思考某事时使用。","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-explore\u002FSKILL.md",[151,152],{"categoryNo":68,"categoryName":69,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":153,"categoryName":154,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C4MZTN2Z748WNZF599EMBT","需求澄清与上下文补全",[156,157,75,81,82,77],"explore","openspec explore"]