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)
42
[CommonAgentApplicators.AspireSkillName,
SkillDefinition
.PlaywrightCli.Name,
SkillDefinition
.DotnetInspect.Name];
394
.Where(name => name !=
SkillDefinition
.DotnetInspect.Name ||
SkillDefinition
.DotnetInspect.IsApplicableToLanguage(detectedLanguage))
470
: SimplifyDescription(
SkillDefinition
.CliDefined.Single(skill => skill.HasName(name)).Description)).EscapeMarkup()}",
477
var playwright = selectedSkillNames.Contains(
SkillDefinition
.PlaywrightCli.Name);
478
var dotnetInspect = selectedSkillNames.Contains(
SkillDefinition
.DotnetInspect.Name);
527
List<
SkillDefinition
> selectedSkills = [];
531
selectedSkills.Add(
SkillDefinition
.PlaywrightCli);
535
selectedSkills.Add(
SkillDefinition
.DotnetInspect);
591
foreach (
var
skill in selectedSkills)
615
if (selectedSkills.Contains(
SkillDefinition
.PlaywrightCli))
641
new InstalledSkillSummaryItem(
SkillDefinition
.PlaywrightCli.Name, directory)));
971
SkillDefinition
skill,
1257
IReadOnlyList<
SkillDefinition
> SelectedSkills)
Aspire.Cli.Tests (3)
Commands\AgentInitCommandTests.cs (3)
320
$"{
SkillDefinition
.PlaywrightCli.Name} — {AgentCommandStrings.SkillDescription_PlaywrightCli}",
321
$"{
SkillDefinition
.DotnetInspect.Name} — {AgentCommandStrings.SkillDescription_DotnetInspect}"],
672
Assert.Equal(expected, File.Exists(Path.Combine(workspace.Path, ".agents", "skills",
SkillDefinition
.DotnetInspect.Name, "SKILL.md")));