jpskill.com
📦 その他 コミュニティ

vet

コードの変更後すぐにvetコマンドを実行し、変更をまとめて処理したり、指示を待ったりせず、問題の早期発見と修正に積極的に取り組むSkill。

📜 元の英語説明(参考)

Run vet immediately after ANY logical unit of code changes. Do not batch your changes, do not wait to be asked to run vet, make sure you are proactive.

🇯🇵 日本人クリエイター向け解説

一言でいうと

コードの変更後すぐにvetコマンドを実行し、変更をまとめて処理したり、指示を待ったりせず、問題の早期発見と修正に積極的に取り組むSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o vet.zip https://jpskill.com/download/19234.zip && unzip -o vet.zip && rm vet.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19234.zip -OutFile "$d\vet.zip"; Expand-Archive "$d\vet.zip" -DestinationPath $d -Force; ri "$d\vet.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して vet.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → vet フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
4

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Vet

コードの論理的な変更単位ごとに、直ちにvetを実行してください。変更をまとめて実行したり、vetの実行を求められるのを待ったりせず、積極的に実行するようにしてください。

Vetは、git diffと会話履歴をレビューし、コードの変更点と会話履歴の問題点を見つけます。要求された内容と実装された内容との間の誤解を捉えるのに役立つ会話履歴とともに頻繁に実行すると、最も効果的です。しかし、vetはテストの実行に代わるものではありません。

インストール

pipまたはuvを使用してvetをインストールします。

# pipを使用する場合
pip install verify-everything

# uvを使用する場合 (推奨)
uv pip install verify-everything

# インストールの確認:
vet --help

Vetの実行

標準的な使用方法

OpenCode:

vet "goal" --history-loader "python ~/.agents/skills/vet/scripts/export_opencode_session.py --session-id <ses_ID>"

Codex:

vet "goal" --history-loader "python ~/.codex/skills/vet/scripts/export_codex_session.py --session-file <path-to-session.jsonl>"

Claude Code:

vet "goal" --history-loader "python ~/.claude/skills/vet/scripts/export_claude_code_session.py --session-file <path-to-session.jsonl>"

会話履歴なしの場合

vet "goal"

セッションの検索

OpenCode: --session-id引数にはses_...形式のセッションIDが必要です。現在のセッションIDを見つけるには、この会話の最初のユーザーメッセージをpartファイルで検索します。

  1. 現在の会話の中で最もユニークな文、質問、または文字列を見つけます。
  2. grep -rl "UNIQUE_MESSAGE" ~/.local/share/opencode/storage/part/を実行して、一致するpartファイルを見つけます。
    • 重要: 見つかった会話が現在の会話と一致し、同じ検索文字列を持つ別の会話ではないことを確認してください。これは頻繁に発生するため、見つかったセッションが現在の会話であることを確認することが最も重要です。見つかったセッションが現在の会話であることを確認できるまで、手順1と2を繰り返してください。
  3. そのpart JSONファイルからsessionIDフィールドを読み取ります。
  4. その値を--session-idとして渡します。

Codex: セッションファイルは~/.codex/sessions/YYYY/MM/DD/に保存されます。上記で説明したopencodeのテキスト検索を使用する方法で、正しい会話を見つけてください。

Claude Code: セッションファイルは~/.claude/projects/<encoded-path>/に保存されます。エンコードされたパスは/-に置き換えます(例: /home/user/myproject-home-user-myprojectになります)。上記で説明したopencodeのテキスト検索を使用する方法で、正しい会話を見つけてください。

注: 標準的な使用方法の例では、ユーザーがvetスキルをプロジェクトレベルではなくユーザーレベルでインストールしていることを前提としています。vetを実行する前に、プロジェクトレベルでインストールされているかどうかを確認してください。プロジェクトレベルのインストールはユーザーレベルよりも優先されるはずです。プロジェクトレベルでインストールされている場合は、history-loaderオプションが正しい場所を指していることを確認してください。

結果の解釈

Vetは、ベースコミットからの完全なgit diffを分析します。これには、同じリポジトリで作業している他のエージェントやセッションからの変更が含まれる場合があります。このセッションで行っていない変更に関連する問題をvetが報告した場合、それらが別のエージェントまたはユーザーのものであると仮定して、無視してください。

