project-sync
コードリポジトリにある実験結果を論文の日次実験ログに反映させ、最新の数値で論文を更新したり、機械学習プロジェクトの実験結果を記録したりする際に役立つSkill。
📜 元の英語説明(参考)
Sync experiment results from the code repo into the paper's daily experiments log (daily_experiments.tex). Use when you have new experiment results to record, want to update the paper with latest numbers, or log experimental findings from an ML research project.
🇯🇵 日本人クリエイター向け解説
コードリポジトリにある実験結果を論文の日次実験ログに反映させ、最新の数値で論文を更新したり、機械学習プロジェクトの実験結果を記録したりする際に役立つSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o project-sync.zip https://jpskill.com/download/8053.zip && unzip -o project-sync.zip && rm project-sync.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8053.zip -OutFile "$d\project-sync.zip"; Expand-Archive "$d\project-sync.zip" -DestinationPath $d -Force; ri "$d\project-sync.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
project-sync.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
project-syncフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
プロジェクト同期ワークフロー
このワークフローは、コードリポジトリに新しい実験結果があり、それらを論文の daily_experiments.tex に記録したい場合に使用します。
これは手動で、人がトリガーするワークフローです。結果を論文にチェックポイントしたいときにいつでも実行してください。
ステップ 1 — プロジェクトの特定
// turbo プロジェクト構造を自動検出します。以下を実行します。
# 現在のリポジトリの git root を探す
git rev-parse --show-toplevel 2>/dev/null
# code/ または paper/ にいるかを確認し、兄弟ディレクトリを探す
ls "$(git rev-parse --show-toplevel)/../"
以下を決定します。
$CODE_ROOT— コードリポジトリのルート$PAPER_ROOT— 論文リポジトリのルート (兄弟ディレクトリ)
paper/ と code/ の両方が共通の親の下に兄弟として存在しない場合は、ユーザーに尋ねます。
「論文リポジトリはどこにありますか?パスを入力してください。」
ステップ 2 — 新しい結果の収集
ユーザーに1つのメッセージで尋ねます。
- Date: これらの実験を行った日付は何ですか? (デフォルト: 今日の日付、YYYY-MM-DD)
- Short title: この実験バッチの簡単なラベル (例: "CIFAR-10 でのベースライン", "Ablation: attention レイヤーの削除")
- Setup: どのメソッドのバリアント / config / データセットを使用しましたか?
- Results: 主要な数値は何ですか? (メトリクス、精度、損失などを貼り付けます)
- Observation: 結果は何を意味しますか?何がうまくいき、何がうまくいきませんでしたか?
- Next: どのようなフォローアップ実験を計画していますか?
オプションで、既存の結果ファイルからプルできるかどうかを確認します。
# experiments/ または outputs/ 内の最近のファイル
ls -lt "$CODE_ROOT/experiments/" 2>/dev/null | head -10
ls -lt "$CODE_ROOT/outputs/logs/" 2>/dev/null | head -10
関連するログファイルが存在する場合は、それらを読み取り、ユーザーが確認できるように回答を事前に入力します。
ステップ 3 — エントリのプレビュー
ユーザーがレビューできるように LaTeX エントリを作成して表示します。
\subsection*{<DATE> — <SHORT TITLE>}
\textbf{Setup:} <setup>\\
\textbf{Result:} <results>\\
\textbf{Observation:} <observation>\\
\textbf{Next:} <next>
尋ねます: 「これは正しく見えますか?論文に追加しますか?」
確認を待ちます。
ステップ 4 — daily_experiments.tex への挿入
// turbo
$PAPER_ROOT/sections/daily_experiments.tex の現在の内容を読み取ります。
新しいエントリを一番上 (コメントヘッダーの下) に挿入して、ログが逆時系列順 (最新が最初) になるようにします。
挿入後、ファイルの上部を更新してユーザーに表示し、正しく見えることを確認します。
ステップ 5 — 論文リポジトリへのコミット (オプション)
尋ねます: "要把这条实验记录提交到 paper repo 的 Git 吗?(Y/n)"
はいの場合:
git -C "$PAPER_ROOT" add sections/daily_experiments.tex
git -C "$PAPER_ROOT" commit -m "exp: add <DATE> — <SHORT TITLE>"
いいえの場合、ファイルが保存され、後でコミットできることをユーザーに通知します。
ステップ 6 — 確認
報告します。
Experiment logged:
Date: <DATE>
Title: <SHORT TITLE>
File: <PAPER_ROOT>/sections/daily_experiments.tex
To view all logged experiments:
cat <PAPER_ROOT>/sections/daily_experiments.tex 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Project Sync Workflow
Use this workflow when you have new experiment results in the code repo and want to record them in the paper's daily_experiments.tex.
This is a manual, human-triggered workflow — run it whenever you want to checkpoint results into the paper.
Step 1 — Locate the Project
// turbo Auto-detect the project structure. Run:
# Find the git root of the current repo
git rev-parse --show-toplevel 2>/dev/null
# Check if we're in code/ or paper/ and find sibling
ls "$(git rev-parse --show-toplevel)/../"
Determine:
$CODE_ROOT— the code repo root$PAPER_ROOT— the paper repo root (sibling directory)
If both paper/ and code/ are not siblings under a common parent, ask the user:
"Where is the paper repo? Please provide its path."
Step 2 — Gather New Results
Ask the user in a single message:
- Date: What date are these experiments? (default: today's date, YYYY-MM-DD)
- Short title: A brief label for this experiment batch (e.g. "Baseline on CIFAR-10", "Ablation: remove attention layer")
- Setup: What method variant / config / dataset was used?
- Results: What are the key numbers? (paste metrics, accuracy, loss, etc.)
- Observation: What do the results mean? What worked, what didn't?
- Next: What follow-up experiment is planned?
Optionally, also check if there are existing result files to pull from:
# Recent files in experiments/ or outputs/
ls -lt "$CODE_ROOT/experiments/" 2>/dev/null | head -10
ls -lt "$CODE_ROOT/outputs/logs/" 2>/dev/null | head -10
If relevant log files exist, read them and pre-fill the answers for the user to confirm.
Step 3 — Preview the Entry
Compose and display the LaTeX entry for the user to review:
\subsection*{<DATE> — <SHORT TITLE>}
\textbf{Setup:} <setup>\\
\textbf{Result:} <results>\\
\textbf{Observation:} <observation>\\
\textbf{Next:} <next>
Ask: "Does this look correct? Should I add it to the paper?"
Wait for confirmation.
Step 4 — Insert into daily_experiments.tex
// turbo
Read the current contents of $PAPER_ROOT/sections/daily_experiments.tex.
Insert the new entry at the top (below the comment header), so the log is in reverse chronological order (newest first).
After inserting, show the user the updated top of the file to confirm it looks right.
Step 5 — Commit to Paper Repo (optional)
Ask: "要把这条实验记录提交到 paper repo 的 Git 吗?(Y/n)"
If yes:
git -C "$PAPER_ROOT" add sections/daily_experiments.tex
git -C "$PAPER_ROOT" commit -m "exp: add <DATE> — <SHORT TITLE>"
If no, inform the user the file is saved and can be committed later.
Step 6 — Confirm
Report:
Experiment logged:
Date: <DATE>
Title: <SHORT TITLE>
File: <PAPER_ROOT>/sections/daily_experiments.tex
To view all logged experiments:
cat <PAPER_ROOT>/sections/daily_experiments.tex