Agent skill

Dart Long Lines

by kevmoo in kevmoo/dash_skills

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

Apache-2.0Auto-check passedDevelopment

Install Dart Long Lines

skills CLI
$ npx skills add kevmoo/dash_skills --skill dart-long-lines -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kevmoo/dash_skills dart-long-lines --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kevmoo/dash_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dart-long-lines .claude/skills/dart-long-lines && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dart-long-lines
GitHub stars
147
Token cost
~1k tokens
SKILL.md length
419 words
Files
2
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Works in 3 steps: When to use this skill → Guidelines → Examples
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers 1. When to use this skill, Discovery, 2. Guidelines and 3. Examples
  • Calls dart

What it does

Dart Long Lines is an agent skill from kevmoo/dash_skills. Guidelines for handling long lines in Dart code to adhere to the 80-column rule. The lineslongerthan80chars lint.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `evals/evals.json`).

It sits in Development, covering Cross-platform mobile apps and Linting and formatting. It works with Dart. The repository describes itself as: Agent Skills for Dart and Flutter ecosytem. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps
  • Tasks that involve Linting and formatting

Example prompts

  • “Use the dart-long-lines skill to guideline for handling long lines in Dart code to adhere to the 80-column rule”
  • “/dart-long-lines”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. When to use this skill
  2. Guidelines
  3. Examples

What it can do on your machine

Read from SKILL.md and the folder at commit 397a703. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dart

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • dart.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dart Long Lines loads about 1k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 419 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kevmoo/dash_skills at commit 397a703, republished under its Apache-2.0 licence (© kevmoo). 419 words, ~1,047 tokens.

Download SKILL.mdSave it as .claude/skills/dart-long-lines/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
dart-long-lines
description
Guidelines for handling long lines in Dart code to adhere to the 80-column rule. The `lines_longer_than_80_chars` lint.
license
Apache-2.0
key_features
80-column rule compliance, Line length refactoring, Linter rule enforcement

Dart Long Lines

1. When to use this skill

Use this skill when:

When NOT to use (Abstention Guardrails)

Do NOT break lines or alter code when:

  • Unbreakable URLs & URIs: Lines contain long HTTP/HTTPS URLs, import URIs, or file paths where breaking them across lines would invalidate the link.
  • Complex Regular Expression Literals: Long RegExp patterns (RegExp(r'...')) where inserting whitespace or line breaks changes the matching semantics.
  • ASCII Art, Tables, or Preformatted Diagrams: Preformatted text blocks, table rows, or ASCII diagrams inside comments or strings where wrapping lines destroys visual alignment.
  • Prior to Automated Formatting: Do NOT manually break code lines before running dart format. Let dart format handle code wrapping automatically; only manually wrap comments, docs, and multi-line strings that the formatter does not re-wrap.

Discovery

To find lines that exceed the limit:

Automated Analysis

The most reliable way to find long lines is to use the Dart analyzer:

  • Command: dart analyze
  • Lint: lines_longer_than_80_chars

To search for long lines using regex:

  • Regex: ^.{81,}$ (Matches any line with 81 or more characters).

2. Guidelines

Format First

Always run dart format before manually breaking long lines. The formatter often automatically fixes long lines, especially in generated code, and applies standard Dart styling rules.

Code Comments

