Skip to main content

Dart Long Lines

Skill Verified Active

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

Purpose

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

Features

  • 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

Use Cases

  • 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

Non-Goals

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

Installation

npx skills add flutter/skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
98 /100
Analyzed about 18 hours ago

Trust Signals

Last commit1 day ago
Stars1.9k
LicenseApache-2.0
Status
View Source

Similar Extensions

© 2025 SkillRepo · Find the right skill, skip the noise.