53 references to AspireSkillName
Aspire.Cli.Tests (53)
Agents\AspireSkillsBundleTests.cs (21)
21
CommonAgentApplicators.
AspireSkillName
,
104
Assert.Equal(CommonAgentApplicators.
AspireSkillName
, skill.Name);
143
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
158
Name = CommonAgentApplicators.
AspireSkillName
,
175
Assert.Equal(CommonAgentApplicators.
AspireSkillName
, skill.Name);
187
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
201
Name = CommonAgentApplicators.
AspireSkillName
,
286
Name = CommonAgentApplicators.
AspireSkillName
,
334
await WriteSkillAsync(bundleDirectory, CommonAgentApplicators.
AspireSkillName
, CreateSkillFileContent());
342
CreateManifestSkill(bundleDirectory, CommonAgentApplicators.
AspireSkillName
, AspireSkillDescription),
343
CreateManifestSkill(bundleDirectory, CommonAgentApplicators.
AspireSkillName
, AspireSkillDescription)
509
Directory.CreateDirectory(Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
));
510
await File.WriteAllTextAsync(Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md"), CreateSkillFileContent());
522
Name = CommonAgentApplicators.
AspireSkillName
,
555
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
570
Name = CommonAgentApplicators.
AspireSkillName
,
682
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
696
Name = CommonAgentApplicators.
AspireSkillName
,
804
var skillPath = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
837
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
855
Name = CommonAgentApplicators.
AspireSkillName
,
Agents\AspireSkillsInstallerTests.cs (3)
2044
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
2066
Name = CommonAgentApplicators.
AspireSkillName
,
2144
File.Delete(Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md"));
Agents\CommonAgentApplicatorsTests.cs (2)
75
SkillDefinition.CreateAspireSkillsBundle(CommonAgentApplicators.
AspireSkillName
, "Aspire CLI commands and workflows for distributed apps"),
111
CommonAgentApplicators.
AspireSkillName
,
Commands\AgentInitCommandTests.cs (14)
32
SkillDefinition skill => skill.HasName(CommonAgentApplicators.
AspireSkillName
),
51
$" {string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.InitCommand_InstalledSkillsSummarySkills, CommonAgentApplicators.
AspireSkillName
)}",
88
$"{CommonAgentApplicators.
AspireSkillName
}, {CommonAgentApplicators.AspireDeploymentSkillName}, {FakeAspireSkillsInstaller.AspireInitSkillName}, {FakeAspireSkillsInstaller.AspireMonitoringSkillName}, {FakeAspireSkillsInstaller.AspireOrchestrationSkillName}, {FakeAspireSkillsInstaller.AspireProjectV2MigrationSkillName}, {CommonAgentApplicators.AspireifySkillName}")}",
110
SkillDefinition skill => skill.HasName(CommonAgentApplicators.
AspireSkillName
),
128
var expectedSkillDirectoryPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
152
CommonAgentApplicators.
AspireSkillName
,
206
Assert.Contains(CommonAgentApplicators.
AspireSkillName
, promptedSkillNames);
480
(CommonAgentApplicators.
AspireSkillName
, "Aspire CLI commands and workflows for distributed apps"),
569
AssertSkillFileExists(workspace.WorkspaceRoot, Path.Combine(".agents", "skills"), CommonAgentApplicators.
AspireSkillName
);
637
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
673
AssertSkillFileExists(workspace.WorkspaceRoot, Path.Combine(".agents", "skills"), CommonAgentApplicators.
AspireSkillName
);
798
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
882
var result = command.Parse($"agent init --workspace-root {workspace.WorkspaceRoot.FullName} --agents copilot --skills {CommonAgentApplicators.
AspireSkillName
}");
888
AssertSkillFileExists(workspace.WorkspaceRoot, Path.Combine(".agents", "skills"), CommonAgentApplicators.
AspireSkillName
);
Commands\InitCommandTests.cs (4)
720
.Where(static skill => skill.HasName(CommonAgentApplicators.
AspireSkillName
))
758
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
796
var parseResult = command.Parse($"init --non-interactive --agents copilot --scope {scope} --skills {CommonAgentApplicators.
AspireSkillName
}");
805
var aspireSkillPath = Path.Combine(selectedRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
Commands\NewCommandTests.cs (5)
2352
var result = command.Parse($"new aspire-empty --name TestApp --output ./output --agents copilot --skills {CommonAgentApplicators.
AspireSkillName
}");
2358
var aspireSkillPath = Path.Combine(outputDir, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
3335
var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
3362
var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
3391
var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
TestServices\FakePlaywrightServices.cs (4)
91
[(CommonAgentApplicators.
AspireSkillName
, "SKILL.md")] =
100
[(CommonAgentApplicators.
AspireSkillName
, Path.Combine("references", "app-commands.md"))] = "# App commands",
101
[(CommonAgentApplicators.
AspireSkillName
, Path.Combine("evals", "evals.json"))] = "{}",
179
CreateSkill(CommonAgentApplicators.
AspireSkillName
, ["evals"], files),