feat: REPL integration with skills

This commit is contained in:
2026-06-01 13:43:43 -06:00
parent 7325ad7b32
commit 5be12e90dc
3 changed files with 191 additions and 4 deletions
+10
View File
@@ -14,6 +14,16 @@ struct SkillsAsset;
static RE_METADATA: LazyLock<Regex> =
LazyLock::new(|| Regex::new(r"(?s)-{3,}\s*(.*?)\s*-{3,}\s*(.*)").unwrap());
pub const SKILL_SCAFFOLD: &str = "\
---
description: One-line description shown to the model when listing skills.
enabled_tools:
enabled_mcp_servers:
auto_unload: false
---
Replace this body with the knowledge or methodology this skill teaches.
";
#[derive(Debug, Clone, Default, Deserialize, Serialize)]
pub struct Skill {
name: String,