Make Dart path handling portable and filesystem-aware.
Dart path handling
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.
It changes how the agent writes and refactors path-handling code in a Dart project.
What you provide
No additional actions listed in the analysis.
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.