@spardutti/claude-skills 2.38.2 → 2.39.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.
@@ -2,6 +2,11 @@
2
2
  # Sourced by ship-gate.sh: which project owns a file, how it runs mutmut, and
3
3
  # whether a project's last clean verdict still stands.
4
4
 
5
+ # Half the cores at the lowest priority: every tool defaults to the whole machine,
6
+ # and three projects' gates at once froze the editor with the fans at full speed.
7
+ renice -n 19 -p $$ >/dev/null 2>&1
8
+ gate_workers() { echo $(( ($(getconf _NPROCESSORS_ONLN 2>/dev/null || echo 2) + 1) / 2 )); }
9
+
5
10
  # mutmut is installed into the project's environment, not onto PATH. Ask the
6
11
  # project how to run its own tools before falling back to a bare binary.
7
12
  py_mutmut() {
@@ -271,7 +271,7 @@ for owner in $OWNERS; do
271
271
  # 8 of them on one commit, all long since killed. --mutate already scopes
272
272
  # the run to the changed hunks, so incremental buys nothing here and costs
273
273
  # a cache that goes stale exactly the way mutmut's did.
274
- CMD="${RUN}npx --no-install stryker run --mutate '${FLAGS#,}'"; stryker_page_tests "$base" "$label"
274
+ CMD="${RUN}npx --no-install stryker run --concurrency $(gate_workers) --mutate '${FLAGS#,}'"; stryker_page_tests "$base" "$label"
275
275
  elif [ -z "$PY" ] && [ -f "$base"package.json ]; then
276
276
  MISSING="$MISSING $label needs Stryker:
277
277
  npm --prefix ${owner} i -D @stryker-mutator/core @stryker-mutator/vitest-runner
@@ -300,7 +300,7 @@ for owner in $OWNERS; do
300
300
  # makes both describe the tree being shipped; `mutmut run` rewrites it
301
301
  # anyway, and a cold run is ~35s for ~1000 mutants.
302
302
  # One cd for all three: they run in the same shell, already there.
303
- CMD="${RUN}rm -rf mutants; $M run$GLOBS >'$MLOG' 2>&1; $M results"
303
+ CMD="${RUN}rm -rf mutants; $M run --max-children $(gate_workers)$GLOBS >'$MLOG' 2>&1; $M results"
304
304
  else
305
305
  MISSING="$MISSING $label needs mutmut:
306
306
  uv add --dev mutmut # or: poetry add --group dev mutmut, pip install mutmut
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spardutti/claude-skills",
3
- "version": "2.38.2",
3
+ "version": "2.39.0",
4
4
  "description": "Guardrails for Claude Code — best-practice skills, planning commands, and delivery gates.",
5
5
  "type": "module",
6
6
  "repository": {