@ssheleg/make-skill 0.15.0 → 0.16.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,31 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.16.0
4
+
5
+ ### Changed
6
+
7
+ - **The installer now offers the family's routing block** (closing B-06 in the
8
+ umbrella). Until now only `super-ux` delegated: install this skill on its own
9
+ and no router was written at all, so an agent had the skill and no rule saying
10
+ when to reach for it. The bundle installer wrote all eight, which is why
11
+ nothing looked broken — the gap only opened for someone installing one member.
12
+
13
+ Delegated to `npx sshlg-skills routers --member make-skill` rather than
14
+ reimplemented, for three reasons:
15
+
16
+ - The block describes what the machine actually has. A lone member rendering
17
+ the whole thing would print a table for routers nobody installed.
18
+ - `--member` scopes the write to this skill's own section. Verified by damaging
19
+ two sections of a real block and running this installer: its own was
20
+ repaired, the other left exactly as it was.
21
+ - The launcher is the only writer that copies the operator's global instruction
22
+ file before touching it. That file has no version control behind it.
23
+
24
+ `--no-install` keeps it from silently downloading a package nobody asked for.
25
+ When the launcher is absent the command is printed instead of failing: ending
26
+ an install in an error over an optional follow-up reads as a failed install.
27
+ Both paths were exercised.
28
+
3
29
  ## v0.15.0
4
30
 
5
31
  ### Fixed
package/bin/make-skill.js CHANGED
@@ -63,6 +63,38 @@ function installOne(label, src, dest, isDir, force) {
63
63
  console.log(`Installed ${label} -> ${dest}`);
64
64
  }
65
65
 
66
+ /**
67
+ * Ask the family launcher to write the routing block, for this member only.
68
+ *
69
+ * Delegated rather than reimplemented, for three reasons. The block describes
70
+ * what the machine actually has, so a lone member rendering the whole thing
71
+ * would produce a table for routers nobody installed. `--member` limits the
72
+ * write to the `make-skill` section and leaves everyone else's alone, which is
73
+ * what lets the bundle and a single installer both write. And the launcher is
74
+ * the only writer that copies the operator's global instruction file before
75
+ * touching it — that file has no version control behind it.
76
+ *
77
+ * `--no-install` keeps this from silently downloading a package nobody asked
78
+ * for. When the launcher is absent, print the command rather than fail: ending
79
+ * an install in an error because an OPTIONAL follow-up is missing reads as a
80
+ * failed install.
81
+ */
82
+ function offerRouters() {
83
+ const { spawnSync } = require('child_process');
84
+ const r = spawnSync(
85
+ 'npx',
86
+ ['--no-install', 'sshlg-skills', 'routers', '--member', 'make-skill'],
87
+ { stdio: 'inherit', shell: process.platform === 'win32' }
88
+ );
89
+ if (r.status !== 0) {
90
+ console.log(
91
+ '\nTo have this skill apply by default in every project, add the\n' +
92
+ "family's routing block to your agent's global instructions:\n\n" +
93
+ ' npx --yes sshlg-skills routers --member make-skill\n'
94
+ );
95
+ }
96
+ }
97
+
66
98
  function main(argv) {
67
99
  const args = argv.slice(2);
68
100
  if (args.includes('--help') || args.includes('-h')) {
@@ -103,6 +135,11 @@ function main(argv) {
103
135
  ' claude plugin update make-skill@make-skill\n' +
104
136
  ' Pass --force if you really want both.'
105
137
  );
138
+ // Offered here too. The skill IS present on this machine — as the plugin —
139
+ // so the routing block is exactly as wanted as on the install path. Two
140
+ // doors into one install that behave differently is how a feature comes to
141
+ // exist for half its users.
142
+ offerRouters();
106
143
  return 0;
107
144
  }
108
145
 
@@ -113,6 +150,7 @@ function main(argv) {
113
150
  true,
114
151
  force
115
152
  );
153
+ offerRouters();
116
154
  return 0;
117
155
  }
118
156
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssheleg/make-skill",
3
- "version": "0.15.0",
3
+ "version": "0.16.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",
@@ -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.15.0",
6
+ "version": "0.16.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.15.0"
8
+ version: "0.16.0"
9
9
  homepage: https://github.com/ssheleg/make-skill
10
10
  ---
11
11