@hasna/skills 0.1.25 → 0.1.26
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 +21 -0
- package/bin/index.js +16140 -15610
- package/bin/mcp.js +1 -1
- package/dist/cli/commands/registry.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +14295 -192
- package/dist/lib/config.d.ts +1 -0
- package/dist/lib/registry-sync.d.ts +53 -0
- package/dist/lib/registry.d.ts +1 -1
- package/dist/lib/remote-registry.d.ts +19 -0
- package/dist/lib/skill-validation.d.ts +45 -0
- package/dist/types/api.d.ts +1 -0
- package/package.json +1 -1
- package/skills/scaffold-project/my-app/.env.example +2 -0
- package/skills/scaffold-project/my-app/README.md +72 -0
- package/skills/scaffold-project/my-app/package.json +29 -0
- package/skills/scaffold-project/my-app/src/index.ts +23 -0
- package/skills/scaffold-project/my-app/tsconfig.json +33 -0
package/README.md
CHANGED
|
@@ -76,11 +76,32 @@ skills run image "a cat sitting on a windowsill"
|
|
|
76
76
|
|
|
77
77
|
- `--json` — Output as JSON (pipeable)
|
|
78
78
|
- `--brief` — One-line format
|
|
79
|
+
- `--remote` — Read browse/search data from `SKILLS_API_URL` or `config apiUrl`
|
|
79
80
|
- `--dry-run` — Preview without applying changes
|
|
80
81
|
- `--verbose` — Debug logging to stderr
|
|
81
82
|
- `--no-color` — Disable ANSI colors
|
|
82
83
|
- `-o, --overwrite` — Overwrite existing files during install
|
|
83
84
|
|
|
85
|
+
## Remote Registry Mode
|
|
86
|
+
|
|
87
|
+
Local bundled skills remain the default. To point browse/search commands at a
|
|
88
|
+
compatible hosted registry, set an API base URL:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
export SKILLS_API_URL=https://skills.md/api/v1
|
|
92
|
+
# or persist it:
|
|
93
|
+
skills config set apiUrl https://skills.md/api/v1
|
|
94
|
+
|
|
95
|
+
skills list --remote --json
|
|
96
|
+
skills search transcribe --remote --json
|
|
97
|
+
skills categories --remote
|
|
98
|
+
skills tags --remote --json
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
If the URL is an origin such as `https://skills.md`, the CLI requests
|
|
102
|
+
`/api/v1/skills`. If it already ends in `/api` or `/api/v1`, the CLI appends
|
|
103
|
+
`/skills`.
|
|
104
|
+
|
|
84
105
|
## MCP Server
|
|
85
106
|
|
|
86
107
|
```bash
|