Skip to main content

Crate skillflag

Crate skillflag 

Source
Expand description

Rust implementation of the Skillflag producer interface and the skill-install companion CLI.

The behavior mirrors the TypeScript reference implementation in typescript/src/ of the Skillflag monorepo; output formats (list, list --json, export, show, and error messages) are byte-compatible.

Re-exports§

pub use crate::core::errors::SkillflagError;
pub use crate::core::paths::find_skills_root;
pub use crate::core::paths::find_skills_roots;
pub use crate::dispatch::handle_skillflag;
pub use crate::dispatch::maybe_handle_skillflag;
pub use crate::dispatch::standalone_options;
pub use crate::dispatch::standalone_options_from;
pub use crate::dispatch::Options;
pub use crate::dispatch::SKILLFLAG_HELP_TEXT;
pub use crate::dispatch::SKILLFLAG_SKILLS_ROOT_ENV;

Modules§

bundled
Skills bundled into the compiled binary/library.
core
dispatch
The producer --skill interface: argument parsing and action dispatch.
frontmatter
Minimal frontmatter parser (deliberately NOT full YAML).
install
stdio
Injectable stream abstractions for the CLIs.