25 references to CommonAgentApplicators
aspire (11)
Agents\SkillDefinition.cs (2)
29CommonAgentApplicators.DotnetInspectSkillName, 31CommonAgentApplicators.DotnetInspectSkillFileContent,
Commands\AgentInitCommand.cs (7)
42[CommonAgentApplicators.AspireSkillName, SkillDefinition.PlaywrightCli.Name, SkillDefinition.DotnetInspect.Name]; 264PromptBinding.Create(parseResult, s_skillsOption, CommonAgentApplicators.AspireSkillName), 398ConsoleInteractionService.MatchChoices(requestedSkills ?? CommonAgentApplicators.AspireSkillName, 399availableSkillChoices, static name => name)?.Contains(CommonAgentApplicators.AspireSkillName) is true; 468name => $"{name.EscapeMarkup()} — {(name == CommonAgentApplicators.AspireSkillName 471preSelected: [CommonAgentApplicators.AspireSkillName], 479var configureAspire = selectedSkillNames.Contains(CommonAgentApplicators.AspireSkillName);
Commands\InitCommand.cs (1)
219PromptBinding.Create(parseResult, AgentInitCommand.s_skillsOption, CommonAgentApplicators.AspireSkillName),
Commands\NewCommand.cs (1)
820PromptBinding.Create(parseResult, AgentInitCommand.s_skillsOption, CommonAgentApplicators.AspireSkillName),
Aspire.Cli.Tests (14)
Agents\CommonAgentApplicatorsTests.cs (3)
15var description = GetFrontmatterValue(CommonAgentApplicators.DotnetInspectSkillFileContent, "description"); 21$"Skill '{CommonAgentApplicators.DotnetInspectSkillName}' description is {description.Length} characters; agent hosts such as Codex and Copilot CLI accept at most {MaxSkillDescriptionLength}."); 22Assert.Contains("# dotnet-inspect", CommonAgentApplicators.DotnetInspectSkillFileContent);
Commands\AgentInitCommandTests.cs (4)
319[$"{CommonAgentApplicators.AspireSkillName} — {AgentCommandStrings.InitCommand_AspireSkillChoice}", 491PromptBinding.CreateDefault<string?>(CommonAgentApplicators.AspireSkillName), 530PromptBinding.CreateDefault<string?>(CommonAgentApplicators.AspireSkillName), 557var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName);
Commands\InitCommandTests.cs (4)
921.Where(choice => choice is IAgentClient || choice is string name && name == CommonAgentApplicators.AspireSkillName).ToArray(); 1059var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 1062var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 1125var skillDirectory = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName);
Commands\NewCommandTests.cs (3)
2503var skillDirectory = Path.Combine(homeDirectory.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 3445return [CommonAgentApplicators.AspireSkillName]; 3492var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md");