跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Dart Long Lines

技能 已验证 活跃

Guidelines for handling long lines in Dart code to adhere to the 80-column rule. The `lines_longer_than_80_chars` lint.

目的

To guide developers in maintaining Dart code within the 80-column limit by providing best practices for code comments, documentation comments, and strings.

功能

  • Guidelines for 80-column rule in Dart
  • Automated analysis with `dart analyze`
  • Manual search techniques using regex
  • Specific advice for code comments, doc comments, and strings
  • Examples for documentation links, adjacent strings, and multi-line strings

使用场景

  • Writing Dart code that adheres to the 80-column limit
  • Refactoring existing Dart code to comply with the `lines_longer_than_80_chars` lint
  • Ensuring code readability and consistency across a Dart project

非目标

  • Automatically reformatting code
  • Enforcing other Dart linting rules beyond line length
  • Providing runtime analysis of Dart code

安装

npx skills add flutter/skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交2 days ago
星标1.9k
许可证Apache-2.0
状态
查看源代码

类似扩展