[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C12BYNJFN415YCKZZV24QN":3,"skill-same:01M6C12BYNJFN415YCKZZV24QN":73},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":15,"repositoryHtmlUrl":48,"repositoryHomepageUrl":17,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6C12BYNJFN415YCKZZV24QN","nix-update","更新 Nix flake 输入","Update Nix flake inputs.","更新 Nix flake 的输入。","vorburger\u002Faifiles","vorburger","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F298598?v=4","01M6C11R5X69DM3ZRH19WVATJ5","Michael Vorburger","01M6C11RAG3NAQQZ7S3QNG7ER4",0,"CC-BY-4.0",null,"https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fnix-update\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37],"nix","update","nix update","cli","gemini","gemini cli","nix flake","2026-11-10 10:12:30",false,"---\nname: nix-update\ndescription: Update Nix flake inputs.\nmetadata:\n  author: \"Gemini CLI\"\n---\n\n# Nix Update\n\nThis skill provides a robust way to update all flake inputs of a Nix project iteratively. Unlike a bulk `nix flake update`, this skill verifies each input's update independently to ensure stability. If a check fails, the specific input update is reverted while others continue. Use this when you want to safely update all flake dependencies one by one\n\n## Core Logic\n\nFor every root input in the `flake.lock`:\n\n1. **Backup**: Create a temporary backup of `flake.lock`.\n2. **Update**: Run `nix flake update \u003Cinput_name>`.\n3. **Validate**: Run `nix flake check` to ensure the flake remains in a valid state.\n4. **Commit\u002FRevert**:\n   - If validation succeeds: Keep the change and track it as successful.\n   - If validation fails: Restore `flake.lock` from backup and track it as failed.\n5. **Summary**: At the end of the script, a clear summary of all successful and failed updates is printed to the terminal.\n\n## Usage\n\nExecute the update script from the project root:\n\n```bash\nbash .agents\u002Fskills\u002Fnix-update\u002Fscripts\u002Fnix-update.sh\n```\n\n## Dependencies\n\n- `nix`: The Nix package manager with flakes enabled.\n- `jq`: Required to parse the flake inputs.\n- `bash`: Required to run the automation script.\n\n## Troubleshooting\n\n- **`nix flake check` fails due to formatting**: Because `nix flake check` typically executes `treefmt` (or similar formatters) to verify repository-wide format compliance, having unformatted, modified files (even non-nix files like this shell script) in the working tree will cause the check to fail. **Solution**: Run `nix fmt` before running this script to ensure all files in your repository meet the formatting standards.\n","# Nix Update\n\nThis skill provides a robust way to update all flake inputs of a Nix project iteratively. Unlike a bulk `nix flake update`, this skill verifies each input's update independently to ensure stability. If a check fails, the specific input update is reverted while others continue. Use this when you want to safely update all flake dependencies one by one\n\n## Core Logic\n\nFor every root input in the `flake.lock`:\n\n1. **Backup**: Create a temporary backup of `flake.lock`.\n2. **Update**: Run `nix flake update \u003Cinput_name>`.\n3. **Validate**: Run `nix flake check` to ensure the flake remains in a valid state.\n4. **Commit\u002FRevert**:\n   - If validation succeeds: Keep the change and track it as successful.\n   - If validation fails: Restore `flake.lock` from backup and track it as failed.\n5. **Summary**: At the end of the script, a clear summary of all successful and failed updates is printed to the terminal.\n\n## Usage\n\nExecute the update script from the project root:\n\n```bash\nbash .agents\u002Fskills\u002Fnix-update\u002Fscripts\u002Fnix-update.sh\n```\n\n## Dependencies\n\n- `nix`: The Nix package manager with flakes enabled.\n- `jq`: Required to parse the flake inputs.\n- `bash`: Required to run the automation script.\n\n## Troubleshooting\n\n- **`nix flake check` fails due to formatting**: Because `nix flake check` typically executes `treefmt` (or similar formatters) to verify repository-wide format compliance, having unformatted, modified files (even non-nix files like this shell script) in the working tree will cause the check to fail. **Solution**: Run `nix fmt` before running this script to ensure all files in your repository meet the formatting standards.\n",{"name":5,"metadata":43,"description":7},{"author":44},"Gemini CLI","main","6cfcb4ea30a31850a900583021f7ef2b5159538f","skills\u002Fnix-update","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles","https:\u002F\u002Fgithub.com\u002Fvorburger","http:\u002F\u002Fwww.vorburger.ch"," 🇺🇦 #KyivNotKiev. Geek Father. EPFL alumni. Speaks Esperanto, Java, no Klingon, but a few other langs. Works at Google. Formerly at Red Hat. Repos personal.","2026-10-18 19:44:02",{"source":9,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add vorburger\u002Faifiles --skill nix-update",{"tool":59,"command":60},"bunx","bunx skills add vorburger\u002Faifiles --skill nix-update",{"tool":62,"command":63},"pnpm","pnpm dlx skills add vorburger\u002Faifiles --skill nix-update","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fnix-update\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Fnix-update.sh","SCRIPT","脚本",1190,"https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fnix-update\u002Fscripts\u002Fnix-update.sh",[74,92,111,129,145,158],{"skillNo":75,"name":76,"nameZh":77,"description":78,"descriptionZh":79,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":80,"categories":81,"keywords":88,"publishedAt":38},"01M6C12QVGQB262AXE96P898W5","vorburger-profile","Michael Vorburger 个人资料","Provides personal and professional information about Michael Vorburger.","提供关于 Michael Vorburger 的个人及职业信息。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fvorburger-profile\u002FSKILL.md",[82,85],{"categoryNo":83,"categoryName":84,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":86,"categoryName":87,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9XZ92SSCN913ZXMSBA095","通用助手与问答",[89,90,91],"vorburger profile","profile","personal",{"skillNo":93,"name":94,"nameZh":95,"description":96,"descriptionZh":97,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":104,"publishedAt":38},"01M6C12NWCGZ83F0WCSQR8TBC0","typescript-conventions","TypeScript 编码规范","Enforces TypeScript and project-specific coding standards, including Bun usage and the zero-warning policy. Use this skill when creating or modifying any TypeScript or configuration files.","强制执行 TypeScript 及项目特定的编码标准，包括 Bun 的使用和零警告策略。在创建或修改任何 TypeScript 或配置文件时使用此技能。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript-conventions\u002FSKILL.md",[100,101],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":102,"categoryName":103,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CAAMN19HMY7B3JXN2CBP29","工程实践准则",[105,106,107,108,109,110],"typescript conventions","typescript","policy","coding standards","ZeRO","coding",{"skillNo":112,"name":113,"nameZh":114,"description":115,"descriptionZh":116,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":125,"publishedAt":38},"01M6C12KVA8A1HDX56XKJQF93K","testing","项目测试方案制定","Guidelines for determining how to test a project based on its contents.","根据项目内容确定如何进行测试的指南。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[119,122],{"categoryNo":120,"categoryName":121,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[113,126,127,128],"test","guidelines","how",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":143,"publishedAt":38},"01M6C12JK1GP5KP4AMKDY5AQJR","skills","Agent Skills 文件规范","Rules for Agent Skills files.","Agent Skills 文件的编写规则。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fskills\u002FSKILL.md",[137,140],{"categoryNo":138,"categoryName":139,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":141,"categoryName":142,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[144],"Rules",{"skillNo":146,"name":147,"nameZh":148,"description":149,"descriptionZh":150,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":155,"publishedAt":38},"01M6C12GTNMWM6NAB1ZAEJ20NE","scripting","脚本编写与执行规范","Conventions for writing and executing scripts (TS, Bash, etc.).","编写和执行脚本（TS、Bash 等）的约定规范。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fscripting\u002FSKILL.md",[153,154],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":102,"categoryName":103,"taxonomyType":28,"taxonomyTypeDesc":29},[147,156,157],"Bash","writing",{"skillNo":159,"name":160,"nameZh":161,"description":162,"descriptionZh":163,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":164,"categories":165,"keywords":168,"publishedAt":38},"01M6C12F45S1D29YM5HMEAE10S","preferred-tools","常用任务首选工具","Preferred tools for common tasks like linting and link checking.","代码检查（linting）、链接检查等常见任务的首选工具。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fpreferred-tools\u002FSKILL.md",[166,167],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[169,170,171,172],"Tools","preferred tools","common","tasks"]