Skip to content

nob-git-dev/agent-skills / skills/jlmb

Japanese LLM Benchmark(shi3z/japanese-llm-benchmark)を再現可能かつ安全に実行し、日本語要約、キーワード抽出、コーディング、視覚評価などの結果を比較する。モデル評価、推論サーバー比較、ベンチマーク再実行、結果レポート作成で使う。

scripts/sync_upstream.sh

View on GitHub
#!/usr/bin/env bash
set -euo pipefail

readonly REPOSITORY_URL="https://github.com/shi3z/japanese-llm-benchmark.git"

usage() {
  echo "Usage: $0 <checkout-directory>" >&2
}

if [[ $# -ne 1 || -z "${1:-}" ]]; then
  usage
  exit 2
fi

checkout_dir=$1
if [[ "$checkout_dir" == "/" ]]; then
  echo "Refusing to use the filesystem root as a checkout directory." >&2
  exit 2
fi

if [[ ! -e "$checkout_dir" ]]; then
  git clone --branch main --single-branch "$REPOSITORY_URL" "$checkout_dir"
  git -C "$checkout_dir" rev-parse HEAD
  exit 0
fi

if ! git -C "$checkout_dir" rev-parse --is-inside-work-tree >/dev/null 2>&1; then
  echo "Target exists but is not a Git checkout: $checkout_dir" >&2
  exit 1
fi

remote_url=$(git -C "$checkout_dir" remote get-url origin)
case "$remote_url" in
  "$REPOSITORY_URL"|"https://github.com/shi3z/japanese-llm-benchmark"|"git@github.com:shi3z/japanese-llm-benchmark.git") ;;
  *)
    echo "Refusing to update an unexpected origin: $remote_url" >&2
    exit 1
    ;;
esac

if [[ -n "$(git -C "$checkout_dir" status --porcelain)" ]]; then
  echo "Refusing to update a checkout with uncommitted changes: $checkout_dir" >&2
  exit 1
fi

branch=$(git -C "$checkout_dir" branch --show-current)
if [[ "$branch" != "main" ]]; then
  echo "Refusing to change branches; current branch is '$branch', expected 'main'." >&2
  exit 1
fi

git -C "$checkout_dir" pull --ff-only origin main
git -C "$checkout_dir" rev-parse HEAD
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall