ancoder-skill-cli 0.12.3 → 0.13.1
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
|
@@ -41,6 +41,7 @@ go build -o bin/skill-cli .
|
|
|
41
41
|
| `skill-cli test <path>` | Check that a skill has trigger docs, contract, and eval coverage |
|
|
42
42
|
| `skill-cli verify <path> [--suite smoke]` | Run a machine-readable verification suite end-to-end |
|
|
43
43
|
| `skill-cli generate <name> --desc "..."` | Generate a complete skill using Claude CLI with OMC autopilot (default) |
|
|
44
|
+
| `skill-cli generate <name> --desc "..." --adversarial` | Generate with OMC, then run isolated generator/evaluator contract negotiation and review |
|
|
44
45
|
| `skill-cli install [--no-omc]` | Install ECC components into `~/.claude/` (includes OMC by default) |
|
|
45
46
|
| `skill-cli install --component omc` | Install only the bundled OMC multi-agent orchestration layer |
|
|
46
47
|
|
|
@@ -64,6 +65,21 @@ my-skill/
|
|
|
64
65
|
|
|
65
66
|
`skill-cli verify` executes local code declared by the skill contract, so only run it against trusted skills and repositories.
|
|
66
67
|
|
|
68
|
+
## Adversarial Skill Generation
|
|
69
|
+
|
|
70
|
+
`skill-cli generate --adversarial` adds an independent evaluator pass after the default OMC generation pipeline:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
skill-cli generate pdf-to-md --desc "Convert PDF files to Markdown" --adversarial
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
This mode uses two isolated Claude CLI contexts:
|
|
77
|
+
|
|
78
|
+
- A generator-side `claude -p` process proposes concrete acceptance criteria for the generated skill.
|
|
79
|
+
- An evaluator-side `claude -p` process negotiates the contract, runs `skill-cli validate`, `skill-cli test`, and `skill-cli verify`, and writes `.adversarial/diff-report.json`.
|
|
80
|
+
|
|
81
|
+
The evaluator fails the run when critical issues are found or the score is below `0.80`. Deterministic gate failures are always converted into critical diff items and cap the score below `0.60`.
|
|
82
|
+
|
|
67
83
|
## Publish to npm
|
|
68
84
|
|
|
69
85
|
1. Set `repository.url` in `package.json` to your GitHub repo (e.g. `git+https://github.com/your-org/skill-cli.git`).
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ancoder-skill-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "CLI for managing everything-claude-code (ECC) components — agents, skills, commands, rules, hooks, MCP configs. Single binary, all assets embedded.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"skill-cli": "bin/skill-cli.js"
|