1 write to Name
aspire (1)
Agents\SkillDefinition.cs (1)
40Name = name;
16 references to Name
aspire (13)
Agents\SkillDefinition.cs (2)
93=> string.Equals(Name, name, comparison); 101public override string ToString() => Name;
Commands\AgentInitCommand.cs (11)
42[CommonAgentApplicators.AspireSkillName, SkillDefinition.PlaywrightCli.Name, SkillDefinition.DotnetInspect.Name]; 394.Where(name => name != SkillDefinition.DotnetInspect.Name || SkillDefinition.DotnetInspect.IsApplicableToLanguage(detectedLanguage)) 477var playwright = selectedSkillNames.Contains(SkillDefinition.PlaywrightCli.Name); 478var dotnetInspect = selectedSkillNames.Contains(SkillDefinition.DotnetInspect.Name); 641new InstalledSkillSummaryItem(SkillDefinition.PlaywrightCli.Name, directory))); 974var fullSkillDirectoryPath = Path.Combine(skillBaseDirectory, skill.Name); 979throw new InvalidOperationException($"Skill '{skill.Name}' does not define installable files."); 992return new(skill.Name, skillBaseDirectory); 997return new(skill.Name, skillBaseDirectory); 1002string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.InitCommand_FailedToInstallSkill, skill.Name, fullSkillDirectoryPath, ex.Message));
Aspire.Cli.Tests (3)
Commands\AgentInitCommandTests.cs (3)
320$"{SkillDefinition.PlaywrightCli.Name} — {AgentCommandStrings.SkillDescription_PlaywrightCli}", 321$"{SkillDefinition.DotnetInspect.Name} — {AgentCommandStrings.SkillDescription_DotnetInspect}"], 672Assert.Equal(expected, File.Exists(Path.Combine(workspace.Path, ".agents", "skills", SkillDefinition.DotnetInspect.Name, "SKILL.md")));