ancoder-skill-cli 0.5.1 → 0.5.3

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
@@ -35,10 +35,32 @@ go build -o bin/skill-cli .
35
35
 
36
36
  | Command | Description |
37
37
  |--------|-------------|
38
- | `skill-cli validate <path>` | Validate a skill directory's SKILL.md |
38
+ | `skill-cli validate <path>` | Validate `SKILL.md`, `skill.contract.yaml`, and `evals/*.yaml` |
39
39
  | `skill-cli list [--path <dir>]` | List installed skills |
40
- | `skill-cli create <name> [--path <dir>]` | Create a new skill scaffold |
41
- | `skill-cli test <path>` | Test a skill (placeholder) |
40
+ | `skill-cli create <name> [--path <dir>]` | Create a skill scaffold with contract and smoke eval templates |
41
+ | `skill-cli test <path>` | Check that a skill has trigger docs, contract, and eval coverage |
42
+ | `skill-cli verify <path> [--suite smoke]` | Run a machine-readable verification suite end-to-end |
43
+ | `skill-cli generate <name> --desc "..."` | Generate a complete skill using Claude CLI (create → implement → verify) |
44
+
45
+ ## Machine-Readable Skill Layout
46
+
47
+ Task-oriented skills can now include a deterministic verification harness:
48
+
49
+ ```text
50
+ my-skill/
51
+ ├── SKILL.md
52
+ ├── skill.contract.yaml
53
+ ├── evals/
54
+ │ └── smoke.yaml
55
+ ├── fixtures/
56
+ └── scripts/
57
+ ```
58
+
59
+ - `skill.contract.yaml` defines the executable contract: entrypoint, inputs, outputs, invariants, and datasets.
60
+ - `evals/*.yaml` defines runnable verification suites with deterministic checks like file existence, required content, and JSON assertions.
61
+ - `skill-cli verify` materializes fixture data into a temp workspace, runs the skill entrypoint, and enforces the declared checks.
62
+
63
+ `skill-cli verify` executes local code declared by the skill contract, so only run it against trusted skills and repositories.
42
64
 
43
65
  ## Publish to npm
44
66
 
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.5.1",
3
+ "version": "0.5.3",
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"