sf-aidev 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,89 @@
1
+ # summary
2
+
3
+ Install a command from a configured source repository.
4
+
5
+ # description
6
+
7
+ Install a command by name from a configured source repository, or interactively select from available commands when no name is provided. The command is installed to the correct path for the detected AI tool (e.g., `.github/commands/` for Copilot, `.claude/commands/` for Claude).
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the command to install. If not provided, shows interactive selection.
12
+
13
+ # flags.source.summary
14
+
15
+ Source repository (owner/repo) to install from. Defaults to the configured default source.
16
+
17
+ # examples
18
+
19
+ - Interactively select commands to install:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Install a command named "my-command":
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-command
26
+
27
+ - Install from a specific source:
28
+
29
+ <%= config.bin %> <%= command.id %> --name my-command --source owner/repo
30
+
31
+ # error.InstallFailed
32
+
33
+ Installation of command "%s" failed: %s
34
+
35
+ # error.NonInteractive
36
+
37
+ This command requires an interactive terminal when no command name is provided.
38
+
39
+ # error.NonInteractiveActions
40
+
41
+ Provide a command name with --name flag, or run in an interactive terminal.
42
+
43
+ # error.NoTool
44
+
45
+ No AI tool is configured for this project.
46
+
47
+ # error.NoToolActions
48
+
49
+ Run `sf aidev init` to detect and configure an AI tool, or set one manually.
50
+
51
+ # info.CommandInstalled
52
+
53
+ Successfully installed command "%s" to %s
54
+
55
+ # info.Fetching
56
+
57
+ Fetching available commands...
58
+
59
+ # info.NoArtifacts
60
+
61
+ No commands available in configured sources.
62
+
63
+ # info.AllInstalled
64
+
65
+ All available commands are already installed.
66
+
67
+ # info.NoneSelected
68
+
69
+ No commands selected for installation.
70
+
71
+ # info.Installing
72
+
73
+ Installing %s command(s)...
74
+
75
+ # info.Installed
76
+
77
+ Successfully installed %s command(s):
78
+
79
+ # info.Skipped
80
+
81
+ Skipped %s command(s) (already installed):
82
+
83
+ # warning.Failed
84
+
85
+ Failed to install %s command(s):
86
+
87
+ # prompt.Select
88
+
89
+ Select commands to install (use Space to select, Enter to confirm):
@@ -0,0 +1,77 @@
1
+ # summary
2
+
3
+ Interactively select and install artifacts from configured sources.
4
+
5
+ # description
6
+
7
+ Browse all available artifacts grouped by category (Agents, Skills, Prompts) and select multiple items to install at once. This command requires an interactive terminal; for non-interactive use, use the subcommands: `sf aidev add skill --name X`, `sf aidev add agent --name X`, or `sf aidev add prompt --name X`.
8
+
9
+ # flags.source.summary
10
+
11
+ Filter artifacts to a specific source repository (owner/repo).
12
+
13
+ # flags.no-prompt.summary
14
+
15
+ Disable interactive mode. This flag is not supported for the parent command; use subcommands instead.
16
+
17
+ # examples
18
+
19
+ - Interactively select artifacts to install:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Filter to a specific source repository:
24
+
25
+ <%= config.bin %> <%= command.id %> --source owner/repo
26
+
27
+ # prompt.Select
28
+
29
+ Select artifacts to install (use Space to select, Enter to confirm):
30
+
31
+ # error.NonInteractive
32
+
33
+ This command requires an interactive terminal.
34
+
35
+ # error.NonInteractiveActions
36
+
37
+ Use subcommands for non-interactive mode: `sf aidev add skill --name X`, `sf aidev add agent --name X`, or `sf aidev add prompt --name X`.
38
+
39
+ # error.NoTool
40
+
41
+ No AI tool is configured for this project.
42
+
43
+ # error.NoToolActions
44
+
45
+ Run `sf aidev init` to detect and configure an AI tool, or set one manually.
46
+
47
+ # info.Fetching
48
+
49
+ Fetching available artifacts...
50
+
51
+ # info.NoArtifacts
52
+
53
+ No artifacts available in configured sources.
54
+
55
+ # info.AllInstalled
56
+
57
+ All available artifacts are already installed.
58
+
59
+ # info.NoneSelected
60
+
61
+ No artifacts selected for installation.
62
+
63
+ # info.Installing
64
+
65
+ Installing %s artifact(s)...
66
+
67
+ # info.Installed
68
+
69
+ Successfully installed %s artifact(s):
70
+
71
+ # info.Skipped
72
+
73
+ Skipped %s artifact(s) (already installed):
74
+
75
+ # warning.Failed
76
+
77
+ Failed to install %s artifact(s):
@@ -0,0 +1,89 @@
1
+ # summary
2
+
3
+ Install a prompt from a configured source repository.
4
+
5
+ # description
6
+
7
+ Install a prompt by name from a configured source repository, or interactively select from available prompts when no name is provided. The prompt is installed to the correct path for the detected AI tool (e.g., `.github/prompts/` for Copilot, `.claude/prompts/` for Claude).
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the prompt to install. If not provided, shows interactive selection.
12
+
13
+ # flags.source.summary
14
+
15
+ Source repository (owner/repo) to install from. Defaults to the configured default source.
16
+
17
+ # examples
18
+
19
+ - Interactively select prompts to install:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Install a prompt named "my-prompt":
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-prompt
26
+
27
+ - Install from a specific source:
28
+
29
+ <%= config.bin %> <%= command.id %> --name my-prompt --source owner/repo
30
+
31
+ # error.InstallFailed
32
+
33
+ Installation of prompt "%s" failed: %s
34
+
35
+ # error.NonInteractive
36
+
37
+ This command requires an interactive terminal when no prompt name is provided.
38
+
39
+ # error.NonInteractiveActions
40
+
41
+ Provide a prompt name with --name flag, or run in an interactive terminal.
42
+
43
+ # error.NoTool
44
+
45
+ No AI tool is configured for this project.
46
+
47
+ # error.NoToolActions
48
+
49
+ Run `sf aidev init` to detect and configure an AI tool, or set one manually.
50
+
51
+ # info.PromptInstalled
52
+
53
+ Successfully installed prompt "%s" to %s
54
+
55
+ # info.Fetching
56
+
57
+ Fetching available prompts...
58
+
59
+ # info.NoArtifacts
60
+
61
+ No prompts available in configured sources.
62
+
63
+ # info.AllInstalled
64
+
65
+ All available prompts are already installed.
66
+
67
+ # info.NoneSelected
68
+
69
+ No prompts selected for installation.
70
+
71
+ # info.Installing
72
+
73
+ Installing %s prompt(s)...
74
+
75
+ # info.Installed
76
+
77
+ Successfully installed %s prompt(s):
78
+
79
+ # info.Skipped
80
+
81
+ Skipped %s prompt(s) (already installed):
82
+
83
+ # warning.Failed
84
+
85
+ Failed to install %s prompt(s):
86
+
87
+ # prompt.Select
88
+
89
+ Select prompts to install (use Space to select, Enter to confirm):
@@ -0,0 +1,89 @@
1
+ # summary
2
+
3
+ Install a skill from a configured source repository.
4
+
5
+ # description
6
+
7
+ Install a skill by name from a configured source repository, or interactively select from available skills when no name is provided. The skill is installed to the correct path for the detected AI tool (e.g., `.github/copilot-skills/` for Copilot, `.claude/skills/` for Claude).
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the skill to install. If not provided, shows interactive selection.
12
+
13
+ # flags.source.summary
14
+
15
+ Source repository (owner/repo) to install from. Defaults to the configured default source.
16
+
17
+ # examples
18
+
19
+ - Interactively select skills to install:
20
+
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - Install a skill named "my-skill":
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-skill
26
+
27
+ - Install from a specific source:
28
+
29
+ <%= config.bin %> <%= command.id %> --name my-skill --source owner/repo
30
+
31
+ # error.InstallFailed
32
+
33
+ Installation of skill "%s" failed: %s
34
+
35
+ # error.NonInteractive
36
+
37
+ This command requires an interactive terminal when no skill name is provided.
38
+
39
+ # error.NonInteractiveActions
40
+
41
+ Provide a skill name with --name flag, or run in an interactive terminal.
42
+
43
+ # error.NoTool
44
+
45
+ No AI tool is configured for this project.
46
+
47
+ # error.NoToolActions
48
+
49
+ Run `sf aidev init` to detect and configure an AI tool, or set one manually.
50
+
51
+ # info.SkillInstalled
52
+
53
+ Successfully installed skill "%s" to %s
54
+
55
+ # info.Fetching
56
+
57
+ Fetching available skills...
58
+
59
+ # info.NoArtifacts
60
+
61
+ No skills available in configured sources.
62
+
63
+ # info.AllInstalled
64
+
65
+ All available skills are already installed.
66
+
67
+ # info.NoneSelected
68
+
69
+ No skills selected for installation.
70
+
71
+ # info.Installing
72
+
73
+ Installing %s skill(s)...
74
+
75
+ # info.Installed
76
+
77
+ Successfully installed %s skill(s):
78
+
79
+ # info.Skipped
80
+
81
+ Skipped %s skill(s) (already installed):
82
+
83
+ # warning.Failed
84
+
85
+ Failed to install %s skill(s):
86
+
87
+ # prompt.Select
88
+
89
+ Select skills to install (use Space to select, Enter to confirm):
@@ -0,0 +1,133 @@
1
+ # summary
2
+
3
+ Initialize AI development tools in your project.
4
+
5
+ # description
6
+
7
+ Detect AI tools in your project, configure a source repository, and install available artifacts. This command provides an interactive setup experience for AI-assisted development with your Salesforce project.
8
+
9
+ # flags.tool.summary
10
+
11
+ AI tool to configure (copilot, claude, cursor, windsurf, gemini, codex). Auto-detected if not specified.
12
+
13
+ # flags.source.summary
14
+
15
+ Source repository (owner/repo) to install artifacts from.
16
+
17
+ # flags.no-install.summary
18
+
19
+ Skip artifact installation, only configure tool and source.
20
+
21
+ # flags.no-prompt.summary
22
+
23
+ Skip the confirmation prompt.
24
+
25
+ # examples
26
+
27
+ - Initialize with auto-detection:
28
+
29
+ <%= config.bin %> <%= command.id %>
30
+
31
+ - Initialize with specific tool:
32
+
33
+ <%= config.bin %> <%= command.id %> --tool copilot
34
+
35
+ - Initialize with a source repository:
36
+
37
+ <%= config.bin %> <%= command.id %> --source owner/ai-dev-lifecycle
38
+
39
+ - Initialize without prompts (for CI/scripts):
40
+
41
+ <%= config.bin %> <%= command.id %> --no-prompt
42
+
43
+ # info.DetectingTools
44
+
45
+ Detecting AI tools in project...
46
+
47
+ # info.SingleToolDetected
48
+
49
+ Detected AI tool: %s
50
+
51
+ # info.MultipleToolsDetected
52
+
53
+ Multiple AI tools detected: %s
54
+
55
+ # info.AutoSelectedTool
56
+
57
+ Auto-selected tool: %s
58
+
59
+ # info.ToolConfigured
60
+
61
+ Configured AI tool: %s
62
+
63
+ # info.UsingDefaultSource
64
+
65
+ Using default source: %s
66
+
67
+ # info.AddingSource
68
+
69
+ Adding source %s...
70
+
71
+ # info.SkippingInstall
72
+
73
+ Skipping artifact installation (--no-install).
74
+
75
+ # info.FetchingArtifacts
76
+
77
+ Fetching available artifacts...
78
+
79
+ # info.NoArtifactsAvailable
80
+
81
+ No artifacts available from the configured source.
82
+
83
+ # info.AllArtifactsInstalled
84
+
85
+ All available artifacts are already installed.
86
+
87
+ # info.AvailableArtifacts
88
+
89
+ Available artifacts to install:
90
+
91
+ # info.InstallingArtifacts
92
+
93
+ Installing artifacts...
94
+
95
+ # info.InstallSuccess
96
+
97
+ Successfully installed %s artifact(s):
98
+
99
+ # info.InstallCancelled
100
+
101
+ Installation cancelled.
102
+
103
+ # prompt.ConfirmTool
104
+
105
+ Use %s as the active AI tool
106
+
107
+ # prompt.ConfirmInstall
108
+
109
+ Install %s artifact(s)
110
+
111
+ # warning.InstallFailed
112
+
113
+ Failed to install %s artifact(s):
114
+
115
+ # error.NoToolsDetected
116
+
117
+ No AI tools detected in this project.
118
+
119
+ # error.NoToolsDetectedActions
120
+
121
+ Initialize an AI tool first (e.g., create .github/copilot-instructions.md for Copilot or .claude/ directory for Claude), or specify a tool with --tool flag.
122
+
123
+ # error.NoSourceConfigured
124
+
125
+ No source repository configured.
126
+
127
+ # error.NoSourceConfiguredActions
128
+
129
+ Add a source with 'sf aidev source add owner/repo' or specify with --source flag.
130
+
131
+ # error.SourceAddFailed
132
+
133
+ Failed to add source %s: %s
@@ -0,0 +1,76 @@
1
+ # summary
2
+
3
+ List agent artifacts in your project.
4
+
5
+ # description
6
+
7
+ Display all agents with checkboxes indicating installation status:
8
+
9
+ - Checked box (checked) - agent exists locally
10
+ - Unchecked box (unchecked) - agent is available from source but not installed
11
+
12
+ In interactive mode (TTY), use arrow keys to navigate, Enter to select, and Escape to exit.
13
+
14
+ Merges agents found locally with those available from configured source repositories.
15
+
16
+ # flags.source.summary
17
+
18
+ Filter available agents by source repository.
19
+
20
+ # examples
21
+
22
+ - List all agents:
23
+
24
+ <%= config.bin %> <%= command.id %>
25
+
26
+ - List agents from a specific source:
27
+
28
+ <%= config.bin %> <%= command.id %> --source owner/repo
29
+
30
+ - Get JSON output:
31
+
32
+ <%= config.bin %> <%= command.id %> --json
33
+
34
+ # prompt.Select
35
+
36
+ Select an agent (use arrow keys, Enter to select, Escape to exit):
37
+
38
+ # info.NoAgents
39
+
40
+ No agents found.
41
+
42
+ # info.Installing
43
+
44
+ Installing "%s"...
45
+
46
+ # info.Installed
47
+
48
+ Successfully installed "%s" to %s.
49
+
50
+ # info.Removing
51
+
52
+ Removing "%s"...
53
+
54
+ # info.Removed
55
+
56
+ Successfully removed "%s".
57
+
58
+ # warning.SourceFailed
59
+
60
+ Failed to fetch agents from source "%s": %s
61
+
62
+ # warning.InstallFailed
63
+
64
+ Failed to install "%s": %s
65
+
66
+ # warning.RemoveFailed
67
+
68
+ Failed to remove "%s": %s
69
+
70
+ # info.FetchingDetails
71
+
72
+ Fetching agent details from source...
73
+
74
+ # warning.FailedToFetchDetails
75
+
76
+ Could not fetch agent details: %s
@@ -0,0 +1,65 @@
1
+ # summary
2
+
3
+ List all commands available from configured sources and installed locally.
4
+
5
+ # description
6
+
7
+ Display a list of all commands from configured source repositories merged with locally installed commands. Shows installation status, and supports interactive mode with view/install/remove actions.
8
+
9
+ # flags.source.summary
10
+
11
+ Filter available commands to a specific source repository (owner/repo).
12
+
13
+ # examples
14
+
15
+ - List all commands:
16
+
17
+ <%= config.bin %> <%= command.id %>
18
+
19
+ - List commands from a specific source:
20
+
21
+ <%= config.bin %> <%= command.id %> --source owner/repo
22
+
23
+ # warning.SourceFailed
24
+
25
+ Failed to fetch commands from source "%s": %s
26
+
27
+ # info.NoCommands
28
+
29
+ No commands found.
30
+
31
+ # info.Installing
32
+
33
+ Installing command "%s"...
34
+
35
+ # info.Installed
36
+
37
+ Successfully installed command "%s" to %s
38
+
39
+ # info.Removing
40
+
41
+ Removing command "%s"...
42
+
43
+ # info.Removed
44
+
45
+ Successfully removed command "%s"
46
+
47
+ # info.FetchingDetails
48
+
49
+ Fetching command details...
50
+
51
+ # warning.InstallFailed
52
+
53
+ Failed to install command "%s": %s
54
+
55
+ # warning.RemoveFailed
56
+
57
+ Failed to remove command "%s": %s
58
+
59
+ # warning.FailedToFetchDetails
60
+
61
+ Failed to fetch command details: %s
62
+
63
+ # prompt.Select
64
+
65
+ Select a command (↑↓ navigate, Enter select, Esc exit):
@@ -0,0 +1,35 @@
1
+ # summary
2
+
3
+ List instruction files in your project.
4
+
5
+ # description
6
+
7
+ Display all instruction files found in your project. Instruction files include:
8
+
9
+ - CLAUDE.md
10
+ - CURSOR.md
11
+ - CODEX.md
12
+ - copilot-instructions.md
13
+ - \*.instructions.md
14
+
15
+ All instruction files are shown as checked since they are local-only and always installed.
16
+
17
+ In interactive mode (TTY), use arrow keys to navigate, Enter to view details, and Escape to exit.
18
+
19
+ # examples
20
+
21
+ - List all instruction files:
22
+
23
+ <%= config.bin %> <%= command.id %>
24
+
25
+ - Get JSON output:
26
+
27
+ <%= config.bin %> <%= command.id %> --json
28
+
29
+ # prompt.Select
30
+
31
+ Select an instruction file to view (use arrow keys, Enter to select, Escape to exit):
32
+
33
+ # info.InstructionNote
34
+
35
+ Instruction files are managed manually. Edit or delete them directly in your project.