Skip to content

feat: Add Dart/Flutter-native install path for Stac skills #480

@divyanshub024

Description

@divyanshub024

Problem

Stac skills currently document installation through npx:

npx skills add https://github.com/StacDev/stac

That adds a Node/npm requirement for Flutter-first users who may already have Dart and Flutter installed, but not npx.

Proposal

Add a Stac-native install command, for example:

stac skills add

Optionally also support:

stac skills add https://github.com/StacDev/stac

This should install the skills from skills/catalog.json without requiring Node/npm.

Also add skills installation as an optional step in stac init, so new users can set up Stac and its agent skills in one flow.

Acceptance Criteria

  • Users can install Stac skills without npx, Node, or npm.
  • stac skills add installs all Stac skills by default.
  • stac init optionally prompts users to install Stac skills.
  • The installer reads from skills/catalog.json.
  • docs/skills.mdx shows the Stac/Dart-native path first.
  • The existing npx skills add https://github.com/StacDev/stac path can remain as an alternative.

Notes

  • dart pub add may not be the right final UX because it is for adding package dependencies to pubspec.yaml.
  • stac skills add likely fits better with the existing Stac CLI.
  • stac init already follows Flutter-first tooling by trying flutter pub add stac and falling back to dart pub add stac.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions