pub fn skill_package(
name: &str,
) -> Result<Vec<(String, &'static [u8])>, PackageError>Expand description
Every file of one installed skill package, as (path relative to the package root, bytes), sorted by path.
A package is the unit the Agent Skills format and every documented host
resolve against: one directory holding SKILL.md and supporting files
beside it. A skill’s own reference files are authored in its directory,
and the shared artifacts are authored once under skill-shared/ and
materialized here into every package, so a fix lands in one file and
reaches every root the installer writes.
§Errors
PackageError::Unknown for a name the payload does not carry, and the
composition errors of compose_package.