@spardutti/claude-skills 2.15.0 → 2.16.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 +1 -0
- package/lib/setup-hook.mjs +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -348,6 +348,7 @@ scripts/ validate-skills.mjs — checks skill length caps and reference in
|
|
|
348
348
|
gauntlet-selftest.sh — 15 behavioural tests for the hook (runs on pre-push)
|
|
349
349
|
gauntlet-survey.sh — what the hook would do in every repo under a directory
|
|
350
350
|
preflight.sh — everything that must pass before a release
|
|
351
|
+
check-freshness.mjs — compares each skill's `tracks:` versions to the registries
|
|
351
352
|
cli/ The npm installer (npx @spardutti/claude-skills); version in cli/package.json
|
|
352
353
|
.husky/ pre-push hook running the skill validator
|
|
353
354
|
package.json Private dev-tooling package (claude-skills-dev) — not the published one
|
package/lib/setup-hook.mjs
CHANGED
|
@@ -756,8 +756,15 @@ for owner in $OWNERS; do
|
|
|
756
756
|
# worse than reporting nothing. \`mutmut results\` is the readable source:
|
|
757
757
|
# it prints "<mutant name>: survived" per survivor.
|
|
758
758
|
M="$(py_mutmut "$base")"
|
|
759
|
-
#
|
|
760
|
-
|
|
759
|
+
# mutmut caches verdicts in ./mutants and only invalidates one when the
|
|
760
|
+
# SOURCE of that function changes. Adding a test does not, so it replays the
|
|
761
|
+
# old "survived" and calls mutants the new tests kill still alive — measured
|
|
762
|
+
# at 20 of them on one commit. \`results\` then prints that whole cache, so
|
|
763
|
+
# survivors turn up for files nowhere near the diff. Deleting the dir first
|
|
764
|
+
# makes both describe the tree being shipped; \`mutmut run\` rewrites it
|
|
765
|
+
# anyway, and a cold run is ~35s for ~1000 mutants.
|
|
766
|
+
# One cd for all three: they run in the same shell, already there.
|
|
767
|
+
CMD="\${RUN}rm -rf mutants; $M run >/dev/null 2>&1; $M results"
|
|
761
768
|
else
|
|
762
769
|
MISSING="$MISSING $label needs mutmut:
|
|
763
770
|
uv add --dev mutmut # or: poetry add --group dev mutmut, pip install mutmut
|