From pubdoc-skills-experimental
Answers questions about Dart/Flutter packages by exploring version-accurate documentation generated from the project's actual dependencies. Use this skill whenever you need to understand a package API — don't rely on training knowledge, as APIs may have changed. This includes implementing features with a third-party package, debugging errors or stack traces involving one, looking up method signatures or class behavior, figuring out how to configure or integrate a package, or migrating/upgrading to a new version. If you're about to call into a package, especially when adopting a new one, use this skill first.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pubdoc-skills-experimental:doc-explorerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Answers questions about Dart/Flutter packages by exploring version-accurate documentation generated from the project's actual dependencies.
Answers questions about Dart/Flutter packages by exploring version-accurate documentation generated from the project's actual dependencies.
Run a Dart script at ${CLAUDE_SKILL_DIR}/scripts/prepare_documentation.dart to get the documentation locations for the packages you want to explore. Note that you must know the canonical package names. The script's usage is:
prepare_documentation.dart --project </absolute/path/to/dart/project/root> <package-name1> <package-name2> ...
IMPORTANT: Make sure to specify the path to the Dart/Flutter project root, which contains the pubspec.yaml file.
Then, read the JSON output:
{
"packages": {
"dio": {
"documentation": "/Users/you/.pubdoc/cache/dio/dio-5.3.x",
"needsEnrichment": true
}
},
"error": null
}
IMPORTANT: if you encounter an error during this step, check these common issues first before trying to debug by yourself.
Stop processing and ask the user for the canonical package name.
IMPORTANT: this step requires write permission to the documentation cache directory. If you are in a read-only mode (e.g., in Plan mode), skip this step and proceed to step 3.
For each package where needsEnrichment == true, spawn an enrichment subagent.
If multiple packages need enrichment, spawn them in parallel and wait for all to finish before continuing.
documentation directorydocumentation pathAlways use this prompt template:
Generate OVERVIEW.md and EXAMPLES.md for the package documentation at <documentation-path>.
Read and follow this for additional instructions: ${CLAUDE_SKILL_DIR}/agents/doc-enrichment.md.
If you cannot spawn a subagent, check each package for a missing OVERVIEW.md and generate it yourself by following agents/doc-enrichment.md.
IMPORTANT: do not proceed to step 3 until enrichment is complete for all packages that need it.
Spawn a subagent to delegate the exploration:
documentation paths from step 1If you can use a built-in read-only agent optimized for searching and analyzing codebases (e.g., Explore agent), use it here. If you cannot spawn a subagent, read and follow agents/doc-explorer.md yourself.
Always use this prompt template:
Read the package documentation and answer the query:
- Documentation: <documentation-path>
- Query: <describe what you want to know about the package>
Read and follow this for additional instructions: ${CLAUDE_SKILL_DIR}/agents/doc-explorer.md.
Wait for the findings, then use them to proceed with your task.
Rely on the subagent's findings — do not read the documentation yourself unless the subagent's report is insufficient and further reading is clearly needed.
npx claudepluginhub fujidaiti/claude-plugin-marketplace --plugin pubdoc-skills-experimentalFetches live documentation and implementation guidance for any library, framework, or API. Invoked when the user asks for documentation, examples, or best practices.
Provides Flutter/Dart guidance on architecture (BLoC, Riverpod), state management, widgets, navigation (GoRouter), data (Dio, Hive), performance, and testing for cross-platform mobile apps.
Fetches current library documentation via Context7 REST API for npm/PyPI packages. Use when the user needs official APIs, code examples, or migration guidance.