Skip to main content

package_skill_dir

Function package_skill_dir 

Source
pub fn package_skill_dir(
    skill_dir: &Path,
    skill_name: &str,
    out: &Path,
) -> Result<PathBuf>
Expand description

Package skill_dir into a .skill zip at out, with the skill folder as the top-level entry (so extraction lands at <name>/...).

Excludes build artifacts (__pycache__, node_modules, .git, .pyc, .DS_Store) and the root-level evals/ directory (test cases are not shipped in the distributable archive).