1 write to Name
aspire (1)
Agents\SkillDefinition.cs (1)
40
Name
= name;
16 references to Name
aspire (13)
Agents\SkillDefinition.cs (2)
93
=> string.Equals(
Name
, name, comparison);
101
public override string ToString() =>
Name
;
Commands\AgentInitCommand.cs (11)
44
[CommonAgentApplicators.AspireSkillName, SkillDefinition.PlaywrightCli.
Name
, SkillDefinition.DotnetInspect.
Name
];
426
.Where(name => name != SkillDefinition.DotnetInspect.
Name
|| SkillDefinition.DotnetInspect.IsApplicableToLanguage(detectedLanguage))
505
var playwright = selectedSkillNames.Contains(SkillDefinition.PlaywrightCli.
Name
);
506
var dotnetInspect = selectedSkillNames.Contains(SkillDefinition.DotnetInspect.
Name
);
691
new InstalledSkillSummaryItem(SkillDefinition.PlaywrightCli.
Name
, directory)));
1130
var fullSkillDirectoryPath = Path.Combine(skillBaseDirectory, skill.
Name
);
1135
throw new InvalidOperationException($"Skill '{skill.
Name
}' does not define installable files.");
1148
return new(skill.
Name
, skillBaseDirectory);
1153
return new(skill.
Name
, skillBaseDirectory);
1158
string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.InitCommand_FailedToInstallSkill, skill.
Name
, fullSkillDirectoryPath, ex.Message));
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")));