[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69954NHT0DAFYE2SZPN6KF0":3,"skill-same:01M69954NHT0DAFYE2SZPN6KF0":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M69954NHT0DAFYE2SZPN6KF0","dart-long-lines",null,"Guidelines for handling long lines in Dart code to adhere to the 80-column\nrule. The `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","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",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"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":15,"description":7,"key_features":38},[39,40,41],"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":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add google\u002Fskills_lint.dart --skill dart-long-lines",{"tool":57,"command":58},"bunx","bunx skills add google\u002Fskills_lint.dart --skill dart-long-lines",{"tool":60,"command":61},"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,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"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",[72,96,110,128,146,170],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":83,"publishedAt":33},"01M6995BQ87JV2EG35BC0BGH3E","dart-test-fundamentals","Core concepts and best practices for `package:test`.\nCovers `test`, `group`, lifecycle methods (`setUp`, `tearDown`), and\nconfiguration (`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",[78],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[84,85,20,86,32,87,88,89,90,91,92,93,94,95],"test","dart test fundamentals","core","concepts","teardown","methods","configuration","lifecycle","yaml","package","best practices","setup",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":103,"publishedAt":33},"01M699560NWTQKV9VMQYQR4P9S","dart-matcher-best-practices","Best practices for using `expect` and `package:matcher`.\nFocuses on readable assertions, proper matcher selection, and avoiding\ncommon pitfalls.","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",[102],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[94,104,20,105,84,93,106,32,107,108,109,26],"dart matcher best practices","pitfalls","assertions","common pitfalls","selection","common",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":33},"01M69953F9VQ40RN4T4WYDMQPC","dart-doc-validation","Best practices for validating Dart documentation comments.\nCovers using `dart doc` to catch unresolved references and macros.","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",[],[117,20,118,119,120,121,94,122,123,124,32,125,126,127],"dart doc validation","validation","doc","references","verification","macros","comments","reference","catch","macro","documentation",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":33},"01M699529EEJD1Z9AJ15GXAS7N","dart-best-practices","General best practices for Dart development.\nCovers code style, effective Dart, and language features.","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",[],[135,94,20,136,137,138,32,139,140,141,142,143,24,144,22,145],"dart best practices","language","development","features","style","feature","recommendations","general","idioms","general best practices","code style",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":33},"01M6994Q5SB4RRW1EHQGFGEYM2","triage-github-issues","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.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Ftriage-github-issues\u002FSKILL.md",[],[153,154,155,156,157,158,159,160,161,162,163,164,165,32,166,167,168,169],"issues","github issues","triage","triage github issues","github","tracker","issue","duplicates","up","use","clean","new","when","true","issue tracker","missing","type",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":33},"01M6994NJCFZQXX8XKRE8BWHEM","release-dart-package","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.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills_lint.dart\u002Fblob\u002Fmain\u002Fpackages\u002Fskills_lint\u002Fbenchmark\u002Fsample_skills\u002Frelease-dart-package\u002FSKILL.md",[],[93,177,178,20,179,164,165,166,180,181,182,183,184,162,185,186,187,188,157,189],"release dart package","release","github cli","rights","with","version bump","bump","version","Bash","publish","dev","sdk","cli"]