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)
2011
var skillDirectory = Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
);
2033
Name = CommonAgentApplicators.
AspireSkillName
,
2111
File.Delete(Path.Combine(bundleDirectory, "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md"));
Agents\CommonAgentApplicatorsTests.cs (2)
104
SkillDefinition.CreateAspireSkillsBundle(CommonAgentApplicators.
AspireSkillName
, "Aspire CLI commands and workflows for distributed apps"),
140
CommonAgentApplicators.
AspireSkillName
,
Commands\AgentInitCommandTests.cs (14)
33
SkillDefinition skill => skill.HasName(CommonAgentApplicators.
AspireSkillName
),
52
$" {string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.InitCommand_InstalledSkillsSummarySkills, CommonAgentApplicators.
AspireSkillName
)}",
89
$"{CommonAgentApplicators.
AspireSkillName
}, {CommonAgentApplicators.AspireDeploymentSkillName}, {FakeAspireSkillsInstaller.AspireInitSkillName}, {FakeAspireSkillsInstaller.AspireMonitoringSkillName}, {FakeAspireSkillsInstaller.AspireOrchestrationSkillName}")}",
111
SkillDefinition skill => skill.HasName(CommonAgentApplicators.
AspireSkillName
),
129
var expectedSkillDirectoryPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
153
CommonAgentApplicators.
AspireSkillName
,
208
Assert.Contains(CommonAgentApplicators.
AspireSkillName
, promptedSkillNames);
423
(CommonAgentApplicators.
AspireSkillName
, "Aspire CLI commands and workflows for distributed apps"),
513
AssertSkillFileExists(workspace.WorkspaceRoot, Path.Combine(".agents", "skills"), CommonAgentApplicators.
AspireSkillName
);
581
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
616
AssertSkillFileExists(workspace.WorkspaceRoot, Path.Combine(".agents", "skills"), CommonAgentApplicators.
AspireSkillName
);
770
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
820
var result = command.Parse($"agent init --workspace-root {workspace.WorkspaceRoot.FullName} --skill-locations standard --skills {CommonAgentApplicators.
AspireSkillName
}");
826
AssertSkillFileExists(workspace.WorkspaceRoot, Path.Combine(".agents", "skills"), CommonAgentApplicators.
AspireSkillName
);
Commands\InitCommandTests.cs (4)
551
.Where(static skill => skill.HasName(CommonAgentApplicators.
AspireSkillName
))
589
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
);
625
var parseResult = command.Parse($"init --non-interactive --skill-locations standard --skills {CommonAgentApplicators.
AspireSkillName
}");
631
var aspireSkillPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
Commands\NewCommandTests.cs (5)
2311
var result = command.Parse($"new aspire-empty --name TestApp --output ./output --skill-locations standard --skills {CommonAgentApplicators.
AspireSkillName
}");
2317
var aspireSkillPath = Path.Combine(outputDir, ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
3244
var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
3270
var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
3298
var skillPath = Path.Combine(workspace.WorkspaceRoot.FullName, "output", ".agents", "skills", CommonAgentApplicators.
AspireSkillName
, "SKILL.md");
TestServices\FakePlaywrightServices.cs (4)
88
[(CommonAgentApplicators.
AspireSkillName
, "SKILL.md")] =
97
[(CommonAgentApplicators.
AspireSkillName
, Path.Combine("references", "app-commands.md"))] = "# App commands",
98
[(CommonAgentApplicators.
AspireSkillName
, Path.Combine("evals", "evals.json"))] = "{}",
164
CreateSkill(CommonAgentApplicators.
AspireSkillName
, ["evals"], files),