@spardutti/claude-skills 2.56.0 → 2.56.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 CHANGED
@@ -36,7 +36,7 @@ npx @spardutti/claude-skills
36
36
  ```
37
37
 
38
38
  ```text
39
- Claude Skills Installer v2.56.0
39
+ Claude Skills Installer v2.56.1
40
40
 
41
41
  ── Frontend ──────────────────────────────
42
42
  ◉ react ◯ tanstack-query
@@ -6,7 +6,9 @@ function records(dir) {
6
6
  return [...read(dir), ...read(join(dir, "open"))].flatMap((f) => {
7
7
  try {
8
8
  const r = JSON.parse(readFileSync(f, "utf8"));
9
- return r?.v === 1 && Array.isArray(r.gate) && Array.isArray(r.findings) ? [r] : [];
9
+ const log = r?.v === 1 && Array.isArray(r.gate) && Array.isArray(r.findings);
10
+ // A /ship that only merged opens a log and never fills it.
11
+ return log && (r.gate.length || r.findings.length) ? [r] : [];
10
12
  } catch { return []; }
11
13
  });
12
14
  }
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env bash
2
+ HERE="$(cd "$(dirname "$0")" && pwd)"
2
3
  cd "${CLAUDE_PROJECT_DIR:-$PWD}" 2>/dev/null || exit 1
4
+ NO_LOG=""; [ "${2:-}" = "--no-log" ] && { NO_LOG=1; set -- "$1" "${@:3}"; }
3
5
  # The shared .git dir, so a worktree's mark is found from the main folder.
4
6
  COMMON=$(cd "$(git rev-parse --git-common-dir 2>/dev/null)" 2>/dev/null && pwd) || exit 1
5
7
  BRANCH=${2:-$(git branch --show-current 2>/dev/null)}
@@ -8,7 +10,11 @@ MARK="/tmp/claude-ship-$(printf '%s %s' "$COMMON" "$BRANCH" | cksum | cut -d' '
8
10
 
9
11
  # A mark lasts 12 hours, so a branch reused later (dev, for a release) needs /ship again.
10
12
  case "${1:-}" in
11
- begin) touch "$MARK" ;;
13
+ begin)
14
+ touch "$MARK"
15
+ # The log opens here, not in ship.md: agents skipped that step. A failed log never fails the mark.
16
+ [ -z "$NO_LOG" ] && command -v node >/dev/null && node "$HERE/ship-log.mjs" start >/dev/null 2>&1
17
+ true ;;
12
18
  check) [ -n "$(find "$MARK" -mmin -720 2>/dev/null)" ] ;;
13
- *) echo "usage: ship-mark.sh begin | check [branch]" >&2; exit 2 ;;
19
+ *) echo "usage: ship-mark.sh begin [--no-log] | check [branch]" >&2; exit 2 ;;
14
20
  esac
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spardutti/claude-skills",
3
- "version": "2.56.0",
3
+ "version": "2.56.1",
4
4
  "description": "Guardrails for Claude Code — best-practice skills, planning commands, and delivery gates.",
5
5
  "type": "module",
6
6
  "repository": {