dependencies

Dependency Management

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dependencies" with this command: npx skills add yelmuratoff/agent_sync/yelmuratoff-agent-sync-dependencies

Dependency Management

When to use

  • Adding a package for a new feature.

  • Replacing an existing package.

  • Adding/removing dev tooling dependencies.

  • Investigating whether a package should be removed.

Steps

  1. Validate necessity first
  • Confirm the problem cannot be solved with current project dependencies or Dart/Flutter SDK APIs.

  • If a package is still needed, define the exact capability gap it fills.

  1. Evaluate candidate quality

Check package fitness before adding:

  • maintenance signal (recent stable releases, issue activity)

  • documentation quality and usage examples

  • compatibility with current architecture and target platforms

  • risk of overlap with existing stack (state management, DI, logging, serialization)

  1. Add dependency with correct scope

Use the standard commands:

flutter pub add <package> flutter pub add dev:<package> flutter pub add override:<package>:<version> dart pub remove <package>

Only use overrides when strictly required and time-bound.

  1. Verify the integration
  • run dart analyze

  • run targeted flutter test for changed areas

  • remove imports/usages of replaced packages to avoid dead dependencies

  1. Document the decision briefly

When introducing a new package, state:

  • why current stack was insufficient

  • why this package was selected over alternatives

  • rollback/removal condition if the package is temporary

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

effective-commenting

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

routing

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

logging

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

bloc

No summary provided by upstream source.

Repository SourceNeeds Review