[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69954NHT0DAFYE2SZPN6KF0":3,"skill-same:01M69954NHT0DAFYE2SZPN6KF0":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},"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 检查。","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-long-lines\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 long lines","dart","long","guidelines","lint","code","compliance","refactoring","linter","enforcement","column","line","rule","for","2026-11-10 10:12:30",false,"---\nname: dart-long-lines\ndescription: |-\n  Guidelines for handling long lines in Dart code to adhere to the 80-column\n  rule. The `lines_longer_than_80_chars` lint.\nlicense: Apache-2.0\nkey_features:\n  - 80-column rule compliance\n  - Line length refactoring\n  - Linter rule enforcement\n---\n\n# Dart Long Lines\n\n## 1. When to use this skill\n\nUse this skill when:\n\n- Writing Dart code that might exceed the 80-column limit.\n- Refactoring code to comply with the `lines_longer_than_80_chars` lint.\n  Reference: https:\u002F\u002Fdart.dev\u002Ftools\u002Flinter-rules\u002Flines_longer_than_80_chars\n\n### When NOT to use (Abstention Guardrails)\n\nDo NOT break lines or alter code when:\n\n- **Unbreakable URLs & URIs**: Lines contain long HTTP\u002FHTTPS URLs, import URIs,\n  or file paths where breaking them across lines would invalidate the link.\n- **Complex Regular Expression Literals**: Long RegExp patterns\n  (`RegExp(r'...')`) where inserting whitespace or line breaks changes the\n  matching semantics.\n- **ASCII Art, Tables, or Preformatted Diagrams**: Preformatted text blocks,\n  table rows, or ASCII diagrams inside comments or strings where wrapping lines\n  destroys visual alignment.\n- **Prior to Automated Formatting**: Do NOT manually break code lines before\n  running `dart format`. Let `dart format` handle code wrapping automatically;\n  only manually wrap comments, docs, and multi-line strings that the formatter\n  does not re-wrap.\n\n## Discovery\n\nTo find lines that exceed the limit:\n\n### Automated Analysis\n\nThe most reliable way to find long lines is to use the Dart analyzer:\n\n- **Command**: `dart analyze`\n- **Lint**: `lines_longer_than_80_chars`\n\n### Manual Search\n\nTo search for long lines using regex:\n\n- **Regex**: `^.{81,}$` (Matches any line with 81 or more characters).\n\n## 2. Guidelines\n\n### Format First\n\nAlways run `dart format` before manually breaking long lines. The formatter\noften automatically fixes long lines, especially in generated code, and applies\nstandard Dart styling rules.\n\n### Code Comments\n\nBreak long code comments (`\u002F\u002F`) cleanly at word boundaries to ensure lines do\nnot exceed 80 characters. Maintain tight formatting and avoid unnecessary\nvertical space.\n\n### Documentation Comments (`\u002F\u002F\u002F`)\n\n- Apply the same line-breaking rules as for code comments.\n- Avoid breaking markdown link blocks like `[name]` or\n  `[text](http:\u002F\u002Fexample.com)` across lines. Place them on their own line if\n  they exceed the limit.\n- Start doc comments with a single summary sentence, followed by a blank line\n  before the rest of the comment. It is okay to break this first sentence across\n  multiple lines to fit the 80-column limit.\n- Avoid unresolved references or dangling sentences.\n\n### Long Strings\n\n- Use adjacent string literals (e.g., `'part 1 ' 'part 2'`) to break long\n  strings. Break at word boundaries.\n- If a single-line string contains newline characters (`\\n`) or if there are\n  consecutive `print` statements, consider migrating to a multi-line string\n  literal (`'''`).\n\n### Format and Analyze After Changes\n\n- Run `dart format` and `dart analyze` after making changes.\n- Be aware that splitting strings may trigger new lints (e.g.,\n  `prefer_single_quotes` if a double-quoted string is split into parts that no\n  longer contain single quotes).\n\n## 3. Examples\n\n### Documentation Comment Link\n\n**Avoid:**\n\n```dart\n\u002F\u002F\u002F This is a long doc comment that contains a link to [a very long\n\u002F\u002F\u002F URL](http:\u002F\u002Fexample.com\u002Fvery\u002Flong\u002Furl\u002Fthat\u002Fexceeds\u002Feighty\u002Fchars).\n```\n\n**Prefer:**\n\n```dart\n\u002F\u002F\u002F This is a long doc comment that contains a link to [a very long URL][ref].\n\u002F\u002F\u002F\n\u002F\u002F\u002F [ref]: http:\u002F\u002Fexample.com\u002Fvery\u002Flong\u002Furl\u002Fthat\u002Fexceeds\u002Feighty\u002Fchars\n```\n\n### Adjacent String Literals\n\n**Prefer:**\n\n```dart\nfinal longString = 'This is a very long string that needs to be broken '\n    'across multiple lines to stay under the limit.';\n```\n\n### Multi-line String Migration\n\n**Avoid:**\n\n```dart\nprint('This is line 1\\nThis is line 2 that is also quite long\\nThis is line 3 which makes the whole thing exceed eighty characters');\n```\n\n**Prefer:**\n\n```dart\nprint('''This is line 1\nThis is line 2 that is also quite long\nThis is line 3 which makes the whole thing exceed eighty characters''');\n```\n","# Dart Long Lines\n\n## 1. When to use this skill\n\nUse this skill when:\n\n- Writing Dart code that might exceed the 80-column limit.\n- Refactoring code to comply with the `lines_longer_than_80_chars` lint.\n  Reference: https:\u002F\u002Fdart.dev\u002Ftools\u002Flinter-rules\u002Flines_longer_than_80_chars\n\n### When NOT to use (Abstention Guardrails)\n\nDo NOT break lines or alter code when:\n\n- **Unbreakable URLs & URIs**: Lines contain long HTTP\u002FHTTPS URLs, import URIs,\n  or file paths where breaking them across lines would invalidate the link.\n- **Complex Regular Expression Literals**: Long RegExp patterns\n  (`RegExp(r'...')`) where inserting whitespace or line breaks changes the\n  matching semantics.\n- **ASCII Art, Tables, or Preformatted Diagrams**: Preformatted text blocks,\n  table rows, or ASCII diagrams inside comments or strings where wrapping lines\n  destroys visual alignment.\n- **Prior to Automated Formatting**: Do NOT manually break code lines before\n  running `dart format`. Let `dart format` handle code wrapping automatically;\n  only manually wrap comments, docs, and multi-line strings that the formatter\n  does not re-wrap.\n\n## Discovery\n\nTo find lines that exceed the limit:\n\n### Automated Analysis\n\nThe most reliable way to find long lines is to use the Dart analyzer:\n\n- **Command**: `dart analyze`\n- **Lint**: `lines_longer_than_80_chars`\n\n### Manual Search\n\nTo search for long lines using regex:\n\n- **Regex**: `^.{81,}$` (Matches any line with 81 or more characters).\n\n## 2. Guidelines\n\n### Format First\n\nAlways run `dart format` before manually breaking long lines. The formatter\noften automatically fixes long lines, especially in generated code, and applies\nstandard Dart styling rules.\n\n### Code Comments\n\nBreak long code comments (`\u002F\u002F`) cleanly at word boundaries to ensure lines do\nnot exceed 80 characters. Maintain tight formatting and avoid unnecessary\nvertical space.\n\n### Documentation Comments (`\u002F\u002F\u002F`)\n\n- Apply the same line-breaking rules as for code comments.\n- Avoid breaking markdown link blocks like `[name]` or\n  `[text](http:\u002F\u002Fexample.com)` across lines. Place them on their own line if\n  they exceed the limit.\n- Start doc comments with a single summary sentence, followed by a blank line\n  before the rest of the comment. It is okay to break this first sentence across\n  multiple lines to fit the 80-column limit.\n- Avoid unresolved references or dangling sentences.\n\n### Long Strings\n\n- Use adjacent string literals (e.g., `'part 1 ' 'part 2'`) to break long\n  strings. Break at word boundaries.\n- If a single-line string contains newline characters (`\\n`) or if there are\n  consecutive `print` statements, consider migrating to a multi-line string\n  literal (`'''`).\n\n### Format and Analyze After Changes\n\n- Run `dart format` and `dart analyze` after making changes.\n- Be aware that splitting strings may trigger new lints (e.g.,\n  `prefer_single_quotes` if a double-quoted string is split into parts that no\n  longer contain single quotes).\n\n## 3. Examples\n\n### Documentation Comment Link\n\n**Avoid:**\n\n```dart\n\u002F\u002F\u002F This is a long doc comment that contains a link to [a very long\n\u002F\u002F\u002F URL](http:\u002F\u002Fexample.com\u002Fvery\u002Flong\u002Furl\u002Fthat\u002Fexceeds\u002Feighty\u002Fchars).\n```\n\n**Prefer:**\n\n```dart\n\u002F\u002F\u002F This is a long doc comment that contains a link to [a very long URL][ref].\n\u002F\u002F\u002F\n\u002F\u002F\u002F [ref]: http:\u002F\u002Fexample.com\u002Fvery\u002Flong\u002Furl\u002Fthat\u002Fexceeds\u002Feighty\u002Fchars\n```\n\n### Adjacent String Literals\n\n**Prefer:**\n\n```dart\nfinal longString = 'This is a very long string that needs to be broken '\n    'across multiple lines to stay under the limit.';\n```\n\n### Multi-line String Migration\n\n**Avoid:**\n\n```dart\nprint('This is line 1\\nThis is line 2 that is also quite long\\nThis is line 3 which makes the whole thing exceed eighty characters');\n```\n\n**Prefer:**\n\n```dart\nprint('''This is line 1\nThis is line 2 that is also quite long\nThis is line 3 which makes the whole thing exceed eighty characters''');\n```\n",{"name":5,"license":16,"description":7,"key_features":50},[51,52,53],"80-column rule compliance","Line length refactoring","Linter rule enforcement","main","d7c70923cbbe95b86a590fa0fa4e914d15695e4d","third_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-long-lines",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-long-lines",{"tool":69,"command":70},"bunx","bunx skills add google\u002Fskills_lint.dart --skill dart-long-lines",{"tool":72,"command":73},"pnpm","pnpm dlx skills add google\u002Fskills_lint.dart --skill dart-long-lines","安装技能，技能地址：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",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"evals\u002Fevals.json","REFERENCE","参考文档",2239,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fthird_party\u002Fskill-repos\u002Fkevmoo-dash-skills\u002F.agents\u002Fskills\u002Fdart-long-lines\u002Fevals\u002Fevals.json",[84,107,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,32,97,44,98,99,100,101,102,103,104,105,106],"test","dart test fundamentals","core","concepts","teardown","methods","configuration","lifecycle","yaml","package","best practices","setup",{"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":117,"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",[115,116],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[105,118,32,119,95,104,120,44,121,122,123,38],"dart matcher best practices","pitfalls","assertions","common pitfalls","selection","common",{"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},"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,32,136,137,138,139,105,140,141,142,44,143,144,145],"dart doc validation","validation","doc","references","verification","macros","comments","reference","catch","macro","documentation",{"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,105,32,158,159,160,44,161,162,163,164,165,36,166,34,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,44,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,32,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"]