25 references to CommonAgentApplicators
aspire (11)
Agents\SkillDefinition.cs (2)
29CommonAgentApplicators.DotnetInspectSkillName, 31CommonAgentApplicators.DotnetInspectSkillFileContent,
Commands\AgentInitCommand.cs (7)
44[CommonAgentApplicators.AspireSkillName, SkillDefinition.PlaywrightCli.Name, SkillDefinition.DotnetInspect.Name]; 267PromptBinding.Create(parseResult, s_skillsOption, CommonAgentApplicators.AspireSkillName), 430ConsoleInteractionService.MatchChoices(requestedSkills ?? CommonAgentApplicators.AspireSkillName, 431availableSkillChoices, static name => name)?.Contains(CommonAgentApplicators.AspireSkillName) is true; 496name => $"{name.EscapeMarkup()} — {(name == CommonAgentApplicators.AspireSkillName 499preSelected: [CommonAgentApplicators.AspireSkillName], 507var configureAspire = selectedSkillNames.Contains(CommonAgentApplicators.AspireSkillName);
Commands\InitCommand.cs (1)
219PromptBinding.Create(parseResult, AgentInitCommand.s_skillsOption, CommonAgentApplicators.AspireSkillName),
Commands\NewCommand.cs (1)
866PromptBinding.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)
618[$"{CommonAgentApplicators.AspireSkillName} — {AgentCommandStrings.InitCommand_AspireSkillChoice}", 790PromptBinding.CreateDefault<string?>(CommonAgentApplicators.AspireSkillName), 829PromptBinding.CreateDefault<string?>(CommonAgentApplicators.AspireSkillName), 856var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName);
Commands\InitCommandTests.cs (4)
926.Where(choice => choice is IAgentClient || choice is string name && name == CommonAgentApplicators.AspireSkillName).ToArray(); 1064var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 1067var aspireifySkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireifySkillName); 1130var skillDirectory = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName);
Commands\NewCommandTests.cs (3)
2561var skillDirectory = Path.Combine(homeDirectory.FullName, ".agents", "skills", CommonAgentApplicators.AspireSkillName); 3503return [CommonAgentApplicators.AspireSkillName]; 3550var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.AspireSkillName, "SKILL.md");