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:
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.
Problem
Stac skills currently document installation through
npx: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:
Optionally also support:
This should install the skills from
skills/catalog.jsonwithout 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
npx, Node, or npm.stac skills addinstalls all Stac skills by default.stac initoptionally prompts users to install Stac skills.skills/catalog.json.docs/skills.mdxshows the Stac/Dart-native path first.npx skills add https://github.com/StacDev/stacpath can remain as an alternative.Notes
dart pub addmay not be the right final UX because it is for adding package dependencies topubspec.yaml.stac skills addlikely fits better with the existing Stac CLI.stac initalready follows Flutter-first tooling by tryingflutter pub add stacand falling back todart pub add stac.