[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699560NWTQKV9VMQYQR4P9S":3,"skill-same:01M699560NWTQKV9VMQYQR4P9S":81},{"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":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":17,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"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重点关注可读的断言、正确选择匹配器以及避免常见陷阱。","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\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-matcher-best-practices\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT3B3SM9ZTTFVESHK5HDRR","Dart 开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42],"dart matcher best practices","best practices","dart","test","package","refactoring","common","selection","common pitfalls","pitfalls","for","assertions","2026-11-10 10:12:30",false,"---\nname: dart-matcher-best-practices\ndescription: |-\n  Best practices for using `expect` and `package:matcher`.\n  Focuses on readable assertions, proper matcher selection, and avoiding\n  common pitfalls.\nlicense: Apache-2.0\nkey_features:\n  - Package matcher assertions\n  - Readable test expectations\n  - Matcher selection & refactoring\n---\n\n# Dart Matcher Best Practices\n\n## When to use this skill\n\nUse this skill when:\n\n- Writing assertions using `expect` and `package:matcher`.\n- Migrating legacy manual checks to cleaner matchers.\n- Debugging confusing test failures.\n\n### When NOT to use (Abstention Guardrails)\n\nDo NOT apply this skill or refactor assertions when:\n\n- **Non-Collection Properties**: The property happens to be named `.length` but\n  belongs to a non-collection class (e.g. geometric scalar magnitude on a\n  `Vector`, duration on a buffer, or line segment distance). `hasLength(n)`\n  expects an `int` on an `Iterable`, `Map`, or `String`.\n- **Custom Domain Booleans**: The boolean check tests an arbitrary domain\n  property (e.g. `expect(switch.isEnabled, isTrue)`). Do not invent non-existent\n  matchers.\n- **Alternative Assertion Frameworks**: The package has adopted `package:checks`\n  (`check(x)...`). Do not revert `checks` back to `package:matcher`.\n- **Already Idiomatic Assertions**: Tests already use declarative matchers\n  (`hasLength`, `isEmpty`, `isNotEmpty`, `contains`, `containsPair`, `isA`,\n  `throwsA`). Abstain and make zero modifications.\n\n## Discovery\n\nTo find candidates for improving matcher usage, search for suboptimal patterns:\n\n### Suboptimal Length Checks\n\nSearch for length checks that should use `hasLength`:\n\n- **Regex**: `expect\\([^,]+.length,\\s*`\n\n### Suboptimal Boolean Checks\n\nSearch for checks on boolean properties that have specific matchers:\n\n- **Regex**: `expect\\([^,]+.isEmpty,\\s*(true|equals\\(true\\))`\n- **Regex**: `expect\\([^,]+.isNotEmpty,\\s*(true|equals\\(true\\))`\n- **Regex**: `expect\\([^,]+.contains\\(.*\\),\\s*(true|equals\\(true\\))`\n\n### Suboptimal Map Lookups\n\nSearch for manual map lookups instead of `containsPair`:\n\n- **Regex**: `expect\\([^,]+\\[.*\\],\\s*`\n\n## Core Matchers\n\n### 1. Collections (`hasLength`, `contains`, `isEmpty`, `unorderedEquals`, `containsPair`)\n\n- **`hasLength(n)`**:\n  - Prefer `expect(list, hasLength(n))` over `expect(list.length, n)`.\n  - Gives better error messages on failure (shows actual list content).\n\n- **`isEmpty` \u002F `isNotEmpty`**:\n  - Prefer `expect(list, isEmpty)` over `expect(list.isEmpty, true)`.\n  - Prefer `expect(list, isNotEmpty)` over `expect(list.isNotEmpty, true)`.\n\n- **`contains(item)`**:\n  - Verify existence without manual iteration.\n  - Prefer over `expect(list.contains(item), true)`.\n\n- **`unorderedEquals(items)`**:\n  - Verify contents regardless of order.\n  - Prefer over `expect(list, containsAll(items))`.\n\n- **`containsPair(key, value)`**:\n  - Verify a map contains a specific key-value pair.\n  - Prefer over checking `expect(map[key], value)` or\n    `expect(map.containsKey(key), true)`.\n\n### 2. Type Checks (`isA\u003CT>` and `TypeMatcher\u003CT>`)\n\n- **`isA\u003CT>()`**:\n  - Prefer for inline assertions: `expect(obj, isA\u003CType>())`.\n  - More concise and readable than `TypeMatcher\u003CType>()`.\n  - Allows chaining constraints using `.having()`.\n\n- **`TypeMatcher\u003CT>`**:\n  - Prefer when defining top-level reusable matchers.\n  - **Use `const`**: `const isMyType = TypeMatcher\u003CMyType>();`\n  - Chaining `.having()` works here too, but the resulting matcher is not\n    `const`.\n\n### 3. Object Properties (`having`)\n\nUse `.having()` on `isA\u003CT>()` or other TypeMatchers to check properties.\n\n- **Descriptive Names**: Use meaningful parameter names in the closure (e.g.,\n  `(e) => e.message`) instead of generic ones like `p0` to improve readability.\n\n```dart\nexpect(person, isA\u003CPerson>()\n    .having((p) => p.name, 'name', 'Alice')\n    .having((p) => p.age, 'age', greaterThan(18)));\n```\n\nThis provides detailed failure messages indicating exactly which property\nfailed.\n\n### 4. Async Assertions\n\n- **`completion(matcher)`**:\n  - Wait for a future to complete and check its value.\n  - **Prefer `await expectLater(...)`** to ensure the future completes before\n    the test continues.\n  - `await expectLater(future, completion(equals(42)))`.\n\n- **`throwsA(matcher)`**:\n  - Check that a future or function throws an exception.\n  - `await expectLater(future, throwsA(isA\u003CStateError>()))`.\n  - `expect(() => function(), throwsA(isA\u003CArgumentError>()))` (synchronous\n    function throwing is fine with `expect`).\n\n### 5. Exception Testing (Avoid `try\u002Fcatch` with `fail()`)\n\n- **Prefer `throwsA` over imperative `try\u002Fcatch`**:\n  - Legacy tests often use\n    `try { fn(); fail('should throw'); } catch (e) { expect(e, isA\u003CT>()); }`.\n  - Replace with declarative matchers:\n    ```dart\n    \u002F\u002F Synchronous:\n    expect(() => parseData('invalid'), throwsA(isA\u003CFormatException>()));\n\n    \u002F\u002F Asynchronous:\n    await expectLater(client.fetch('bad-url'), throwsA(isA\u003CHttpException>()));\n    ```\n  - Common built-in exception matchers include `throwsArgumentError`,\n    `throwsStateError`, `throwsRangeError`, `throwsFormatException`,\n    `throwsNoSuchMethodError`, and `throwsUnsupportedError`.\n\n### 6. Using `expectLater`\n\nUse `await expectLater(...)` when testing async behavior to ensure proper\nsequencing.\n\n```dart\n\u002F\u002F GOOD: Waits for future to complete before checking side effects\nawait expectLater(future, completion(equals(42)));\nexpect(sideEffectState, equals('done'));\n\n\u002F\u002F BAD: Side effect check might run before future completes\nexpect(future, completion(equals(42)));\nexpect(sideEffectState, equals('done')); \u002F\u002F Race condition!\n```\n\n## Principles\n\n1.  **Readable Failures**: Choose matchers that produce clear error messages.\n2.  **Avoid Manual Logic**: Don't use `if` statements or `for` loops for\n    assertions; let matchers handle it.\n3.  **Specific Matchers**: Use the most specific matcher available (e.g.,\n    `containsPair` for maps instead of checking keys manually).\n\n## Related Skills\n\n- **[dart-test-fundamentals]**: Core concepts for structuring tests, lifecycles,\n  and configuration.\n\n[dart-test-fundamentals]:\n  https:\u002F\u002Fgithub.com\u002Fkevmoo\u002Fdash_skills\u002Fblob\u002Fmain\u002Fskills\u002Fdart-test-fundamentals\u002FSKILL.md\n","# Dart Matcher Best Practices\n\n## When to use this skill\n\nUse this skill when:\n\n- Writing assertions using `expect` and `package:matcher`.\n- Migrating legacy manual checks to cleaner matchers.\n- Debugging confusing test failures.\n\n### When NOT to use (Abstention Guardrails)\n\nDo NOT apply this skill or refactor assertions when:\n\n- **Non-Collection Properties**: The property happens to be named `.length` but\n  belongs to a non-collection class (e.g. geometric scalar magnitude on a\n  `Vector`, duration on a buffer, or line segment distance). `hasLength(n)`\n  expects an `int` on an `Iterable`, `Map`, or `String`.\n- **Custom Domain Booleans**: The boolean check tests an arbitrary domain\n  property (e.g. `expect(switch.isEnabled, isTrue)`). Do not invent non-existent\n  matchers.\n- **Alternative Assertion Frameworks**: The package has adopted `package:checks`\n  (`check(x)...`). Do not revert `checks` back to `package:matcher`.\n- **Already Idiomatic Assertions**: Tests already use declarative matchers\n  (`hasLength`, `isEmpty`, `isNotEmpty`, `contains`, `containsPair`, `isA`,\n  `throwsA`). Abstain and make zero modifications.\n\n## Discovery\n\nTo find candidates for improving matcher usage, search for suboptimal patterns:\n\n### Suboptimal Length Checks\n\nSearch for length checks that should use `hasLength`:\n\n- **Regex**: `expect\\([^,]+.length,\\s*`\n\n### Suboptimal Boolean Checks\n\nSearch for checks on boolean properties that have specific matchers:\n\n- **Regex**: `expect\\([^,]+.isEmpty,\\s*(true|equals\\(true\\))`\n- **Regex**: `expect\\([^,]+.isNotEmpty,\\s*(true|equals\\(true\\))`\n- **Regex**: `expect\\([^,]+.contains\\(.*\\),\\s*(true|equals\\(true\\))`\n\n### Suboptimal Map Lookups\n\nSearch for manual map lookups instead of `containsPair`:\n\n- **Regex**: `expect\\([^,]+\\[.*\\],\\s*`\n\n## Core Matchers\n\n### 1. Collections (`hasLength`, `contains`, `isEmpty`, `unorderedEquals`, `containsPair`)\n\n- **`hasLength(n)`**:\n  - Prefer `expect(list, hasLength(n))` over `expect(list.length, n)`.\n  - Gives better error messages on failure (shows actual list content).\n\n- **`isEmpty` \u002F `isNotEmpty`**:\n  - Prefer `expect(list, isEmpty)` over `expect(list.isEmpty, true)`.\n  - Prefer `expect(list, isNotEmpty)` over `expect(list.isNotEmpty, true)`.\n\n- **`contains(item)`**:\n  - Verify existence without manual iteration.\n  - Prefer over `expect(list.contains(item), true)`.\n\n- **`unorderedEquals(items)`**:\n  - Verify contents regardless of order.\n  - Prefer over `expect(list, containsAll(items))`.\n\n- **`containsPair(key, value)`**:\n  - Verify a map contains a specific key-value pair.\n  - Prefer over checking `expect(map[key], value)` or\n    `expect(map.containsKey(key), true)`.\n\n### 2. Type Checks (`isA\u003CT>` and `TypeMatcher\u003CT>`)\n\n- **`isA\u003CT>()`**:\n  - Prefer for inline assertions: `expect(obj, isA\u003CType>())`.\n  - More concise and readable than `TypeMatcher\u003CType>()`.\n  - Allows chaining constraints using `.having()`.\n\n- **`TypeMatcher\u003CT>`**:\n  - Prefer when defining top-level reusable matchers.\n  - **Use `const`**: `const isMyType = TypeMatcher\u003CMyType>();`\n  - Chaining `.having()` works here too, but the resulting matcher is not\n    `const`.\n\n### 3. Object Properties (`having`)\n\nUse `.having()` on `isA\u003CT>()` or other TypeMatchers to check properties.\n\n- **Descriptive Names**: Use meaningful parameter names in the closure (e.g.,\n  `(e) => e.message`) instead of generic ones like `p0` to improve readability.\n\n```dart\nexpect(person, isA\u003CPerson>()\n    .having((p) => p.name, 'name', 'Alice')\n    .having((p) => p.age, 'age', greaterThan(18)));\n```\n\nThis provides detailed failure messages indicating exactly which property\nfailed.\n\n### 4. Async Assertions\n\n- **`completion(matcher)`**:\n  - Wait for a future to complete and check its value.\n  - **Prefer `await expectLater(...)`** to ensure the future completes before\n    the test continues.\n  - `await expectLater(future, completion(equals(42)))`.\n\n- **`throwsA(matcher)`**:\n  - Check that a future or function throws an exception.\n  - `await expectLater(future, throwsA(isA\u003CStateError>()))`.\n  - `expect(() => function(), throwsA(isA\u003CArgumentError>()))` (synchronous\n    function throwing is fine with `expect`).\n\n### 5. Exception Testing (Avoid `try\u002Fcatch` with `fail()`)\n\n- **Prefer `throwsA` over imperative `try\u002Fcatch`**:\n  - Legacy tests often use\n    `try { fn(); fail('should throw'); } catch (e) { expect(e, isA\u003CT>()); }`.\n  - Replace with declarative matchers:\n    ```dart\n    \u002F\u002F Synchronous:\n    expect(() => parseData('invalid'), throwsA(isA\u003CFormatException>()));\n\n    \u002F\u002F Asynchronous:\n    await expectLater(client.fetch('bad-url'), throwsA(isA\u003CHttpException>()));\n    ```\n  - Common built-in exception matchers include `throwsArgumentError`,\n    `throwsStateError`, `throwsRangeError`, `throwsFormatException`,\n    `throwsNoSuchMethodError`, and `throwsUnsupportedError`.\n\n### 6. Using `expectLater`\n\nUse `await expectLater(...)` when testing async behavior to ensure proper\nsequencing.\n\n```dart\n\u002F\u002F GOOD: Waits for future to complete before checking side effects\nawait expectLater(future, completion(equals(42)));\nexpect(sideEffectState, equals('done'));\n\n\u002F\u002F BAD: Side effect check might run before future completes\nexpect(future, completion(equals(42)));\nexpect(sideEffectState, equals('done')); \u002F\u002F Race condition!\n```\n\n## Principles\n\n1.  **Readable Failures**: Choose matchers that produce clear error messages.\n2.  **Avoid Manual Logic**: Don't use `if` statements or `for` loops for\n    assertions; let matchers handle it.\n3.  **Specific Matchers**: Use the most specific matcher available (e.g.,\n    `containsPair` for maps instead of checking keys manually).\n\n## Related Skills\n\n- **[dart-test-fundamentals]**: Core concepts for structuring tests, lifecycles,\n  and configuration.\n\n[dart-test-fundamentals]:\n  https:\u002F\u002Fgithub.com\u002Fkevmoo\u002Fdash_skills\u002Fblob\u002Fmain\u002Fskills\u002Fdart-test-fundamentals\u002FSKILL.md\n",{"name":5,"license":16,"description":7,"key_features":48},[49,50,51],"Package matcher assertions","Readable test expectations","Matcher selection & refactoring","main","d7c70923cbbe95b86a590fa0fa4e914d15695e4d","third_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-matcher-best-practices",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":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add google\u002Fskills_lint.dart --skill dart-matcher-best-practices",{"tool":67,"command":68},"bunx","bunx skills add google\u002Fskills_lint.dart --skill dart-matcher-best-practices",{"tool":70,"command":71},"pnpm","pnpm dlx skills add google\u002Fskills_lint.dart --skill dart-matcher-best-practices","安装技能，技能地址：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",true,[75],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"evals\u002Fevals.json","REFERENCE","参考文档",3807,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-matcher-best-practices\u002Fevals\u002Fevals.json",[82,102,124,146,168,198],{"skillNo":83,"name":84,"nameZh":85,"description":86,"descriptionZh":87,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":92,"publishedAt":43},"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",[90,91],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[93,34,33,94,41,95,96,97,98,99,100,35,32,101],"dart test fundamentals","core","concepts","teardown","methods","configuration","lifecycle","yaml","setup",{"skillNo":103,"name":104,"nameZh":105,"description":106,"descriptionZh":107,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":112,"publishedAt":43},"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",[110,111],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[113,33,114,115,116,117,118,41,119,120,121,122,36,123],"dart long lines","long","lint","guidelines","line","code","rule","column","enforcement","linter","compliance",{"skillNo":125,"name":126,"nameZh":127,"description":128,"descriptionZh":129,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":130,"categories":131,"keywords":134,"publishedAt":43},"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",[132,133],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[135,33,136,137,32,138,139,41,140,141,142,143,144,145],"dart doc validation","doc","validation","documentation","catch","comments","macros","reference","verification","macro","references",{"skillNo":147,"name":148,"nameZh":149,"description":150,"descriptionZh":151,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":152,"categories":153,"keywords":156,"publishedAt":43},"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",[154,155],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[157,32,33,158,159,160,41,161,162,163,164,165,118,166,116,167],"dart best practices","recommendations","development","features","style","feature","language","general","idioms","general best practices","code style",{"skillNo":169,"name":170,"nameZh":171,"description":172,"descriptionZh":173,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":174,"categories":175,"keywords":180,"publishedAt":43},"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",[176,177],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":178,"categoryName":179,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[181,182,183,184,185,186,187,188,189,190,191,192,193,41,194,195,196,197],"issues","github issues","triage","triage github issues","github","tracker","issue","duplicates","up","use","clean","new","when","true","issue tracker","missing","type",{"skillNo":199,"name":200,"nameZh":201,"description":202,"descriptionZh":203,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":204,"categories":205,"keywords":210,"publishedAt":43},"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）版本时使用。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002FSKILL.md",[206,207],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":208,"categoryName":209,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[33,35,211,212,213,192,193,194,214,215,216,217,218,190,219,220,221,222,185,223],"release dart package","release","github cli","rights","with","version bump","bump","version","Bash","publish","dev","sdk","cli"]