Break long code comments (//) cleanly at word boundaries to ensure lines do not exceed 80 characters. Maintain tight formatting and avoid unnecessary vertical space.

Show full SKILL.md (170 more words)Show less
Documentation Comments (///)
  • Apply the same line-breaking rules as for code comments.
  • Avoid breaking markdown link blocks like [name] or [text](http://example.com) across lines. Place them on their own line if they exceed the limit.
  • Start doc comments with a single summary sentence, followed by a blank line before the rest of the comment. It is okay to break this first sentence across multiple lines to fit the 80-column limit.
  • Avoid unresolved references or dangling sentences.
Long Strings
  • Use adjacent string literals (e.g., 'part 1 ' 'part 2') to break long strings. Break at word boundaries.
  • If a single-line string contains newline characters (\n) or if there are consecutive print statements, consider migrating to a multi-line string literal (''').
Format and Analyze After Changes
  • Run dart format and dart analyze after making changes.
  • Be aware that splitting strings may trigger new lints (e.g., prefer_single_quotes if a double-quoted string is split into parts that no longer contain single quotes).

3. Examples

Avoid:

dart
/// This is a long doc comment that contains a link to [a very long
/// URL](http://example.com/very/long/url/that/exceeds/eighty/chars).

Prefer:

dart
/// This is a long doc comment that contains a link to [a very long URL][ref].
///
/// [ref]: http://example.com/very/long/url/that/exceeds/eighty/chars
Adjacent String Literals

Prefer:

dart
final longString = 'This is a very long string that needs to be broken '
    'across multiple lines to stay under the limit.';
Multi-line String Migration

Avoid:

dart
print('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');

Prefer:

dart
print('''This is line 1
This is line 2 that is also quite long
This is line 3 which makes the whole thing exceed eighty characters''');

© kevmoo, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/dart-long-lines of kevmoo/dash_skills.

  • SKILL.md
  • evals/evals.json

Open the folder on GitHubat commit 397a703

Compare with similar skills

Dart Long Lines next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dart Long Lines compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dart Long Lines this skillkevmoo/dash_skills147—~1kAutomated safety check: PassApache-2.0
Bump VersionVeryGoodOpenSource/very_good_analysis477—~2.6kAutomated safety check: PassMIT
Frb Lintfzyzcjy/flutter_rust_bridge5.4k—~152Automated safety check: PassMIT
Very Good Analysis UpgradeVeryGoodOpenSource/vgv-ai-flutter-plugin170—~2.6kAutomated safety check: NotesMIT
Code Guidelinesgetsentry/sentry-dart873—~2.2kAutomated safety check: PassMIT
Dart 3 Updatesevanca/flutter-ai-rules650—~2kAutomated safety check: PassMIT

Similar skills

  • Bump Version

    VeryGoodOpenSource/very_good_analysis

    Bumps the verygoodanalysis package to a new version. An agent skill from VeryGoodOpenSource/very_good_analysis.

    477 GitHub stars~2.6k tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • Frb Lint

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when you need to run lint, format, or clippy checks in flutterrustbridge

    5.4k GitHub stars~152 tokensUpdated 2 days ago
    MobileAuto-check passed
  • Very Good Analysis Upgrade

    VeryGoodOpenSource/vgv-ai-flutter-plugin

    Upgrade the verygoodanalysis lint package to a new version in any Dart or Flutter package, handling the pubspec.yaml version bump, the lint fixes the new rules force, and the PR.

    170 GitHub stars~2.6k tokensUpdated 3 days ago
    MobileAuto-check: notes
  • Code Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK code guidelines for implementation, refactoring, and review.

    873 GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dart 3 Updates

    evanca/flutter-ai-rules

    A skill your agent uses when writing switch statements, refactoring if-else chains, creating data classes, choosing records vs classes, destructuring values, or modernizing pre-Dart-3 code.

    650 GitHub stars~2k tokensUpdated 25 days ago
    DevelopmentAuto-check passed
  • Frb Fix Merge Conflict

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when resolving merge or rebase conflicts in flutterrustbridge, especially conflicts involving generated files after master/main changed independently from a PR branch.

    5.4k GitHub stars~1.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from kevmoo/dash_skills

All 12 skills in this repo
  • Dart Test Coverage

    kevmoo/dash_skills

    Understand and improve test coverage in a Dart package. An agent skill from kevmoo/dash_skills.

    147 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Profile Dart Code

    kevmoo/dash_skills

    Profile Dart command-line applications using the VM Service protocol to capture CPU samples and identify performance bottlenecks.

    147 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Dart Best Practices

    kevmoo/dash_skills

    General best practices for Dart development. An agent skill from kevmoo/dash_skills.

    147 GitHub stars~709 tokensUpdated yesterday
    Auto-check passed
  • Dart Doc Validation

    kevmoo/dash_skills

    Best practices for validating Dart documentation comments. An agent skill from kevmoo/dash_skills.

    147 GitHub stars~822 tokensUpdated yesterday
    Auto-check passed
  • Dart Matcher Best Practices

    kevmoo/dash_skills

    Best practices for using expect and package:matcher. An agent skill from kevmoo/dash_skills.

    147 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Dart Modern Features

    kevmoo/dash_skills

    Guidelines for using modern Dart features (v3.0 - v3.10) such as Records, Extension Types, Class Modifiers, Wildcards, Digit Separators, Null-Aware Elements, and Dot Shorthands.

    147 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Dart Long Lines

What does Dart Long Lines do?

Guidelines for handling long lines in Dart code to adhere to the 80-column rule. Dart Long Lines is an agent skill from kevmoo/dash_skills. Guidelines for handling long lines in Dart code to adhere to the 80-column rule.

When should I use Dart Long Lines?

Dart Long Lines fits situations like: tasks that involve Cross-platform mobile apps; tasks that involve Linting and formatting.

How do I install Dart Long Lines in Claude Code?

Run `npx skills add kevmoo/dash_skills --skill dart-long-lines -a claude-code`. Or copy the skill folder (skills/dart-long-lines in kevmoo/dash_skills) into .claude/skills/dart-long-lines in your project. Claude Code loads it when a task matches its description.

How do I install Dart Long Lines in Codex?

Run `npx skills add kevmoo/dash_skills --skill dart-long-lines -a codex`. Or copy the skill folder (skills/dart-long-lines in kevmoo/dash_skills) into .agents/skills/dart-long-lines in your project. Codex loads it when a task matches its description.

Can I use Dart Long Lines in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kevmoo/dash_skills --skill dart-long-lines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dart-long-lines, .gemini/skills/dart-long-lines, .github/skills/dart-long-lines and .opencode/skills/dart-long-lines in your project.

What does Dart Long Lines need to run?

Going by SKILL.md and its folder, Dart Long Lines needs the command-line tools its instructions call (dart).

Does Dart Long Lines access the network?

SKILL.md names 1 domain. As links in the text: dart.dev. This is read from the text; nothing was executed.

Is Dart Long Lines safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dart Long Lines use?

Dart Long Lines is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dart Long Lines use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dart Long Lines?

Skills that share tags, products or a category with Dart Long Lines: Bump Version (VeryGoodOpenSource/very_good_analysis, 477 stars), Frb Lint (fzyzcjy/flutter_rust_bridge, 5.4k stars), Very Good Analysis Upgrade (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars) and Code Guidelines (getsentry/sentry-dart, 873 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dart Long Lines?

kevmoo (a GitHub user) maintains it in kevmoo/dash_skills, which has 147 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.

Source: kevmoo/dash_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.