1
0

chore: Introduce Qodana static analysis configuration and apply minor code formatting and C# 12 collection expressions.

This commit is contained in:
2026-03-01 20:07:20 +01:00
parent ec575ab5f9
commit 15f9647f8a
24 changed files with 344 additions and 80 deletions

View File

@@ -37,7 +37,7 @@ public static class SkillCommand
private static async Task ExecuteListAsync()
{
SkillRegistry.Initialize();
var table = new Table().Border(TableBorder.Rounded);
table.AddColumn("Name");
table.AddColumn("Action");
@@ -68,13 +68,13 @@ public static class SkillCommand
private static async Task ExecuteAddAsync()
{
AnsiConsole.MarkupLine("[bold blue]Add a new Dynamic Skill[/]");
var name = AnsiConsole.Ask<string>("Skill [green]Name[/]:");
var description = AnsiConsole.Ask<string>("Skill [green]Description[/]:");
var hotwordsStr = AnsiConsole.Ask<string>("Comma-separated [green]Hotwords[/] (e.g. 'System my skill, System do skill'):");
var hotwords = hotwordsStr.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
var action = AnsiConsole.Prompt(
new SelectionPrompt<string>()
.Title("What is the [green]Action[/] type?")