4 instantiations of SkillLocation
aspire (4)
Agents\SkillLocation.cs (4)
18
public static readonly SkillLocation Standard =
new
(
29
public static readonly SkillLocation ClaudeCode =
new
(
40
public static readonly SkillLocation GitHubSkills =
new
(
51
public static readonly SkillLocation OpenCode =
new
(
57 references to SkillLocation
aspire (18)
Agents\Playwright\PlaywrightCliInstaller.cs (4)
310
foreach (
var
location in
SkillLocation
.All)
360
foreach (
var
location in
SkillLocation
.All)
Agents\SkillLocation.cs (5)
18
public static readonly
SkillLocation
Standard = new(
29
public static readonly
SkillLocation
ClaudeCode = new(
40
public static readonly
SkillLocation
GitHubSkills = new(
51
public static readonly
SkillLocation
OpenCode = new(
102
public static IReadOnlyList<
SkillLocation
> All { get; } = [Standard, ClaudeCode, GitHubSkills, OpenCode];
Commands\AgentInitCommand.cs (6)
63
string.Join(",",
SkillLocation
.All.Select(l => l.Id)),
237
var defaultLocationIds = string.Join(",",
SkillLocation
.All.Where(l => l.IsDefault).Select(l => l.Id));
242
SkillLocation
.All,
244
preSelected:
SkillLocation
.All.Where(l => l.IsDefault),
354
foreach (
var
location in selectedLocations)
823
IReadOnlyList<
SkillLocation
> SelectedLocations,
Commands\InitCommand.cs (3)
225
private static IReadOnlyList<string> GetAspireifyCommands(IReadOnlyList<
SkillLocation
> selectedLocations)
229
if (selectedLocations.Contains(
SkillLocation
.ClaudeCode))
234
if (selectedLocations.Contains(
SkillLocation
.OpenCode))
Aspire.Cli.Tests (39)
Agents\CommonAgentApplicatorsTests.cs (19)
16
Assert.Equal(4,
SkillLocation
.All.Count);
17
Assert.Contains(
SkillLocation
.All, l => l ==
SkillLocation
.Standard);
18
Assert.Contains(
SkillLocation
.All, l => l ==
SkillLocation
.ClaudeCode);
19
Assert.Contains(
SkillLocation
.All, l => l ==
SkillLocation
.GitHubSkills);
20
Assert.Contains(
SkillLocation
.All, l => l ==
SkillLocation
.OpenCode);
26
Assert.True(
SkillLocation
.Standard.IsDefault);
27
Assert.True(
SkillLocation
.Standard.IncludeUserLevel);
28
Assert.Equal(Path.Combine(".agents", "skills"),
SkillLocation
.Standard.RelativeSkillDirectory);
34
Assert.False(
SkillLocation
.ClaudeCode.IsDefault);
35
Assert.False(
SkillLocation
.ClaudeCode.IncludeUserLevel);
36
Assert.Equal(Path.Combine(".claude", "skills"),
SkillLocation
.ClaudeCode.RelativeSkillDirectory);
42
Assert.True(
SkillLocation
.Standard.IsDefault);
43
Assert.False(
SkillLocation
.ClaudeCode.IsDefault);
44
Assert.False(
SkillLocation
.GitHubSkills.IsDefault);
45
Assert.False(
SkillLocation
.OpenCode.IsDefault);
Commands\AgentInitCommandTests.cs (14)
32
SkillLocation
location => location ==
SkillLocation
.Standard,
110
SkillLocation
location => location ==
SkillLocation
.Standard,
187
if (items.FirstOrDefault() is
SkillLocation
)
189
return [
SkillLocation
.Standard];
229
if (items.FirstOrDefault() is
SkillLocation
)
231
return [
SkillLocation
.Standard];
293
if (items.FirstOrDefault() is
SkillLocation
)
295
return [
SkillLocation
.Standard];
341
if (items.FirstOrDefault() is
SkillLocation
)
343
return [
SkillLocation
.Standard];
431
if (items.FirstOrDefault() is
SkillLocation
)
433
return [
SkillLocation
.Standard];
Commands\InitCommandTests.cs (6)
496
if (items.FirstOrDefault() is
SkillLocation
)
498
return [
SkillLocation
.Standard,
SkillLocation
.ClaudeCode,
SkillLocation
.OpenCode];
544
if (items.FirstOrDefault() is
SkillLocation
)
546
return [
SkillLocation
.Standard];