Skip to content
Back to skills

Slipstream Packages

ASecurity

This skill should be used when about to write Dart or Flutter code that calls into a pub package whose API is uncertain — the package is unfamiliar, or its version in pubspec.lock may be newer than training data. Also load when hitting an unexpected compile error or type mismatch on a package import. Skip for code that only uses the Dart SDK (dart:*) and packages already verified this session.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add devoncarew/flutter-slipstream --skill slipstream-packages --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Slipstream Packages?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Slipstream Packages
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/devoncarew-slipstream-packages/badge)](https://www.skillsdirectory.com/skills/devoncarew-slipstream-packages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: slipstream-packages
description: >-
  This skill should be used when about to write Dart or Flutter code that calls
  into a pub package whose API is uncertain — the package is unfamiliar, or its
  version in pubspec.lock may be newer than training data. Also load when
  hitting an unexpected compile error or type mismatch on a package import. Skip
  for code that only uses the Dart SDK (dart:*) and packages already verified
  this session.
user-invocable: false
---

# Dart Package API Lookup

Training-data summaries for pub packages are often subtly out-of-date: incorrect
parameter names, missing required/optional distinctions, wrong constructor
shapes, renamed or removed APIs. The `packages` tools read directly from the
local pub cache — exact signatures, always matches `pubspec.lock`, no network
required.

## Call sequence

1. `package_summary(project_directory, package)` — always start here. Returns
   version, entry-point import, library list, and exported name groups. Often
   enough to confirm the right import path and top-level names.
2. `library_stub(project_directory, package, library_uri)` — full public API for
   one library as Dart signatures (no bodies, no private members). Use when you
   need exact constructor shapes, named parameter names, or return types.
3. `class_stub(project_directory, package, library_uri, class)` — single class
   stub including inherited and mixin-contributed members. Use when you know
   exactly which class you need.

`project_directory` is the absolute path to the Dart/Flutter project (the
directory containing `pubspec.yaml`). Run `dart pub get` first if
`.dart_tool/package_config.json` is missing.

## Limitation

Constants values are not shown in stubs.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.