[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69953F9VQ40RN4T4WYDMQPC":3,"skill-same:01M69953F9VQ40RN4T4WYDMQPC":83},{"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":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":17,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"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` 检测未解析的引用和宏。","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-doc-validation\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,43,44],"dart doc validation","validation","doc","dart","documentation","best practices","verification","macro","reference","references","macros","comments","for","catch","2026-11-10 10:12:30",false,"---\nname: dart-doc-validation\ndescription: |-\n  Best practices for validating Dart documentation comments.\n  Covers using `dart doc` to catch unresolved references and macros.\nlicense: Apache-2.0\nkey_features:\n  - Documentation comment validation\n  - Unresolved reference checking\n  - Dart doc macro verification\n---\n\n# Dart Doc Validation\n\n## 1. When to use this skill\n\nUse this skill when:\n\n- Writing or updating documentation comments (`\u002F\u002F\u002F`) in Dart code.\n- Checking for broken documentation links, references, or macros.\n- Preparing a package for publishing to pub.dev.\n\n### When NOT to use (Abstention Guardrails)\n\nDo NOT apply this skill or refactor doc comments when:\n\n- **Illustrative Pseudo-Code & Non-Dart Code Fences**: Comments contain\n  pseudo-code, non-Dart language identifiers (e.g. ``yaml`, ``json`, ````bash`,\n  ````text`), or abstract conceptual fragments intentionally not designed to\n  compile as valid Dart.\n- **Generated Code**: Files generated by tools (e.g. `*.g.dart`, `*.mocks.dart`,\n  `*.freezed.dart`) where comments are synthesized.\n- **External Markdown Hyperlinks**: Text in square brackets followed by a link\n  target (e.g. `[External Guide](https:\u002F\u002F...)`), which is standard Markdown\n  hyperlink syntax rather than an unresolved Dart doc reference.\n\n## Discovery\n\nTo find documentation issues:\n\n### Missing Lint\n\nVerify if the `comment_references` lint is enabled:\n\n- **Target**: `analysis_options.yaml`\n- **Search Query**: `comment_references`\n\n### Automated Validation\n\nRun the documentation generator to surface warnings:\n\n- **Command**: `dart doc -o $(mktemp -d)`\n- **Keywords to look for**: `warning:`, `unresolved doc reference`,\n  `undefined macro`\n\n## 2. Best Practices\n\n### Enable the doc validation lint\n\nIn your `analysis_options.yaml`, enable the `comment_references` lint.\n\n```yaml\nlinter:\n  rules:\n    - comment_references\n```\n\n### Validating Documentation Locally\n\nUse the `dart doc` command with a temporary output directory to validate\ndocumentation comments without polluting the local project workspace.\n\nThis command parses all documentation comments and reports warnings such as:\n\n- `warning: unresolved doc reference`\n- `warning: undefined macro`\n\n**Command to run:**\n\n```bash\ndart doc -o $(mktemp -d)\n```\n\n_This will work on Mac and Linux._\n\nThis ensures that the generated HTML files are stored in a temporary location\nand don't clutter the package directory, while still surfacing all validation\nwarnings in the terminal output.\n\n**Browsing the docs:**\n\nOur docs use features designed to be run on a web server. If you want to browse\nthe generated docs locally, install the `dhttpd` package.\n\n```shell\ndart install dhttpd\nTMP_DIR=$(mktemp -d) && dart doc -o \"$TMP_DIR\" &&  dhttpd --path \"$TMP_DIR\"\n```\n\n_(Or use another HTTP server, such as `python3 -m http.server`.)_\n\n### Fixing Common Warnings\n\n- **Unresolved doc reference**: Ensure that any identifier wrapped in square\n  brackets (`[Identifier]`) correctly points to an existing class, method,\n  property, or parameter in the current scope or imported libraries.\n- **Undefined macro**: If using `{@macro macro_name}`, ensure that the template\n  `{@template macro_name}` is defined in the same file or a file that is\n  imported and visible to the documentation generator.\n","# Dart Doc Validation\n\n## 1. When to use this skill\n\nUse this skill when:\n\n- Writing or updating documentation comments (`\u002F\u002F\u002F`) in Dart code.\n- Checking for broken documentation links, references, or macros.\n- Preparing a package for publishing to pub.dev.\n\n### When NOT to use (Abstention Guardrails)\n\nDo NOT apply this skill or refactor doc comments when:\n\n- **Illustrative Pseudo-Code & Non-Dart Code Fences**: Comments contain\n  pseudo-code, non-Dart language identifiers (e.g. ``yaml`, ``json`, ````bash`,\n  ````text`), or abstract conceptual fragments intentionally not designed to\n  compile as valid Dart.\n- **Generated Code**: Files generated by tools (e.g. `*.g.dart`, `*.mocks.dart`,\n  `*.freezed.dart`) where comments are synthesized.\n- **External Markdown Hyperlinks**: Text in square brackets followed by a link\n  target (e.g. `[External Guide](https:\u002F\u002F...)`), which is standard Markdown\n  hyperlink syntax rather than an unresolved Dart doc reference.\n\n## Discovery\n\nTo find documentation issues:\n\n### Missing Lint\n\nVerify if the `comment_references` lint is enabled:\n\n- **Target**: `analysis_options.yaml`\n- **Search Query**: `comment_references`\n\n### Automated Validation\n\nRun the documentation generator to surface warnings:\n\n- **Command**: `dart doc -o $(mktemp -d)`\n- **Keywords to look for**: `warning:`, `unresolved doc reference`,\n  `undefined macro`\n\n## 2. Best Practices\n\n### Enable the doc validation lint\n\nIn your `analysis_options.yaml`, enable the `comment_references` lint.\n\n```yaml\nlinter:\n  rules:\n    - comment_references\n```\n\n### Validating Documentation Locally\n\nUse the `dart doc` command with a temporary output directory to validate\ndocumentation comments without polluting the local project workspace.\n\nThis command parses all documentation comments and reports warnings such as:\n\n- `warning: unresolved doc reference`\n- `warning: undefined macro`\n\n**Command to run:**\n\n```bash\ndart doc -o $(mktemp -d)\n```\n\n_This will work on Mac and Linux._\n\nThis ensures that the generated HTML files are stored in a temporary location\nand don't clutter the package directory, while still surfacing all validation\nwarnings in the terminal output.\n\n**Browsing the docs:**\n\nOur docs use features designed to be run on a web server. If you want to browse\nthe generated docs locally, install the `dhttpd` package.\n\n```shell\ndart install dhttpd\nTMP_DIR=$(mktemp -d) && dart doc -o \"$TMP_DIR\" &&  dhttpd --path \"$TMP_DIR\"\n```\n\n_(Or use another HTTP server, such as `python3 -m http.server`.)_\n\n### Fixing Common Warnings\n\n- **Unresolved doc reference**: Ensure that any identifier wrapped in square\n  brackets (`[Identifier]`) correctly points to an existing class, method,\n  property, or parameter in the current scope or imported libraries.\n- **Undefined macro**: If using `{@macro macro_name}`, ensure that the template\n  `{@template macro_name}` is defined in the same file or a file that is\n  imported and visible to the documentation generator.\n",{"name":5,"license":16,"description":7,"key_features":50},[51,52,53],"Documentation comment validation","Unresolved reference checking","Dart doc macro verification","main","d7c70923cbbe95b86a590fa0fa4e914d15695e4d","third_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-doc-validation",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":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add google\u002Fskills_lint.dart --skill dart-doc-validation",{"tool":69,"command":70},"bunx","bunx skills add google\u002Fskills_lint.dart --skill dart-doc-validation",{"tool":72,"command":73},"pnpm","pnpm dlx skills add google\u002Fskills_lint.dart --skill dart-doc-validation","安装技能，技能地址：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",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"evals\u002Fevals.json","REFERENCE","参考文档",2203,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-doc-validation\u002Fevals\u002Fevals.json",[84,106,124,146,168,198],{"skillNo":85,"name":86,"nameZh":87,"description":88,"descriptionZh":89,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":90,"categories":91,"keywords":94,"publishedAt":45},"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",[92,93],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[95,96,34,97,43,98,99,100,101,102,103,104,36,105],"test","dart test fundamentals","core","concepts","teardown","methods","configuration","lifecycle","yaml","package","setup",{"skillNo":107,"name":108,"nameZh":109,"description":110,"descriptionZh":111,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":116,"publishedAt":45},"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",[114,115],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[36,117,34,118,95,104,119,43,120,121,122,123],"dart matcher best practices","pitfalls","assertions","common pitfalls","selection","common","refactoring",{"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":45},"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",[132,133],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[135,136,34,137,123,138,139,140,141,142,143,43,144,145],"long","dart long lines","column","compliance","code","linter","line","lint","rule","enforcement","guidelines",{"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":45},"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,36,34,158,159,160,43,161,162,163,164,165,139,166,145,167],"dart best practices","language","development","features","style","feature","recommendations","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":45},"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,43,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":45},"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","部署与发布管理",[104,211,212,34,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"]