pub-package-explorer
Pub Package Explorer
Use this workflow to read package source code for Dart or Flutter, including packages not currently installed in the project.
Choose the Source Strategy
- Prefer
.dart_tool/package_config.jsonwhen the package is already in the project dependency graph. - Use
dart pub unpackwhen the package is missing frompackage_config.jsonor when source needs inspection before adding the dependency. - Prefer the installed package path when both are available to match the project-resolved version.
Resolve a Package Source Path
- Confirm the project contains
.dart_tool/package_config.json. - Read the package entry from
packages[]byname. - Extract:
rootUri(package root, usually in pub cache)packageUri(usuallylib/)
- Build source path as
rootUri + packageUri. - Convert
file://URI to a filesystem path before reading files.
More from exaby73/skills
git-committer
Generates conventional one line commit messages from a git diff
16gwt-tester
Write or refactor tests using clear Given/When/Then structure. Use when creating new tests, improving test readability, or standardizing test files with setup hooks, assertion-only Then blocks, and shallow suite nesting.
8gwt-testing
Write or refactor tests using clear Given/When/Then structure. Use when creating new tests, improving test readability, or standardizing test files with setup hooks, assertion-only Then blocks, and shallow suite nesting.
3temp-output-clipboard
Generate user-requested text into a temporary file and copy it to the system clipboard. Use when the user asks to draft, write, or generate text and wants quick copy/paste. Default to a Markdown temp file (`.md`) unless the user explicitly asks for another format.
2gh-pr-review-posting
Post GitHub pull request reviews through `gh api`, with emphasis on a single API call that submits `REQUEST_CHANGES` plus inline comments in one payload. Use when asked to post review findings to a PR, batch inline comments, write payload JSON to `/tmp`, replace accidentally posted standalone inline comments, or convert review/comment bodies to Markdown formatting.
2