2 instantiations of SkillDefinition
aspire (2)
Agents\SkillDefinition.cs (2)
19
public static readonly SkillDefinition PlaywrightCli =
new
(
28
public static readonly SkillDefinition DotnetInspect =
new
(
21 references to SkillDefinition
aspire (18)
Agents\SkillDefinition.cs (3)
19
public static readonly
SkillDefinition
PlaywrightCli = new(
28
public static readonly
SkillDefinition
DotnetInspect = new(
98
public static IReadOnlyList<
SkillDefinition
> CliDefined { get; } = [PlaywrightCli, DotnetInspect];
Commands\AgentInitCommand.cs (15)
44
[CommonAgentApplicators.AspireSkillName,
SkillDefinition
.PlaywrightCli.Name,
SkillDefinition
.DotnetInspect.Name];
426
.Where(name => name !=
SkillDefinition
.DotnetInspect.Name ||
SkillDefinition
.DotnetInspect.IsApplicableToLanguage(detectedLanguage))
498
: SimplifyDescription(
SkillDefinition
.CliDefined.Single(skill => skill.HasName(name)).Description)).EscapeMarkup()}",
505
var playwright = selectedSkillNames.Contains(
SkillDefinition
.PlaywrightCli.Name);
506
var dotnetInspect = selectedSkillNames.Contains(
SkillDefinition
.DotnetInspect.Name);
577
List<
SkillDefinition
> selectedSkills = [];
581
selectedSkills.Add(
SkillDefinition
.PlaywrightCli);
585
selectedSkills.Add(
SkillDefinition
.DotnetInspect);
641
foreach (
var
skill in selectedSkills)
665
if (selectedSkills.Contains(
SkillDefinition
.PlaywrightCli))
691
new InstalledSkillSummaryItem(
SkillDefinition
.PlaywrightCli.Name, directory)));
1127
SkillDefinition
skill,
1510
IReadOnlyList<
SkillDefinition
> SelectedSkills)
Aspire.Cli.Tests (3)
Commands\AgentInitCommandTests.cs (3)
619
$"{
SkillDefinition
.PlaywrightCli.Name} — {AgentCommandStrings.SkillDescription_PlaywrightCli}",
620
$"{
SkillDefinition
.DotnetInspect.Name} — {AgentCommandStrings.SkillDescription_DotnetInspect}"],
971
Assert.Equal(expected, File.Exists(Path.Combine(workspace.Path, ".agents", "skills",
SkillDefinition
.DotnetInspect.Name, "SKILL.md")));