@ssheleg/make-skill 0.21.0 → 0.22.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.22.0 — the gate left 47 MB in $TMPDIR and never said what it left
4
+
5
+ **Two suites copied the tree to plant defects into it and never removed the copy.** The
6
+ conformance audit named one; the sweep found the other, and it was the larger half by two
7
+ orders of magnitude. Measured on this machine at the time of the fix: **1904 abandoned
8
+ mkdtemp roots, 47.3 MB** — 60 planted skill dirs and 36 repo copytrees unambiguously this
9
+ repository's, and 1808 plant-guard trees ambiguous, because four family repos ship the
10
+ byte-identical fixture at the same line and nothing in the content distinguishes them.
11
+
12
+ ### `test/residue.py`
13
+
14
+ A shared ledger in this repo's `plant_guard.py` idiom: `workspace()` hands out a
15
+ `make-skill-test-` prefixed mkdtemp, `open_case` / `close_case` bind each tree to a case,
16
+ and `report()` — wired to `atexit`, so no exit path skips it — removes what may go, keeps
17
+ what a failure needs, and **prints one line either way**. A clean run says
18
+ `residue: this run left nothing — N temp tree(s) created, N removed`, because the
19
+ requirement is that completion *records* residue, not merely that there is none. A leak is
20
+ then visible the first time the line changes.
21
+
22
+ **The failure path keeps its tree, by decision and stated in three places.** A planted
23
+ defect here is debugged by reading the copy the plant landed in, and a cleanup that runs
24
+ only on the pass path removes the evidence exactly when you want it. The report names the
25
+ kept path, its owning case, and the `rm -rf` that ends it — a kept tree with no stated
26
+ remedy is a leak with better manners. A tree that refuses to delete is counted as **kept**,
27
+ never as removed: the report does not claim a teardown it did not achieve.
28
+
29
+ `test/residue_test.py` joins the gate with 8 cases, including the one that matters — stash
30
+ the two fixes and it exits 1 naming both suites, then prints
31
+ `residue: 2 of 2 temp tree(s) KEPT` with both paths. The failure path demonstrating itself.
32
+
33
+ ### Not swept
34
+
35
+ The 1904 pre-existing directories were **left in place** and reported. Ownership of 1808
36
+ of them cannot be established from their contents, and deleting state you cannot prove is
37
+ yours is the one thing this kind of cleanup must not do.
38
+
3
39
  ## v0.21.0 — a gate's self-test runs in both directions
4
40
 
5
41
  *"A validator that can't fail is decoration"* has been the rule here since the standard was
package/README.md CHANGED
@@ -261,10 +261,13 @@ plugins/make-skill/
261
261
  cursor/rules/make-skill.mdc # self-contained Cursor rule
262
262
  bin/make-skill.js + package.json # zero-dep npx installer
263
263
  test/validate.py # structural validator
264
+ test/{plant_guard,checker_parity,residue}_test.py # the gate's three suites
265
+ test/{plant_guard,residue}.py # did the plant land · what did the run leave
264
266
  test/evals/ # trigger set + behavioral scenarios (data)
265
267
  .github/workflows/{validate,release}.yml
266
268
  install.sh README.md CHANGELOG.md CONTRIBUTING.md SECURITY.md SKILL-CARD.md LICENSE
267
269
  docs/evidence/{specs,plans}/ # historical design records
270
+ docs/evidence/{backlog,verification}.md # what is owed · what confirmed what
268
271
  ```
269
272
 
270
273
  ## Contributing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssheleg/make-skill",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Create, retrofit, audit, and ship agent skills & Claude Code plugins the proven ssheleg way — conformance to the Agent Skills open standard AND Anthropic's platform rules (front-matter limits, disclosure budgets, per-surface runtime limits, the Skills API, evals) plus the Claude Code plugin reference (manifest schemas, component layout, claude plugin validate --strict), marketplace repo layout, version sync, validator + CI, multi-channel distribution (plugin, vercel skills CLI, npx, Cursor), npm gotchas, the review checklist for third-party skills, and MCP / A2A rules for protocol-connected skills. This package is the installer CLI.",
5
5
  "keywords": [
6
6
  "skill",
@@ -45,6 +45,6 @@
45
45
  "node": ">=16"
46
46
  },
47
47
  "scripts": {
48
- "test": "python3 test/validate.py && python3 test/plant_guard_test.py && python3 test/checker_parity_test.py"
48
+ "test": "python3 test/validate.py && python3 test/plant_guard_test.py && python3 test/checker_parity_test.py && python3 test/residue_test.py"
49
49
  }
50
50
  }
@@ -3,7 +3,7 @@
3
3
  "name": "make-skill",
4
4
  "displayName": "Make Skill",
5
5
  "description": "Create, retrofit, audit, and ship agent skills & Claude Code plugins the proven ssheleg way: conformance to the Agent Skills open standard, Anthropic's platform rules (surfaces, Skills API, evals) and the Claude Code plugin reference, marketplace repo layout, version sync, validator + CI, multi-channel distribution (plugin, vercel skills CLI, npx, Cursor), npm gotchas, end-to-end first publish, the review checklist for third-party skills, plus MCP / A2A references for protocol-connected skills.",
6
- "version": "0.21.0",
6
+ "version": "0.22.0",
7
7
  "author": {
8
8
  "name": "ssheleg",
9
9
  "url": "https://x.com/sshlg93"
@@ -5,7 +5,7 @@ license: MIT
5
5
  compatibility: Authoring works on any agent. The bundled scripts/ need python3. Publishing steps need git, gh, node and npm; the plugin gates need the claude CLI. Not usable on the Claude API surface, which has no network and no runtime package install.
6
6
  metadata:
7
7
  author: ssheleg
8
- version: "0.21.0"
8
+ version: "0.22.0"
9
9
  homepage: https://github.com/ssheleg/make-skill
10
10
  ---
11
11