@dzhechkov/harness-cli 0.3.15 → 0.3.17
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 +155 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,15 +8,113 @@ The **`dz`** CLI — the main entry point to the DZ Harness Hub. Install AI skil
|
|
|
8
8
|
npm install -g @dzhechkov/harness-cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## User Journey — from install to mastery
|
|
12
|
+
|
|
13
|
+
All 23 commands mapped to a real workflow:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
DISCOVER → INSTALL → USE → CREATE → IMPROVE → SHARE
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Phase 1: Discover (what's available?)
|
|
12
20
|
|
|
13
21
|
```bash
|
|
14
|
-
|
|
15
|
-
|
|
22
|
+
npm install -g @dzhechkov/harness-cli # install the CLI
|
|
23
|
+
|
|
24
|
+
dz help # see all commands
|
|
25
|
+
dz stats # 28 packages, 59 skills, 5 targets, 10 presets
|
|
26
|
+
dz dashboard # visual panel — packages, adapters, skill packs
|
|
27
|
+
dz registry # browse all 59 skills by category
|
|
28
|
+
dz registry search kubernetes # find specific skills
|
|
29
|
+
dz registry --category devops # filter by domain
|
|
30
|
+
dz downloads # npm weekly download stats
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Phase 2: Install (set up your workspace)
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Pick a target platform + preset:
|
|
37
|
+
dz init --target claude-code --preset devops # 20 DevOps skills
|
|
38
|
+
dz init --target openclaude --preset web3 # 12 DeFi skills for OpenClaude
|
|
39
|
+
dz init --target codex --preset mcp # 10 MCP skills for Codex
|
|
40
|
+
|
|
41
|
+
# Or pick individual skills:
|
|
42
|
+
dz init --target claude-code --select terraform,kubernetes,docker-compose
|
|
43
|
+
|
|
44
|
+
# Or install from any npm package:
|
|
45
|
+
dz install @dzhechkov/skills-devops # npm install + copy skills
|
|
46
|
+
|
|
47
|
+
# Verify everything is correct:
|
|
48
|
+
dz verify # structural validation
|
|
49
|
+
dz doctor # 7 health checks
|
|
50
|
+
dz list # show installed skills
|
|
51
|
+
dz info --id terraform # detailed info about a skill
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Phase 3: Use (work with your agent)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Now use Claude Code / Codex / OpenCode / Hermes normally.
|
|
58
|
+
# Skills are auto-discovered from the platform's skills directory.
|
|
59
|
+
# Example in Claude Code:
|
|
60
|
+
# "Review this PR" → pr-review skill activates
|
|
61
|
+
# "Design an API" → api-design skill activates
|
|
62
|
+
# "Fix this CI" → ci-fix skill activates
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Phase 4: Create (build your own skills)
|
|
16
66
|
|
|
17
|
-
|
|
67
|
+
```bash
|
|
68
|
+
# Scaffold a new skill:
|
|
69
|
+
dz create-skill --name my-skill --description "What it does" --tier 2
|
|
70
|
+
|
|
71
|
+
# With BTO-compatible eval templates:
|
|
72
|
+
dz create-skill --name my-skill --bto
|
|
73
|
+
|
|
74
|
+
# Benchmark your skill (aim for Grade A):
|
|
75
|
+
dz benchmark .claude/skills/my-skill # single skill — 19 L0 checks
|
|
76
|
+
dz benchmark packages/@dzhechkov/skills-devops --all # batch all
|
|
77
|
+
dz benchmark skill-a --compare skill-b # A/B compare
|
|
78
|
+
|
|
79
|
+
# Find skills to canonicalize from the ecosystem:
|
|
80
|
+
dz scout # scan 9 sources (GitHub, npm, HN, ...)
|
|
81
|
+
dz scout --deep # deep analysis with SKILL.md parsing
|
|
82
|
+
dz auto-canonicalize --source github.com/user/repo --pack packages/@dzhechkov/skills-devops
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Phase 5: Maintain (keep skills fresh)
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
# Check for upstream changes (canonicalized skills):
|
|
89
|
+
dz sync-upstream --package packages/@dzhechkov/skills-devops
|
|
90
|
+
|
|
91
|
+
# Check installed skills vs canonical:
|
|
92
|
+
dz upgrade # shows which skills need update
|
|
93
|
+
dz upgrade --target openclaude # check specific platform
|
|
94
|
+
|
|
95
|
+
# Sync canonical to legacy layout:
|
|
96
|
+
dz sync # canonical → project skills
|
|
97
|
+
dz migrate # detect legacy installations
|
|
98
|
+
|
|
99
|
+
# Orchestrate dynamic workflows:
|
|
100
|
+
dz workflow --task coverage-lift # parallel coverage improvement
|
|
101
|
+
dz workflow --task security-audit # adversarial security scan
|
|
102
|
+
|
|
103
|
+
# Cross-host state sync:
|
|
104
|
+
dz roam --apply # sync agent state across machines
|
|
18
105
|
```
|
|
19
106
|
|
|
107
|
+
### Phase 6: Share (publish to the world)
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Publish updated packages to npm:
|
|
111
|
+
dz publish --dry-run # preview
|
|
112
|
+
dz publish --filter skills-devops # publish specific package
|
|
113
|
+
dz publish # publish all changed packages
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
20
118
|
## Presets vs Individual Skills
|
|
21
119
|
|
|
22
120
|
| Approach | When to use | Example |
|
|
@@ -55,11 +153,12 @@ npx @dzhechkov/skills-analyst-manual init # 3-phase analyst composite
|
|
|
55
153
|
|
|
56
154
|
**Difference:** `dz init --preset` installs individual skills from `.claude/skills/` source into a target platform tree. Standalone `npx` packages have their own CLI and install a complete toolkit with commands, rules, shards, and agents — a richer but self-contained experience.
|
|
57
155
|
|
|
58
|
-
## All Commands (
|
|
156
|
+
## All Commands (23)
|
|
59
157
|
|
|
60
158
|
```
|
|
61
159
|
dz init --target <name> [--preset <name>] [--select id,id,...] [--force]
|
|
62
160
|
dz install <npm-pkg> [--target <name>] [--project <dir>]
|
|
161
|
+
dz upgrade [--target <name>] [--project <dir>]
|
|
63
162
|
dz verify [--skills-dir <dir>] [--target <name>]
|
|
64
163
|
dz sync [--canonical <dir>] [--project <dir>] [--dry-run] [--force]
|
|
65
164
|
dz update (alias for sync)
|
|
@@ -73,6 +172,7 @@ dz auto-canonicalize --source <github-url> --pack <skills-pack>
|
|
|
73
172
|
dz sync-upstream [--package <dir>]
|
|
74
173
|
dz scout [--topics <list>] [--since <date>] [--deep]
|
|
75
174
|
dz workflow --task <name> [--dry-run]
|
|
175
|
+
dz downloads
|
|
76
176
|
dz migrate [--project <dir>]
|
|
77
177
|
dz stats
|
|
78
178
|
dz dashboard
|
|
@@ -190,6 +290,55 @@ dz sync-upstream --package packages/@dzhechkov/skills-devops
|
|
|
190
290
|
|
|
191
291
|
Reads `sources.json` in the package, fetches SKILL.md from origin repos, reports which skills have changed. Useful for keeping canonicalized skills in sync with their sources.
|
|
192
292
|
|
|
293
|
+
### dz upgrade — check installed skills for updates
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
dz upgrade # check .claude/skills/ against canonical
|
|
297
|
+
dz upgrade --target openclaude # check .openclaude/skills/
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Compares installed skills with canonical source, reports which need `dz init --force` to update.
|
|
301
|
+
|
|
302
|
+
### dz downloads — npm weekly download stats
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
dz downloads # fetch weekly downloads for all 28 packages
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### dz benchmark — L0 quality gate
|
|
309
|
+
|
|
310
|
+
```bash
|
|
311
|
+
dz benchmark packages/@dzhechkov/skills-devops/terraform # single skill
|
|
312
|
+
dz benchmark packages/@dzhechkov/skills-devops --all # batch all
|
|
313
|
+
dz benchmark skill-a --compare skill-b # A/B compare
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
19 deterministic checks (U1-U5 universal + S1-S14 skill-specific). Grade A = 95%+. For L1/L2 LLM judges, use `/bto-test` inside Claude Code.
|
|
317
|
+
|
|
318
|
+
### dz publish — automated npm publish
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
dz publish --dry-run # preview what would publish
|
|
322
|
+
dz publish --filter skills-devops # publish specific package
|
|
323
|
+
dz publish --filter skills-devops --bump-only # bump version only, no publish
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
### dz auto-canonicalize — discover skills in GitHub repos
|
|
327
|
+
|
|
328
|
+
```bash
|
|
329
|
+
dz auto-canonicalize --source github.com/user/repo --pack packages/@dzhechkov/skills-devops
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
Scans a GitHub repo for SKILL.md files, generates `dz create-skill` commands.
|
|
333
|
+
|
|
334
|
+
### dz registry — searchable skill index
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
dz registry # visual panel: 59 skills in 5 categories
|
|
338
|
+
dz registry search security # fuzzy search
|
|
339
|
+
dz registry --category mcp # filter by category
|
|
340
|
+
```
|
|
341
|
+
|
|
193
342
|
### dz stats + dz dashboard
|
|
194
343
|
|
|
195
344
|
```bash
|
|
@@ -375,4 +524,4 @@ npx @dzhechkov/p-replicator init
|
|
|
375
524
|
|
|
376
525
|
## Status
|
|
377
526
|
|
|
378
|
-
`v0.3.
|
|
527
|
+
`v0.3.17` — published on npm. Part of [DZ Harness Hub](https://github.com/djd1m/dz-harness-hub).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzhechkov/harness-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "The dz CLI — install AI skills for Claude Code, Codex, OpenCode, Hermes. 11 commands, 7 presets, 4 platform adapters.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@dzhechkov/harness-core": "0.3.7",
|
|
38
|
-
"@dzhechkov/
|
|
39
|
-
"@dzhechkov/
|
|
38
|
+
"@dzhechkov/harness-presets": "0.2.6",
|
|
39
|
+
"@dzhechkov/scout": "0.7.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^25.6.0",
|