add-package SKILL.md skillA

add-package from devoncarew/flutter-slipstream is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add devoncarew/flutter-slipstream/add-package@git:20260427.0584ad2

Pins git:20260427.0584ad2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
devoncarew/flutter-slipstream
Path
skills/add-package/SKILL.md
Versions recorded
2
Latest version
git:20260427.0584ad2, committed Apr 27, 2026
First version recorded
Apr 27, 2026
Size
2,266 bytes
Repository stars
5
License
BSD-3-Clause

This skill should be used when about to add a Dart or Flutter package dependency — running flutter pub add, dart pub add, or editing pubspec.yaml to introduce a new package. Also load when choosing a specific version constraint for a new package. Skip for upgrading existing packages (pub upgrade), removing packages, or pub commands that don't introduce a new dependency.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Adding a Dart/Flutter Package Dependency

## Preferred approach

Use `flutter pub add <package>` (or `dart pub add`) rather than editing
`pubspec.yaml` directly. The pub command output is the primary signal for
package health; direct edits bypass it.

## Read pub output after every add

After running `pub add`, read the output carefully before proceeding. Two
classes of problem appear inline:

### Discontinued packages

```
+ flutter_markdown 0.7.7+1 (discontinued replaced by flutter_markdown_plus)
...
1 package is discontinued.
```

Action:

- If a replacement is listed: remove the discontinued package and add the
  replacement instead (`flutter pub remove <pkg>` then
  `flutter pub add <replacement>`).
- If no replacement is listed: find a well-maintained alternative before
  proceeding.

### Version pinned behind current major

```
+ lints 4.0.0 (6.1.0 available)
...
4 packages have newer versions incompatible with dependency constraints.
```

The `(X.Y.Z available)` annotation on a package you just added means the version
you requested is behind the current release — often by a major version.

Action:

- Run `flutter pub outdated` to see the structured breakdown:

  ```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add devoncarew/flutter-slipstream/add-package@sha256:3c423b2062e73bb9

The line at the top of this page pins the label git:20260427.0584ad2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_l2a6qgoch3oomo26.svg)](https://markdownregistry.com/a/art_l2a6qgoch3oomo26)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Apr 27, 2026.

versioncommittedcommitsizeaudit
git:20260427.0584ad2 latest2026-04-27 0584ad2 2,266 BA view · diff
git:20260427.23dd73f2026-04-27 23dd73f 2,449 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2266 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

devoncarew/flutter-slipstream · 5 stars · license BSD-3-Clause · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_l2a6qgoch3oomo26
GET https://markdownregistry.com/api/v1/resolve?ref=devoncarew/flutter-slipstream/add-package
GET https://markdownregistry.com/api/v1/blob/3c423b2062e73bb90dce6a178699cfa0484b95bf1846da1671683acf8881073a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from devoncarew/flutter-slipstream

AGENTS.md AGENTS.md file
devoncarew/flutter-slipstream · AGENTS.md
git:20260428.4f95b0f · audit B · 5 stars
CLAUDE.md CLAUDE.md file
devoncarew/flutter-slipstream · CLAUDE.md
git:20261106.e5b85fd · audit A · 5 stars
DESIGN.md@docs DESIGN.md file
devoncarew/flutter-slipstream · docs/DESIGN.md
git:20261106.e5b85fd · audit A · 5 stars
slipstream-inspector SKILL.md skill
devoncarew/flutter-slipstream · skills/slipstream-inspector/SKILL.md · This skill should be used when the user asks to "run the Flutter app", "flutter run", "start the app", "launch the…
git:20261106.9e8ae49 · audit A · 5 stars
slipstream-packages SKILL.md skill
devoncarew/flutter-slipstream · skills/slipstream-packages/SKILL.md · This skill should be used when about to write Dart or Flutter code that calls into a pub package whose API is uncertain…
git:20260427.0584ad2 · audit A · 5 stars

Every file in devoncarew/flutter-slipstream

Browse by kind, by grade A, or by owner.