[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6994NJCFZQXX8XKRE8BWHEM":3,"skill-same:01M6994NJCFZQXX8XKRE8BWHEM":106},{"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":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":17,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":81},"01M6994NJCFZQXX8XKRE8BWHEM","release-dart-package","Dart 包版本发布","Prepares and publishes a new version of a Dart package to pub.dev, from the version bump to the GitHub release. Use when asked to cut, tag or publish a release.","准备并将 Dart 包的新版本发布到 pub.dev，涵盖从版本号提升到 GitHub release 的完整流程。当被要求创建（cut）、打标签（tag）或发布（publish）版本时使用。","google\u002Fskills_lint.dart","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M69948DMEXSF9KS5Y4DBBN4D",8,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"release dart package","release","package","dart","use","new","when","true","rights","with","github cli","version bump","bump","version","cli","Bash","publish","dev","sdk","github","2026-11-10 10:12:30",false,"---\nname: release-dart-package\ndescription: Prepares and publishes a new version of a Dart package to pub.dev, from the version bump to the GitHub release. Use when asked to cut, tag or publish a release.\nlicense: Apache-2.0\ncompatibility: Needs the Dart SDK, git and the GitHub CLI, with publish rights on pub.dev.\nallowed-tools: Bash Read Write\nmetadata:\n  internal: true\n---\n\n# Release a Dart package\n\nUse this skill to publish a new version of a package to pub.dev. A release\nhas four parts: choose the version, update the changelog, publish, and tag.\nDo them in that order, and stop at the first problem.\n\nRead [checklist.md](references\u002Fchecklist.md) before you start. It is the\nshort version of this skill, for when you have done a release before.\n\n## Choose the version\n\nThe package follows semantic versioning. Read\n[versioning.md](references\u002Fversioning.md) for the details. In short:\n\n- A breaking change to the public API, the CLI flags, or the config file\n  format needs a major version, or a minor version while the package is\n  below 1.0.0.\n- A new feature that doesn't break anything needs a minor version, or a\n  patch version below 1.0.0.\n- A fix that doesn't change the API needs a patch version.\n\nWhen you're not sure whether a change breaks users, treat it as breaking.\n\n```bash\ngit log --oneline \"v$(scripts\u002Fcheck-version.sh --current)..HEAD\"\n```\n\nRead every commit since the last tag. Sort them into breaking changes, new\nfeatures and fixes. That list becomes the changelog entry.\n\n## Update the changelog\n\n1. Open `CHANGELOG.md`. The top section is usually named `X.Y.Z-wip`.\n2. Rename it to the version you chose. Remove `-wip`.\n3. Check each entry against [changelog-guide.md](references\u002Fchangelog-guide.md):\n   entries are for users, start with a verb, and name the flag or API.\n4. Move entries that no user would notice out of the changelog.\n5. Set the same version in `pubspec.yaml`.\n\nRun the version check. It fails if `pubspec.yaml`, `CHANGELOG.md` and the\nversion constant in the code don't agree.\n\n```bash\nscripts\u002Fcheck-version.sh\n```\n\n## Run the checks\n\nRun every check that CI runs, from a clean checkout of the release commit:\n\n```bash\ndart pub get\ndart format --output=none --set-exit-if-changed .\ndart analyze --fatal-infos\ndart test\n```\n\nThen do a dry run of the publish. It lists every file that will be\nuploaded. Look for files that shouldn't be there, such as local config,\nbuild output or large test data.\n\n```bash\nscripts\u002Fpublish-dry-run.sh\n```\n\nIf the dry run warns about anything, fix it before you publish. A version\non pub.dev can't be changed or deleted, only retracted.\n\n## Publish\n\n1. Send the version bump and changelog as a pull request, and wait for\n   review and green CI.\n2. Merge it.\n3. From the merge commit on `main`, run `dart pub publish`.\n4. Check the package page on pub.dev. The new version, the changelog and\n   the score can take a few minutes to show.\n\n## Tag and release\n\nTag the merge commit, and push the tag:\n\n```bash\nversion=\"$(scripts\u002Fcheck-version.sh --current)\"\ngit tag -a \"v$version\" -m \"v$version\"\ngit push origin \"v$version\"\ngh release create \"v$version\" --title \"v$version\" --notes-from-tag\n```\n\nPaste the changelog section into the release notes.\n\n## After the release\n\n- Add a new `X.Y.Z-wip` section at the top of the changelog, with the next\n  patch version, and a matching version in `pubspec.yaml`.\n- Tell the downstream repositories that use the package that a new version\n  is out, and link to the changelog.\n- If something went wrong, write it down in the checklist so the next\n  release avoids it.\n\n## If something goes wrong\n\n- **The publish failed.** Read the error, fix it on a new branch, and start\n  again from \"Run the checks\". The version wasn't used, so you can keep it.\n- **The published version is broken.** Retract it on pub.dev, fix the\n  problem, and release a new patch version. Don't reuse the version number.\n- **The tag points at the wrong commit.** Delete the tag locally and on\n  GitHub, then tag the right commit. Do this only before anyone has used the\n  tag.\n","# Release a Dart package\n\nUse this skill to publish a new version of a package to pub.dev. A release\nhas four parts: choose the version, update the changelog, publish, and tag.\nDo them in that order, and stop at the first problem.\n\nRead [checklist.md](references\u002Fchecklist.md) before you start. It is the\nshort version of this skill, for when you have done a release before.\n\n## Choose the version\n\nThe package follows semantic versioning. Read\n[versioning.md](references\u002Fversioning.md) for the details. In short:\n\n- A breaking change to the public API, the CLI flags, or the config file\n  format needs a major version, or a minor version while the package is\n  below 1.0.0.\n- A new feature that doesn't break anything needs a minor version, or a\n  patch version below 1.0.0.\n- A fix that doesn't change the API needs a patch version.\n\nWhen you're not sure whether a change breaks users, treat it as breaking.\n\n```bash\ngit log --oneline \"v$(scripts\u002Fcheck-version.sh --current)..HEAD\"\n```\n\nRead every commit since the last tag. Sort them into breaking changes, new\nfeatures and fixes. That list becomes the changelog entry.\n\n## Update the changelog\n\n1. Open `CHANGELOG.md`. The top section is usually named `X.Y.Z-wip`.\n2. Rename it to the version you chose. Remove `-wip`.\n3. Check each entry against [changelog-guide.md](references\u002Fchangelog-guide.md):\n   entries are for users, start with a verb, and name the flag or API.\n4. Move entries that no user would notice out of the changelog.\n5. Set the same version in `pubspec.yaml`.\n\nRun the version check. It fails if `pubspec.yaml`, `CHANGELOG.md` and the\nversion constant in the code don't agree.\n\n```bash\nscripts\u002Fcheck-version.sh\n```\n\n## Run the checks\n\nRun every check that CI runs, from a clean checkout of the release commit:\n\n```bash\ndart pub get\ndart format --output=none --set-exit-if-changed .\ndart analyze --fatal-infos\ndart test\n```\n\nThen do a dry run of the publish. It lists every file that will be\nuploaded. Look for files that shouldn't be there, such as local config,\nbuild output or large test data.\n\n```bash\nscripts\u002Fpublish-dry-run.sh\n```\n\nIf the dry run warns about anything, fix it before you publish. A version\non pub.dev can't be changed or deleted, only retracted.\n\n## Publish\n\n1. Send the version bump and changelog as a pull request, and wait for\n   review and green CI.\n2. Merge it.\n3. From the merge commit on `main`, run `dart pub publish`.\n4. Check the package page on pub.dev. The new version, the changelog and\n   the score can take a few minutes to show.\n\n## Tag and release\n\nTag the merge commit, and push the tag:\n\n```bash\nversion=\"$(scripts\u002Fcheck-version.sh --current)\"\ngit tag -a \"v$version\" -m \"v$version\"\ngit push origin \"v$version\"\ngh release create \"v$version\" --title \"v$version\" --notes-from-tag\n```\n\nPaste the changelog section into the release notes.\n\n## After the release\n\n- Add a new `X.Y.Z-wip` section at the top of the changelog, with the next\n  patch version, and a matching version in `pubspec.yaml`.\n- Tell the downstream repositories that use the package that a new version\n  is out, and link to the changelog.\n- If something went wrong, write it down in the checklist so the next\n  release avoids it.\n\n## If something goes wrong\n\n- **The publish failed.** Read the error, fix it on a new branch, and start\n  again from \"Run the checks\". The version wasn't used, so you can keep it.\n- **The published version is broken.** Retract it on pub.dev, fix the\n  problem, and release a new patch version. Don't reuse the version number.\n- **The tag points at the wrong commit.** Delete the tag locally and on\n  GitHub, then tag the right commit. Do this only before anyone has used the\n  tag.\n",{"name":5,"license":16,"metadata":56,"description":7,"allowed-tools":58,"compatibility":59},{"internal":57},true,"Bash Read Write","Needs the Dart SDK, git and the GitHub CLI, with publish rights on pub.dev.","main","d7c70923cbbe95b86a590fa0fa4e914d15695e4d","packages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package",7,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 05:40:20",{"source":9,"skillName":5,"commands":70,"prompt":80,"zipAvailable":57},[71,74,77],{"tool":72,"command":73},"npx","npx skills add google\u002Fskills_lint.dart --skill release-dart-package",{"tool":75,"command":76},"bunx","bunx skills add google\u002Fskills_lint.dart --skill release-dart-package",{"tool":78,"command":79},"pnpm","pnpm dlx skills add google\u002Fskills_lint.dart --skill release-dart-package","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002FSKILL.md",[82,88,92,96,102],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fchangelog-guide.md","REFERENCE","参考文档",1131,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002Freferences\u002Fchangelog-guide.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fchecklist.md",1160,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002Freferences\u002Fchecklist.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fversioning.md",1103,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002Freferences\u002Fversioning.md",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fcheck-version.sh","SCRIPT","脚本",583,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002Fscripts\u002Fcheck-version.sh",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fpublish-dry-run.sh",302,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002Fscripts\u002Fpublish-dry-run.sh",[107,132,150,172,194,216],{"skillNo":108,"name":109,"nameZh":110,"description":111,"descriptionZh":112,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":119,"publishedAt":51},"01M6995BQ87JV2EG35BC0BGH3E","dart-test-fundamentals","Dart 单元测试基础","Core concepts and best practices for `package:test`.\nCovers `test`, `group`, lifecycle methods (`setUp`, `tearDown`), and\nconfiguration (`dart_test.yaml`).","`package:test` 的核心概念与最佳实践。\n涵盖 `test`、`group`、生命周期方法（`setUp`、`tearDown`）以及配置（`dart_test.yaml`）。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-test-fundamentals\u002FSKILL.md",[115,116],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT3B3SM9ZTTFVESHK5HDRR","Dart 开发",[120,121,34,122,123,124,125,126,127,128,129,33,130,131],"dart test fundamentals","test","for","core","concepts","teardown","methods","configuration","lifecycle","yaml","best practices","setup",{"skillNo":133,"name":134,"nameZh":135,"description":136,"descriptionZh":137,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":142,"publishedAt":51},"01M699560NWTQKV9VMQYQR4P9S","dart-matcher-best-practices","Dart 断言匹配器最佳实践","Best practices for using `expect` and `package:matcher`.\nFocuses on readable assertions, proper matcher selection, and avoiding\ncommon pitfalls.","使用 `expect` 和 `package:matcher` 的最佳实践。\n重点关注可读的断言、正确选择匹配器以及避免常见陷阱。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-matcher-best-practices\u002FSKILL.md",[140,141],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},[130,143,34,121,33,144,122,145,146,147,148,149],"dart matcher best practices","assertions","pitfalls","common pitfalls","selection","common","refactoring",{"skillNo":151,"name":152,"nameZh":153,"description":154,"descriptionZh":155,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":156,"categories":157,"keywords":160,"publishedAt":51},"01M69954NHT0DAFYE2SZPN6KF0","dart-long-lines","Dart 长行代码规范处理","Guidelines for handling long lines in Dart code to adhere to the 80-column\nrule. The `lines_longer_than_80_chars` lint.","处理 Dart 代码中长行以遵守 80 列规则的指南，即 `lines_longer_than_80_chars` lint 检查。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-long-lines\u002FSKILL.md",[158,159],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},[161,162,34,149,163,164,165,166,122,167,168,169,170,171],"long","dart long lines","line","compliance","enforcement","rule","code","linter","column","guidelines","lint",{"skillNo":173,"name":174,"nameZh":175,"description":176,"descriptionZh":177,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":178,"categories":179,"keywords":182,"publishedAt":51},"01M69953F9VQ40RN4T4WYDMQPC","dart-doc-validation","Dart 文档注释校验","Best practices for validating Dart documentation comments.\nCovers using `dart doc` to catch unresolved references and macros.","验证 Dart 文档注释的最佳实践。涵盖使用 `dart doc` 检测未解析的引用和宏。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-doc-validation\u002FSKILL.md",[180,181],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},[183,184,185,34,130,186,122,187,188,189,190,191,192,193],"doc","dart doc validation","validation","catch","comments","macros","references","reference","macro","verification","documentation",{"skillNo":195,"name":196,"nameZh":197,"description":198,"descriptionZh":199,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":200,"categories":201,"keywords":204,"publishedAt":51},"01M699529EEJD1Z9AJ15GXAS7N","dart-best-practices","Dart 开发最佳实践","General best practices for Dart development.\nCovers code style, effective Dart, and language features.","Dart 开发的通用最佳实践。涵盖代码风格、Effective Dart（有效的 Dart）和语言特性。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-best-practices\u002FSKILL.md",[202,203],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":117,"categoryName":118,"taxonomyType":28,"taxonomyTypeDesc":29},[34,130,205,206,167,207,170,208,209,210,211,122,212,213,214,215],"dart best practices","idioms","development","code style","general","general best practices","features","style","feature","recommendations","language",{"skillNo":217,"name":218,"nameZh":219,"description":220,"descriptionZh":221,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":222,"categories":223,"keywords":228,"publishedAt":51},"01M6994Q5SB4RRW1EHQGFGEYM2","triage-github-issues","GitHub Issue 分类与整理","Sorts new GitHub issues by type and priority, asks for missing details, and closes duplicates. Use when asked to triage, label or clean up the issue tracker.","按类型和优先级对新的 GitHub issue 进行分类，询问缺失的详细信息，并关闭重复项。当被要求对 issue tracker 进行分类（triage）、添加标签或清理时使用。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Ftriage-github-issues\u002FSKILL.md",[224,225],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":226,"categoryName":227,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[229,230,231,232,50,233,36,37,122,38,234,235,236,237,238,239,240,35],"triage github issues","triage","github issues","issues","issue tracker","missing","type","clean","tracker","issue","duplicates","up"]