1
0

refactor: Implement dynamic skill loading from definitions, replacing hardcoded skills, and add a new skill management command.

This commit is contained in:
2026-02-28 13:43:23 +01:00
parent a1037edb29
commit 7b144aedd7
11 changed files with 310 additions and 125 deletions

View File

@@ -0,0 +1,11 @@
namespace Toak.Core.Skills;
public class SkillDefinition
{
public string Name { get; set; } = "";
public string Description { get; set; } = "";
public string[] Hotwords { get; set; } = System.Array.Empty<string>();
public string Action { get; set; } = "type"; // "type" or "script"
public string SystemPrompt { get; set; } = "";
public string? ScriptPath { get; set; }
}