aigent 0.7.1

A library, CLI, and Claude plugin for managing agent skill definitions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::path::PathBuf;

use aigent::builder::template::SkillTemplate;

pub(crate) fn run(dir: Option<PathBuf>, template: SkillTemplate, minimal: bool) {
    let target = dir.unwrap_or_else(|| PathBuf::from("."));
    match aigent::init_skill(&target, template, minimal) {
        Ok(path) => {
            println!("Created {}", path.display());
        }
        Err(e) => {
            eprintln!("aigent init: {e}");
            std::process::exit(1);
        }
    }
}