[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2AAVMY8SP4ZVX8N60RX4H":3,"skill-same:01M6C2AAVMY8SP4ZVX8N60RX4H":79},{"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":23,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6C2AAVMY8SP4ZVX8N60RX4H","generate-db-wrappers",null,"Generate database wrappers for all supported database engines","kalbasit\u002Fncps-test","kalbasit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87115?v=4","01M6C2A733H05KZCC1FTS5ENT4","Wael Nasreddine","01M6C2A77QVF5AD69EP1S1ZTY4",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgenerate-db-wrappers\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[24,25,26],"generate","generate db wrappers","database","2026-11-10 10:12:30",false,"---\ndescription: Generate database wrappers for all supported database engines\n---\n\n# Generate Database Wrappers\n\nThis workflow guides you through generating the database wrappers for SQLite, PostgreSQL, and MySQL. These wrappers provide a common interface for different database backends.\n\n## Prerequisites\n\n- **Nix environment**: This project uses Nix for its development environment. You should run the following steps within `nix develop` or after loading `direnv`.\n\n## Workflow Steps\n\n### 1. Generate Wrappers\n\nRun `sqlc generate` followed by the `go generate` command for the `pkg\u002Fdatabase` package. Both should be run within the Nix environment.\n\n\u002F\u002F turbo\n\n```bash\nnix develop --command bash -c \"sqlc generate && go generate .\u002Fpkg\u002Fdatabase\"\n```\n\n### 2. Verify Generated Files\n\nEnsure that the following files have been updated:\n\n- `pkg\u002Fdatabase\u002Fwrapper_sqlite.go`\n- `pkg\u002Fdatabase\u002Fwrapper_postgres.go`\n- `pkg\u002Fdatabase\u002Fwrapper_mysql.go`\n\n### 3. Lint and Format\n\nAfter generating the wrappers, run the linting workflow to ensure the generated code is properly formatted and passes quality checks.\n\n\u002F\u002F turbo\n\n```bash\nnix develop --command golangci-lint run --fix\nnix fmt\n```\n\n> [!IMPORTANT]\n> Do NOT edit these files manually. They are overwritten every time the generation tool is run. If you need to fix lint errors or change the logic, modify the generation tool or the `querier.go` interface.","# Generate Database Wrappers\n\nThis workflow guides you through generating the database wrappers for SQLite, PostgreSQL, and MySQL. These wrappers provide a common interface for different database backends.\n\n## Prerequisites\n\n- **Nix environment**: This project uses Nix for its development environment. You should run the following steps within `nix develop` or after loading `direnv`.\n\n## Workflow Steps\n\n### 1. Generate Wrappers\n\nRun `sqlc generate` followed by the `go generate` command for the `pkg\u002Fdatabase` package. Both should be run within the Nix environment.\n\n\u002F\u002F turbo\n\n```bash\nnix develop --command bash -c \"sqlc generate && go generate .\u002Fpkg\u002Fdatabase\"\n```\n\n### 2. Verify Generated Files\n\nEnsure that the following files have been updated:\n\n- `pkg\u002Fdatabase\u002Fwrapper_sqlite.go`\n- `pkg\u002Fdatabase\u002Fwrapper_postgres.go`\n- `pkg\u002Fdatabase\u002Fwrapper_mysql.go`\n\n### 3. Lint and Format\n\nAfter generating the wrappers, run the linting workflow to ensure the generated code is properly formatted and passes quality checks.\n\n\u002F\u002F turbo\n\n```bash\nnix develop --command golangci-lint run --fix\nnix fmt\n```\n\n> [!IMPORTANT]\n> Do NOT edit these files manually. They are overwritten every time the generation tool is run. If you need to fix lint errors or change the logic, modify the generation tool or the `querier.go` interface.",{"description":7},"main","a541621e4e20d5773ebbcefa969b7bad1c15ed2a",".agent\u002Fskills\u002Fgenerate-db-wrappers","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test","https:\u002F\u002Fgithub.com\u002Fkalbasit","https:\u002F\u002Fkalbas.it","2026-09-30 03:07:07",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add kalbasit\u002Fncps-test --skill generate-db-wrappers",{"tool":45,"command":46},"bunx","bunx skills add kalbasit\u002Fncps-test --skill generate-db-wrappers",{"tool":48,"command":49},"pnpm","pnpm dlx skills add kalbasit\u002Fncps-test --skill generate-db-wrappers","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fgenerate-db-wrappers\u002FSKILL.md",true,[53,59,63,67,71,75],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"写C和H代码.md","REFERENCE","参考文档",5948,"https:\u002F\u002Fgithub.com\u002Fevil0knight\u002FBasic_learning_record\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002F写C和H代码.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"写md文件.md",3606,"https:\u002F\u002Fgithub.com\u002Fevil0knight\u002FBasic_learning_record\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002F写md文件.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"创建文件.md",1303,"https:\u002F\u002Fgithub.com\u002Fevil0knight\u002FBasic_learning_record\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002F创建文件.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"用量统计.md",1825,"https:\u002F\u002Fgithub.com\u002Fevil0knight\u002FBasic_learning_record\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002F用量统计.md",{"path":72,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":73,"sourceHtmlUrl":74},"重组文件.md",1455,"https:\u002F\u002Fgithub.com\u002Fevil0knight\u002FBasic_learning_record\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002F重组文件.md",{"path":76,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":77,"sourceHtmlUrl":78},"音频转写.md",1785,"https:\u002F\u002Fgithub.com\u002Fevil0knight\u002FBasic_learning_record\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002F音频转写.md",[80,96,107,118,131,140],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":27},"01M6C2BVH1AB05AHRRKM1KT5EK","openspec-verify-change","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",[],[87,88,89,90,91,92,93,94,95],"openspec verify change","change","verify","cli","validate","artifacts","correct","user","use",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":27},"01M6C2BSQEMJR15D1ESJBY51Q4","openspec-sync-specs","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.","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-sync-specs\u002FSKILL.md",[],[103,104,95,90,105,88,106,94],"openspec sync specs","sync","spec","update",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":27},"01M6C2BQZ1J60X2BKKNRJQSHMF","openspec-propose","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",[],[114,115,95,94,92,90,116,117,88],"openspec propose","generated","tasks","design",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":27},"01M6C2BP1B1Y34VD761K3SKPVM","openspec-new-change","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.","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-new-change\u002FSKILL.md",[],[125,88,126,90,127,128,94,129,130,95],"openspec new change","workflow","create","start","fix","new feature",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":27},"01M6C2BMFQ6AZ3VSMSEEYGFZ03","openspec-ff-change","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.","https:\u002F\u002Fgithub.com\u002Fkalbasit\u002Fncps-test\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenspec-ff-change\u002FSKILL.md",[],[138,88,90,127,92,139,94,95],"openspec ff change","fast",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":27},"01M6C2BJC0APWXADJ7B4WC0YCJ","openspec-explore","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",[],[147,148,88,94,95,90],"explore","openspec explore"]