一般的なオプション

  • --base-commit REF: diffのベースとなるGitリファレンス (デフォルト: HEAD)
  • --model MODEL: 使用するLLMモデル (デフォルト: claude-opus-4-6)
  • --confidence-threshold N: 最小信頼度 0.0-1.0 (デフォルト: 0.8)
  • --output-format FORMAT: 出力形式をtextjson、またはgithubとして指定
  • --quiet: ステータスメッセージと「No issues found.」を抑制
  • --agentic: APIを直接呼び出す代わりに、ローカルにインストールされたClaude CodeまたはCodex CLIを介して分析をルーティングするモードです。APIキーの不足によりvetが失敗した場合に試してください。速度が遅い(約3分)ため、デフォルトとしては推奨されません。
  • --help: オプションの包括的なリストを表示
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Vet

Run vet immediately after ANY logical unit of code changes. Do not batch changes, do not wait to be asked to run vet, make sure you are proactive.

Vet reviews git diffs and conversation history to find issues in code changes and conversation history. It is most effective when run frequently with conversation history, which helps it catch misunderstandings between what was requested and what was implemented. Despite this, vet is not a replacement for running tests.

Installation

Install vet using pip or uv:

# Using pip
pip install verify-everything

# Using uv (recommended)
uv pip install verify-everything

# Verify installation:
vet --help

Running Vet

Standard Usage

OpenCode:

vet "goal" --history-loader "python ~/.agents/skills/vet/scripts/export_opencode_session.py --session-id <ses_ID>"

Codex:

vet "goal" --history-loader "python ~/.codex/skills/vet/scripts/export_codex_session.py --session-file <path-to-session.jsonl>"

Claude Code:

vet "goal" --history-loader "python ~/.claude/skills/vet/scripts/export_claude_code_session.py --session-file <path-to-session.jsonl>"

Without Conversation History

vet "goal"

Finding Your Session

OpenCode: The --session-id argument requires a ses_... session ID. To find the current session ID, search for the first user message from this conversation in the part files:

  1. Find the most unique sentence / question / string in the current conversation.
  2. Run: grep -rl "UNIQUE_MESSAGE" ~/.local/share/opencode/storage/part/ to find the matching part file.
    • IMPORTANT: Verify the conversation you found matches the current conversation and that it is not another conversation with the same search string. This happens frequently so it is paramount you verify this. Repeat steps 1 and 2 until you have verified the session you found is the current conversation.
  3. Read the sessionID field from that part JSON file.
  4. Pass that value as --session-id.

Codex: Session files are stored in ~/.codex/sessions/YYYY/MM/DD/. Find the correct conversation using the approach described above for opencode that uses textual search.

Claude Code: Session files are stored in ~/.claude/projects/<encoded-path>/. The encoded path replaces / with - (e.g. /home/user/myproject becomes -home-user-myproject). Find the correct conversation using the approach described above for opencode that uses textual search.

NOTE: The examples in the standard usage section assume the user installed the vet skill at the user level, not the project level. Prior to trying to run vet, check if it was installed at the project level which should take precedence over the user level. If it is installed at the project level, ensure the history-loader option points to the correct location.

Interpreting Results

Vet analyzes the full git diff from the base commit. This may include changes from other agents or sessions working in the same repository. If vet reports issues that relate to changes you did not make in this session, disregard them, assuming they belong to another agent or the user.

Common Options

  • --base-commit REF: Git ref for diff base (default: HEAD)
  • --model MODEL: LLM model to use (default: claude-opus-4-6)
  • --confidence-threshold N: Minimum confidence 0.0-1.0 (default: 0.8)
  • --output-format FORMAT: Output as text, json, or github
  • --quiet: Suppress status messages and 'No issues found.'
  • --agentic: Mode that routes analysis through the locally installed Claude Code or Codex CLI instead of calling the API directly. Try this if vet fails due to missing API keys. Slower (~3 min) so not recommended as the default.
  • --help: Show comprehensive list of options

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。