use serde::{Deserialize, Serialize};
#[derive(Debug, Clone)]
pub struct Skill {
pub frontmatter: SkillFrontmatter,
pub body: String,
}
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[serde(default)]
pub struct SkillFrontmatter {
pub name: String,
pub description: String,
pub license: Option<String>,
pub compatibility: Option<String>,
#[serde(default)]
pub metadata: std::collections::HashMap<String, serde_json::Value>,
#[serde(default, rename = "allowed-tools")]
pub allowed_tools: Vec<String>,
}