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,92 @@
1
+ # summary
2
+
3
+ List all AI development artifacts in your project.
4
+
5
+ # description
6
+
7
+ Display a unified view of all agents, skills, prompts, and instruction files. Artifacts are grouped by type with checkboxes indicating installation status:
8
+
9
+ - Checked box (checked) - artifact exists locally
10
+ - Unchecked box (unchecked) - artifact is available from source but not installed
11
+
12
+ In interactive mode (TTY), use arrow keys to navigate and Escape to exit. Press Enter on an artifact to toggle its inline description display - the description will be fetched from the source and shown in grey below the item.
13
+
14
+ Merges artifacts found locally with those available from configured source repositories.
15
+
16
+ # flags.source.summary
17
+
18
+ Filter available artifacts by source repository.
19
+
20
+ # examples
21
+
22
+ - List all artifacts:
23
+
24
+ <%= config.bin %> <%= command.id %>
25
+
26
+ - List artifacts 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 artifact (use arrow keys, Enter to select, Escape to exit):
37
+
38
+ # prompt.Action
39
+
40
+ Select an action:
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
+ # info.CannotInstallInstruction
59
+
60
+ Instruction files cannot be installed from sources. Create them manually in your project.
61
+
62
+ # info.CannotRemoveInstruction
63
+
64
+ Instruction files are managed manually. Delete the file directly if you want to remove it.
65
+
66
+ # warning.SourceFailed
67
+
68
+ Failed to fetch artifacts from source "%s": %s
69
+
70
+ # warning.InstallFailed
71
+
72
+ Failed to install "%s": %s
73
+
74
+ # warning.RemoveFailed
75
+
76
+ Failed to remove "%s": %s
77
+
78
+ # info.FetchingDetails
79
+
80
+ Fetching artifact details from source...
81
+
82
+ # info.NoSourceForDetails
83
+
84
+ No source repository configured for this artifact.
85
+
86
+ # warning.FailedToFetchDetails
87
+
88
+ Could not fetch artifact details: %s
89
+
90
+ # info.NoArtifacts
91
+
92
+ No artifacts found. Add a source repository with 'sf aidev source add' to see available artifacts.
@@ -0,0 +1,76 @@
1
+ # summary
2
+
3
+ List skill artifacts in your project.
4
+
5
+ # description
6
+
7
+ Display all skills with checkboxes indicating installation status:
8
+
9
+ - Checked box (checked) - skill exists locally
10
+ - Unchecked box (unchecked) - skill 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 skills found locally with those available from configured source repositories.
15
+
16
+ # flags.source.summary
17
+
18
+ Filter available skills by source repository.
19
+
20
+ # examples
21
+
22
+ - List all skills:
23
+
24
+ <%= config.bin %> <%= command.id %>
25
+
26
+ - List skills 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 a skill (use arrow keys, Enter to select, Escape to exit):
37
+
38
+ # info.NoSkills
39
+
40
+ No skills 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 skills 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 skill details from source...
73
+
74
+ # warning.FailedToFetchDetails
75
+
76
+ Could not fetch skill details: %s
@@ -0,0 +1,45 @@
1
+ # summary
2
+
3
+ Remove an installed agent.
4
+
5
+ # description
6
+
7
+ Remove a previously installed agent from your project. The agent files will be deleted and unregistered from the sf-aidev configuration. By default, a confirmation prompt is shown before removal.
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the agent to remove.
12
+
13
+ # flags.no-prompt.summary
14
+
15
+ Skip the confirmation prompt.
16
+
17
+ # examples
18
+
19
+ - Remove an agent named "my-agent":
20
+
21
+ <%= config.bin %> <%= command.id %> --name my-agent
22
+
23
+ - Remove without confirmation:
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-agent --no-prompt
26
+
27
+ # prompt.ConfirmRemove
28
+
29
+ Are you sure you want to remove agent "%s"?
30
+
31
+ # error.NotInstalled
32
+
33
+ Agent "%s" is not installed.
34
+
35
+ # error.RemoveFailed
36
+
37
+ Failed to remove agent "%s": %s
38
+
39
+ # info.AgentRemoved
40
+
41
+ Successfully removed agent "%s".
42
+
43
+ # info.Cancelled
44
+
45
+ Removal cancelled.
@@ -0,0 +1,45 @@
1
+ # summary
2
+
3
+ Remove an installed command.
4
+
5
+ # description
6
+
7
+ Remove a command that was previously installed. By default, prompts for confirmation before removing. Use --no-prompt to skip the confirmation.
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the command to remove.
12
+
13
+ # flags.no-prompt.summary
14
+
15
+ Skip confirmation prompt before removing.
16
+
17
+ # examples
18
+
19
+ - Remove a command:
20
+
21
+ <%= config.bin %> <%= command.id %> --name my-command
22
+
23
+ - Remove without confirmation:
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-command --no-prompt
26
+
27
+ # error.NotInstalled
28
+
29
+ Command "%s" is not installed.
30
+
31
+ # error.RemoveFailed
32
+
33
+ Failed to remove command "%s": %s
34
+
35
+ # info.CommandRemoved
36
+
37
+ Successfully removed command "%s"
38
+
39
+ # info.Cancelled
40
+
41
+ Command removal cancelled.
42
+
43
+ # prompt.ConfirmRemove
44
+
45
+ Are you sure you want to remove command "%s"?
@@ -0,0 +1,57 @@
1
+ # summary
2
+
3
+ Interactively select and remove installed artifacts.
4
+
5
+ # description
6
+
7
+ Browse all installed artifacts grouped by category (Agents, Skills, Prompts) and select multiple items to remove at once. This command requires an interactive terminal; for non-interactive use, use the subcommands: `sf aidev remove skill --name X`, `sf aidev remove agent --name X`, or `sf aidev remove prompt --name X`.
8
+
9
+ # flags.no-prompt.summary
10
+
11
+ Disable interactive mode. This flag is not supported for the parent command; use subcommands instead.
12
+
13
+ # examples
14
+
15
+ - Interactively select artifacts to remove:
16
+
17
+ <%= config.bin %> <%= command.id %>
18
+
19
+ # prompt.Select
20
+
21
+ Select artifacts to remove (use Space to select, Enter to confirm, Escape to cancel):
22
+
23
+ # prompt.Confirm
24
+
25
+ Remove %s artifact(s)? This action cannot be undone.
26
+
27
+ # error.NonInteractive
28
+
29
+ This command requires an interactive terminal.
30
+
31
+ # error.NonInteractiveActions
32
+
33
+ Use subcommands for non-interactive mode: `sf aidev remove skill --name X`, `sf aidev remove agent --name X`, or `sf aidev remove prompt --name X`.
34
+
35
+ # info.NoArtifacts
36
+
37
+ No installed artifacts found.
38
+
39
+ # info.NoneSelected
40
+
41
+ No artifacts selected for removal.
42
+
43
+ # info.Cancelled
44
+
45
+ Removal cancelled.
46
+
47
+ # info.Removing
48
+
49
+ Removing %s artifact(s)...
50
+
51
+ # info.Removed
52
+
53
+ Successfully removed %s artifact(s):
54
+
55
+ # warning.Failed
56
+
57
+ Failed to remove %s artifact(s):
@@ -0,0 +1,45 @@
1
+ # summary
2
+
3
+ Remove an installed prompt.
4
+
5
+ # description
6
+
7
+ Remove a previously installed prompt from your project. The prompt file will be deleted and unregistered from the sf-aidev configuration. By default, a confirmation prompt is shown before removal.
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the prompt to remove.
12
+
13
+ # flags.no-prompt.summary
14
+
15
+ Skip the confirmation prompt.
16
+
17
+ # examples
18
+
19
+ - Remove a prompt named "my-prompt":
20
+
21
+ <%= config.bin %> <%= command.id %> --name my-prompt
22
+
23
+ - Remove without confirmation:
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-prompt --no-prompt
26
+
27
+ # prompt.ConfirmRemove
28
+
29
+ Are you sure you want to remove prompt "%s"?
30
+
31
+ # error.NotInstalled
32
+
33
+ Prompt "%s" is not installed.
34
+
35
+ # error.RemoveFailed
36
+
37
+ Failed to remove prompt "%s": %s
38
+
39
+ # info.PromptRemoved
40
+
41
+ Successfully removed prompt "%s".
42
+
43
+ # info.Cancelled
44
+
45
+ Removal cancelled.
@@ -0,0 +1,45 @@
1
+ # summary
2
+
3
+ Remove an installed skill.
4
+
5
+ # description
6
+
7
+ Remove a previously installed skill from your project. The skill file will be deleted and unregistered from the sf-aidev configuration. By default, a confirmation prompt is shown before removal.
8
+
9
+ # flags.name.summary
10
+
11
+ Name of the skill to remove.
12
+
13
+ # flags.no-prompt.summary
14
+
15
+ Skip the confirmation prompt.
16
+
17
+ # examples
18
+
19
+ - Remove a skill named "my-skill":
20
+
21
+ <%= config.bin %> <%= command.id %> --name my-skill
22
+
23
+ - Remove without confirmation:
24
+
25
+ <%= config.bin %> <%= command.id %> --name my-skill --no-prompt
26
+
27
+ # prompt.ConfirmRemove
28
+
29
+ Are you sure you want to remove skill "%s"?
30
+
31
+ # error.NotInstalled
32
+
33
+ Skill "%s" is not installed.
34
+
35
+ # error.RemoveFailed
36
+
37
+ Failed to remove skill "%s": %s
38
+
39
+ # info.SkillRemoved
40
+
41
+ Successfully removed skill "%s".
42
+
43
+ # info.Cancelled
44
+
45
+ Removal cancelled.
@@ -0,0 +1,65 @@
1
+ # summary
2
+
3
+ Add a new source repository.
4
+
5
+ # description
6
+
7
+ Adds a new GitHub repository as a source for AI artifacts. The repository should contain a `manifest.json` file at the root. If no manifest is found, the CLI will attempt to auto-discover artifacts from well-known paths (e.g., `.claude/`, `.github/`, `agents/`, `skills/`, `prompts/`).
8
+
9
+ # args.repo.summary
10
+
11
+ GitHub repository in owner/repo format.
12
+
13
+ # flags.repo.summary
14
+
15
+ GitHub repository in owner/repo format.
16
+
17
+ # flags.set-default.summary
18
+
19
+ Set this source as the default.
20
+
21
+ # examples
22
+
23
+ - Add a new source repository:
24
+
25
+ <%= config.bin %> <%= command.id %> owner/repo
26
+
27
+ - Add a source and set it as default:
28
+
29
+ <%= config.bin %> <%= command.id %> owner/repo --set-default
30
+
31
+ - Using the --repo flag (alternative syntax):
32
+
33
+ <%= config.bin %> <%= command.id %> --repo owner/repo
34
+
35
+ # error.InvalidRepoFormat
36
+
37
+ Invalid repository format "%s". Use owner/repo format.
38
+
39
+ # error.SourceAlreadyExists
40
+
41
+ Source repository "%s" is already configured.
42
+
43
+ # error.ManifestNotFound
44
+
45
+ Could not find a valid manifest in repository "%s". Ensure the repository contains a manifest.json file.
46
+
47
+ # info.SourceAdded
48
+
49
+ Successfully added source "%s" with %s artifacts available.
50
+
51
+ # info.SetAsDefault
52
+
53
+ Source "%s" has been set as the default.
54
+
55
+ # error.RepoRequired
56
+
57
+ Repository is required. Provide it as a positional argument or use the --repo flag.
58
+
59
+ # info.AutoDiscovered
60
+
61
+ No manifest.json found in "%s". Auto-discovered %s artifacts from well-known paths.
62
+
63
+ # error.NoArtifactsDiscovered
64
+
65
+ No manifest.json found and no artifacts discovered in well-known paths in repository "%s".
@@ -0,0 +1,21 @@
1
+ # summary
2
+
3
+ List all configured source repositories.
4
+
5
+ # description
6
+
7
+ Lists all source repositories configured for artifact installation. Shows the repository name, whether it is the default source, and when it was added.
8
+
9
+ # examples
10
+
11
+ - List all configured sources:
12
+
13
+ <%= config.bin %> <%= command.id %>
14
+
15
+ - List sources with JSON output:
16
+
17
+ <%= config.bin %> <%= command.id %> --json
18
+
19
+ # info.NoSources
20
+
21
+ No source repositories configured. Use "sf aidev source add --repo <owner/repo>" to add one.
@@ -0,0 +1,71 @@
1
+ # summary
2
+
3
+ Refresh cached manifests for source repositories.
4
+
5
+ # description
6
+
7
+ Re-fetches manifests from configured source repositories and updates the local disk cache. For repositories without a manifest.json, re-runs auto-discovery to find artifacts in well-known paths.
8
+
9
+ Use this command when source repositories have been updated and you want to fetch the latest artifact information without removing and re-adding the source.
10
+
11
+ # args.repo.summary
12
+
13
+ GitHub repository in owner/repo format to refresh. If omitted, refreshes all configured sources.
14
+
15
+ # flags.repo.summary
16
+
17
+ GitHub repository in owner/repo format to refresh.
18
+
19
+ # examples
20
+
21
+ - Refresh all configured sources:
22
+
23
+ <%= config.bin %> <%= command.id %>
24
+
25
+ - Refresh a specific source:
26
+
27
+ <%= config.bin %> <%= command.id %> owner/repo
28
+
29
+ - Using the --repo flag:
30
+
31
+ <%= config.bin %> <%= command.id %> --repo owner/repo
32
+
33
+ # error.RepoNotConfigured
34
+
35
+ Source repository "%s" is not configured. Add it first with `sf aidev source add`.
36
+
37
+ # error.NoSourcesConfigured
38
+
39
+ No source repositories configured. Add one with `sf aidev source add owner/repo`.
40
+
41
+ # info.RefreshingAll
42
+
43
+ Refreshing %s source repositories...
44
+
45
+ # info.RefreshingSingle
46
+
47
+ Refreshing manifest for "%s"...
48
+
49
+ # info.RefreshSuccess
50
+
51
+ Successfully refreshed "%s" - %s artifacts found.
52
+
53
+ # info.RefreshSuccessAutoDiscovered
54
+
55
+ Successfully refreshed "%s" - %s artifacts auto-discovered from well-known paths.
56
+
57
+ # info.RefreshFailed
58
+
59
+ Failed to refresh "%s": %s
60
+
61
+ # info.Summary
62
+
63
+ Refreshed %s of %s sources successfully.
64
+
65
+ # info.CacheStale
66
+
67
+ Cache for "%s" is stale (older than 1 week).
68
+
69
+ # info.NoChanges
70
+
71
+ No changes detected in "%s".
@@ -0,0 +1,57 @@
1
+ # summary
2
+
3
+ Remove a configured source repository.
4
+
5
+ # description
6
+
7
+ Removes a source repository from the configuration. If the source is currently set as the default, a new default will be automatically selected from the remaining sources.
8
+
9
+ # args.repo.summary
10
+
11
+ GitHub repository in owner/repo format to remove.
12
+
13
+ # flags.repo.summary
14
+
15
+ GitHub repository in owner/repo format to remove.
16
+
17
+ # flags.no-prompt.summary
18
+
19
+ Skip the confirmation prompt.
20
+
21
+ # examples
22
+
23
+ - Remove a source repository:
24
+
25
+ <%= config.bin %> <%= command.id %> owner/repo
26
+
27
+ - Remove without confirmation:
28
+
29
+ <%= config.bin %> <%= command.id %> owner/repo --no-prompt
30
+
31
+ - Using the --repo flag (alternative syntax):
32
+
33
+ <%= config.bin %> <%= command.id %> --repo owner/repo
34
+
35
+ # error.SourceNotFound
36
+
37
+ Source repository "%s" is not configured.
38
+
39
+ # prompt.ConfirmRemove
40
+
41
+ Are you sure you want to remove source "%s"?
42
+
43
+ # info.Cancelled
44
+
45
+ Operation cancelled.
46
+
47
+ # info.SourceRemoved
48
+
49
+ Successfully removed source "%s".
50
+
51
+ # info.NewDefaultSet
52
+
53
+ Source "%s" is now set as the default.
54
+
55
+ # error.RepoRequired
56
+
57
+ Repository is required. Provide it as a positional argument or use the --repo flag.
@@ -0,0 +1,41 @@
1
+ # summary
2
+
3
+ Set a source repository as the default.
4
+
5
+ # description
6
+
7
+ Sets the specified source repository as the default for artifact installation. The source must already be configured.
8
+
9
+ # args.repo.summary
10
+
11
+ GitHub repository in owner/repo format to set as default.
12
+
13
+ # flags.repo.summary
14
+
15
+ GitHub repository in owner/repo format to set as default.
16
+
17
+ # examples
18
+
19
+ - Set a source as the default:
20
+
21
+ <%= config.bin %> <%= command.id %> owner/repo
22
+
23
+ - Using the --repo flag (alternative syntax):
24
+
25
+ <%= config.bin %> <%= command.id %> --repo owner/repo
26
+
27
+ - Using short flag:
28
+
29
+ <%= config.bin %> <%= command.id %> -r owner/repo
30
+
31
+ # error.SourceNotConfigured
32
+
33
+ Source repository "%s" is not configured. Add it first with "sf aidev source add".
34
+
35
+ # info.DefaultSet
36
+
37
+ Source "%s" is now set as the default.
38
+
39
+ # error.RepoRequired
40
+
41
+ Repository is required. Provide it as a positional argument or use the --repo flag.
@@ -0,0 +1,3 @@
1
+ {
2
+ "commands": {}
3
+ }