dart-use-path-package agent skill by flutter
Handles cross-platform file and directory path manipulation in Dart with package:path and package:file, including joining, splitting, extension extraction, and replacing raw string path operations.
At a glance
| Publisher | Flutter Official |
|---|---|
| Repository | flutter/skills (24 listed skills) |
| Category | Developer Tools and Frameworks |
| License | BSD-3-Clause |
| Last commit | October 16, 2026 (repository) |
| SKILL.md | 198 lines, 1,253 words |
| Bundled files | 3 files |
| Quality score | 84/100 · B Passes all seven graded checks |
| Security scan | Not scanned |
| README badge | Get the badges for this listing |
Before you install
Read from the skill's files at the directory's October 22, 2026 snapshot: what ships with it, what its code reads, and the terms it is published under.
- Bundled scripts: none.
- License: BSD-3-Clause, an open-source or open-content license.
Install dart-use-path-package
The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.
npx skills add https://github.com/flutter/skills/tree/main/skills/dart-use-path-package
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/flutter/skills.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"skills/dart-use-path-package .claude/skills/
rm -rf "$tmp"
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/flutter/skills.git "$tmp/repo"
mkdir -p .agents/skills
cp -R "$tmp/repo/"skills/dart-use-path-package .agents/skills/
rm -rf "$tmp"
For a user-level install, copy the folder to ~/.claude/skills/ (Claude Code) or ~/.agents/skills/ (Codex). Inside Codex, $skill-installer can also fetch a skill from GitHub. New to skills? Read How to install agent skills in Claude Code, Codex and Cursor.
flutter/skills is third-party code. Read SKILL.md and any bundled scripts before you install it.
How the author describes it
Cross-platform file and directory path manipulation, segment splitting, extension extraction, and context conversion using `package:path` and `package:file`. Use when writing, inspecting, joining, splitting, or refactoring file paths, directory names, or extensions, or replacing raw string path operations (`.split('/')`, `'$dir/$file'`, `.endsWith('.ext')`, `.replaceAll('\\', '/')`). Don't use for HTTP network URI routing, database query strings, or non-path string processing.
From the description field of SKILL.md. Agents read this line to decide when to load the skill.
Sections in SKILL.md
- Contents
- 1. Core Principles & Cross-Platform Rules
- Avoid Treating File Paths as Raw Strings
- Pragmatic Boundary Joining vs. Multi-Segment Decomposition (p.join)
- Normalization vs. Canonicalization (p.normalize vs. p.canonicalize)
- Strip Location Specifiers & Convert URIs Safely
- 2. Recommended package:path Idioms vs. String Anti-Patterns
- Path Joining
- Segment Matching
- Root and Directory Prefixes
- File Extensions
- Extension Slicing and Compound Extensions
- POSIX and URL Path Conversion
- URI Conversion
- Directory Basename Helper
- 3. Bridging Native Paths to POSIX, Git, & URL Contexts
Files in the skill folder
SKILL.mdexamples/cross_platform_paths.dartexamples/file_system_context.dart
Suede Skill Check: 84/100 · B
Report snapshot · · graded-v2
The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.
Source revision: b60d0736a33a. Report version d99bd52a8db7. Badge URLs follow the latest listing; save the report to keep this version.
Download report · Request a fresh review
What to review next
- Reference files: 0 of 3 points. 3 when the skill folder ships a references/, reference/ or docs/ folder.
- Bundled scripts: 0 of 2 points. 2 when the skill folder ships a scripts/ folder.
- Tool permissions declared: 0 of 2 points. 2 when the frontmatter declares allowed-tools.
Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.
dart-use-path-package passes the required frontmatter check and all seven graded checks, which cover the SKILL.md format, a declared license and a commit in the last year. Those checks earn 56 of the score’s points; the rest come from description quality, instruction depth, bundled files, maintenance and curated-list citations. How the score works.
See the checks and points
| Check | Result |
|---|---|
| Frontmatter parses and declares a name and a description | Pass |
| Name uses lowercase letters, digits and hyphens, 64 characters or fewer | Pass |
| Name matches the skill's folder name | Pass |
| Description is between 50 and 1,024 characters | Pass |
| Description says when an agent should use the skill | Pass |
| SKILL.md body is 500 lines or fewer | Pass |
| A license is declared in the frontmatter or the repository | Pass |
| Repository has a commit in the last 12 months | Pass |
| Score component | Points |
|---|---|
| Structural checks | 56 of 56 |
| Description length | 5 of 5 |
| Boundary clause | 4 of 4 |
| Example request | 3 of 3 |
| Instruction depth | 7 of 7 |
| Reference files | 0 of 3 |
| Bundled scripts | 0 of 2 |
| Recent maintenance | 9 of 9 |
| Curated-list citations | 0 of 7 |
| Tool permissions declared | 0 of 2 |
| Compatibility declared | 0 of 2 |
Two badges for dart-use-path-package
Choose the numeric badge, the letter badge, or both. Each links to this skill’s Suede AI listing; either valid linked badge can qualify for the feature offer.
[](https://suedeai.directory/flutter/skills/dart-use-path-package/)
[](https://suedeai.directory/flutter/skills/dart-use-path-package/)<a href="https://suedeai.directory/flutter/skills/dart-use-path-package/"><img src="https://suedeai.directory/flutter/skills/dart-use-path-package/score.svg" alt="Suede Skill Check: 84/100" width="160" height="175"></a>
<a href="https://suedeai.directory/flutter/skills/dart-use-path-package/"><img src="https://suedeai.directory/flutter/skills/dart-use-path-package/badge.svg" alt="Suede Skill Check: Grade B" width="160" height="175"></a>Suede Certified on the shield refers to this published structural quality check. Security scan: not scanned. Read the methodology.
Limited-time feature offer: Display either quality badge in your repository or skill README, linked to your listing, then request verification. Suede AI checks the rendered README at a recorded commit. Eligible skills scoring 80–99 with a verified badge can receive a featured placement while the offer is open. Request badge verification.
Publishers: read How to get your agent skill found in search and cited by AI assistants.
Where this skill is cited
flutter/skills is listed from its publisher's official collection or a listing request.