itismyskillmarket 1.3.12 → 1.3.14

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.
package/README.md CHANGED
@@ -44,6 +44,10 @@ skm install brainstorming@1.0.0
44
44
  # Force overwrite if already installed
45
45
  skm install brainstorming --force
46
46
 
47
+ # Install from GitHub
48
+ skm install owner/repo
49
+ skm install https://github.com/owner/repo
50
+
47
51
  # Update a specific skill
48
52
  skm update brainstorming
49
53
 
@@ -64,6 +68,120 @@ skm uninstall brainstorming
64
68
 
65
69
  # Uninstall from specific platform
66
70
  skm uninstall brainstorming --platform opencode
71
+
72
+ # Uninstall all skills
73
+ skm uninstall --all
74
+
75
+ # Publish a skill to npm
76
+ skm publish <skill-name>
77
+ skm publish <skill-name> --version 1.0.1
78
+
79
+ # Verify a skill
80
+ skm verify <skill-name>
81
+
82
+ # Start GUI (web interface)
83
+ skm gui
84
+ skm gui 18790 # Custom port
85
+
86
+ # Admin: manage published skills (read-only)
87
+ skm admin ls # List all published skills
88
+ skm admin info <skill> # View skill details
89
+ skm admin search <keyword> # Search published skills
90
+ skm admin stats # Publishing statistics
91
+ skm admin verify <skill> # Verify published skill
92
+
93
+ # Admin: manage published skills (write operations)
94
+ skm admin deprecate <skill> # Deprecate a skill (--version, --message)
95
+ skm admin unpublish <skill> # Unpublish a skill (--version, --force)
96
+ skm admin tag set <skill> <tag> <v> # Set a dist-tag
97
+ skm admin tag rm <skill> <tag> # Remove a dist-tag
98
+ skm admin tag ls <skill> # List all dist-tags
99
+ skm admin owner add <skill> <user> # Add package maintainer
100
+ skm admin owner rm <skill> <user> # Remove package maintainer
101
+ skm admin access <skill> <level> # Set access (public|restricted)
102
+ ```
103
+
104
+ ## Admin: Cloud Skill Management
105
+
106
+ SkillMarket provides a comprehensive admin command group (`skm admin`) for managing published skills on the npm registry. All write operations use your npm credentials.
107
+
108
+ ### Read-Only Commands
109
+
110
+ | Command | Description |
111
+ |---------|-------------|
112
+ | `skm admin ls` | List all published skills |
113
+ | `skm admin info <skill>` | View full skill details (versions, dist-tags, metadata) |
114
+ | `skm admin search <keyword>` | Search published skills |
115
+ | `skm admin stats` | Publishing statistics dashboard |
116
+ | `skm admin verify <skill>` | Validate published skill structure and metadata |
117
+
118
+ ### Write Operations (Management)
119
+
120
+ | Command | Description |
121
+ |---------|-------------|
122
+ | `skm admin deprecate <skill>` | Mark skill as deprecated (--version, --message) |
123
+ | `skm admin unpublish <skill>` | Remove skill from npm (--version, --force) |
124
+ | `skm admin tag set <skill> <tag> <ver>` | Set a distribution tag (e.g. `beta`, `next`) |
125
+ | `skm admin tag rm <skill> <tag>` | Remove a distribution tag |
126
+ | `skm admin tag ls <skill>` | List all distribution tags |
127
+ | `skm admin owner add <skill> <user>` | Add an npm user as package maintainer |
128
+ | `skm admin owner rm <skill> <user>` | Remove a package maintainer |
129
+ | `skm admin access <skill> <level>` | Set package visibility (public\|restricted) |
130
+
131
+ ### Admin Examples
132
+
133
+ ```bash
134
+ # Deprecate a skill with custom message
135
+ skm admin deprecate brainstorming --message "Use v2 instead"
136
+
137
+ # Unpublish a specific version
138
+ skm admin unpublish my-skill --version 1.0.0
139
+
140
+ # Unpublish entire package (requires --force)
141
+ skm admin unpublish my-skill --force
142
+
143
+ # Manage dist-tags
144
+ skm admin tag set my-skill beta 2.0.0-beta.1
145
+ skm admin tag ls my-skill
146
+ skm admin tag rm my-skill beta
147
+
148
+ # Manage maintainers
149
+ skm admin owner add my-skill collaborator-npm-username
150
+ skm admin owner rm my-skill old-maintainer
151
+
152
+ # Set package to private
153
+ skm admin access my-skill restricted
154
+ ```
155
+
156
+ ### GUI Admin Dashboard
157
+
158
+ The `skm gui` web interface includes an **Admin** view with:
159
+ - **Statistics cards**: Published skills, total/average versions, metadata coverage, total size, platform coverage
160
+ - **Skill management list**: All published skills with inline actions for deprecate, unpublish, tag, owner, and access management
161
+ - **Modal dialogs**: Confirmation dialogs for each management operation
162
+
163
+ ```bash
164
+ # Start GUI and navigate to Admin view
165
+ skm gui
166
+ ```
167
+
168
+ ## Environment Variables
169
+
170
+ SkillMarket reads configuration from environment variables:
171
+
172
+ | Variable | Default | Description |
173
+ |----------|---------|-------------|
174
+ | `SKM_NPM_SCOPE` | `@itismyskillmarket` | Primary npm scope for publishing/lookup |
175
+ | `SKM_NPM_SCOPE_FALLBACK` | `@wanxuchen` | Fallback scope (backward compatibility) |
176
+ | `SKM_NPM_SCOPES` | (5 scopes) | Comma-separated list of scopes to search |
177
+ | `SKM_NPM_REGISTRY` | `https://registry.npmjs.org` | npm registry URL |
178
+ | `SKM_URL` | `https://www.npmjs.com/package/@itismyskillmarket` | Personal link prefix for `skm publish` output |
179
+
180
+ Example:
181
+ ```bash
182
+ export SKM_NPM_SCOPE=@mycompany
183
+ export SKM_URL=https://my-registry.example.com
184
+ skm publish my-skill # → View at: https://my-registry.example.com/my-skill
67
185
  ```
68
186
 
69
187
  ## Cross-Platform Installation