vet
変更ごとにvetでコードレビューを行う
Vetはgit差分や会話履歴を分析し、AIコーディングアシスタントがコード変更の問題점을特定するのを支援します。論理的なコード変更のたびにすぐに実行して、要求された內容と実装された內容の間の誤解を発見します。
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "vet". Run vet on the current changes
Resultado esperado:
Vet found 2 issues:
1. [HIGH] Unused variable in auth.py:23
The variable 'token' is assigned but never used.
2. [MEDIUM] Missing error handling in database.py:45
Database connection errors are not caught.
Recommendation: Review these issues before committing.
A utilizar "vet". Run vet with --output-format json
Resultado esperado:
{"issues": [{"severity": "high", "file": "auth.py", "line": 23, "message": "Unused variable 'token'"}, {"severity": "medium", "file": "database.py", "line": 45, "message": "Missing error handling"}]}
Auditoria de Segurança
SeguroThis is a legitimate code review tool that analyzes AI assistant session history and git diffs. The static scanner flagged 54 potential issues, but all are false positives. The 'weak cryptographic algorithm' alerts are triggered by argparse (command-line parsing), not crypto code. 'Shell backtick' alerts are markdown code blocks showing example commands, not actual execution. 'Hidden file' and 'system reconnaissance' alerts are legitimate file path accesses to session storage required for the tool to function.
Problemas de Alto Risco (3)
Problemas de Baixo Risco (1)
Pontuação de qualidade
O Que Você Pode Construir
開発早期のバグ発見
各コード変更後にvetを実行して、バグが蓄積される前に発見します。ツールはgit差分と会話コンテキストをレビューして潜在的な問題を特定します。
機能開発中のコード品質向上
vetを使用して、コード変更とともに会話履歴を分析し、実装がユーザーの意図と一致していることを確認します。
AI生成コードの手動レビュー
vetはAI生成コードの追加のレビューレイヤーを提供し、AIが見落とした可能性のある問題を発見します。
Tente Estes Prompts
Run vet on the current changes to review the code.
Run vet on the current changes focusing on security issues.
Run vet using the claude-sonnet-4 model with a 0.9 confidence threshold.
Run vet in agentic mode to route through local Claude Code CLI.
Melhores Práticas
- 論理的なコード変更のたびにバッチではなくすぐにvetを実行
- 実際に変更した部分に関連する問題をレビューし、他のエージェントの問題ではないことを確認
- APIキーが利用できない場合は--agenticモードを使用するが、分析速度は遅くなることを期待
Evitar
- 問題をレビューせずに無視しない - 本当の問題を示している可能性がある
- 大きな機能の終わりにだけvetを実行しない - 早期に問題を検出
- vetがテストの代わりの다고 가정하지 마세요 - テストを補完するが置き換えるものではない