dart-pub

Execute Dart or Flutter package management commands across specified project roots.

19|14|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/X-School-Academy/skill-pilot --skill dart-pub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart-pub
Source: https://github.com/X-School-Academy/skill-pilot/tree/main/core/skills/mcp/dart-pub
Command: npx skills add https://github.com/X-School-Academy/skill-pilot --skill dart-pub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the management of package dependencies for Dart and Flutter projects, ensuring your project's libraries are up-to-date and correctly installed.

Core Features & Use Cases

  • Dependency Management: Add, get, remove, or upgrade packages for your Dart or Flutter projects.
  • Project Scoping: Apply commands to specific project roots, ensuring changes are localized.
  • Use Case: When starting a new Flutter project or adding a new feature, use this Skill to quickly fetch all necessary dependencies with flutter pub get or add a new package like http with flutter pub add http.

Quick Start

Run dart pub get for the current project.

Frequently Asked Questions about dart-pub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new package to my Flutter project dependencies?

To add Flutter dependencies, execute a package management command like `flutter pub add [package_name]` across your specified project root to fetch and install the required library.

What is the best way to fetch all missing dependencies for a Dart project?

Fetching Dart dependencies is done by running the `dart pub get` command within your project root, which retrieves and installs all libraries defined in your project configuration.

Can I remove an existing package from my Dart project using this approach?

Yes, you can remove Dart packages by executing the remove command with the specific package name, ensuring your project's dependencies are localized and cleaned up correctly.

Does this method support upgrading outdated packages in a Flutter app?

Upgrading Flutter packages is supported by executing the upgrade command, which updates your project's libraries to the latest compatible versions within the Dart and Flutter ecosystems.

How do I apply package management commands to a specific project directory?

Package management commands are applied by specifying the project root, ensuring that dependency changes like adding or removing packages are localized strictly to that defined directory.