Lightlines
By flutter

dart-use-path-package

flutter

Make Dart path handling portable and filesystem-aware.

Dart path handling

What it does

Guides cross-platform Dart path refactoring with safe joining, splitting, extension handling, URI conversion, and filesystem-aware contexts.

When to use it

Use when writing, inspecting, joining, splitting, or refactoring file paths, directory names, or extensions.

How to use it

It changes how the agent writes and refactors path-handling code in a Dart project.

What you provide

  • An existing project

Access · 0

No additional actions listed in the analysis.

What you need · 3

The recommended segment-inspection workflow uses Dart 3 list pattern matching.

The prescribed path operations require package:path.

package:file is needed for the optional mockable-filesystem path-context workflow.


About this skill

Visibility
Public
Repository
flutter/agent-plugins
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
3