warden

作成者: sentry

コミット前にWardenを実行してコード変更を分析します。「wardenを実行して」「変更を確認して」「コミット前にレビューして」「warden設定」などと依頼された場合に使用します。

npx skills add https://github.com/getsentry/xcodebuildmcp --skill warden

Run Warden to analyze code changes before committing.

References

Read the relevant reference when the task requires deeper detail:

DocumentRead When
${CLAUDE_SKILL_ROOT}/references/cli-reference.mdFull option details, per-command flags, examples
${CLAUDE_SKILL_ROOT}/references/configuration.mdEditing warden.toml, triggers, patterns, troubleshooting
${CLAUDE_SKILL_ROOT}/references/config-schema.mdExact field names, types, and defaults
${CLAUDE_SKILL_ROOT}/references/creating-skills.mdWriting custom skills, remote skills, skill discovery

Running Warden

# Analyze uncommitted changes (uses warden.toml triggers)
warden

# Run a specific skill
warden --skill <skill-name>

# Analyze specific files
warden src/auth.ts src/database.ts

# Analyze changes from a git ref
warden main..HEAD
warden HEAD~3

# Auto-apply suggested fixes
warden --fix

# Fail on high-severity findings
warden --fail-on high

Set WARDEN_ANTHROPIC_API_KEY or log in via claude login before running.

Pre-Commit Workflow

After making code changes and before committing:

  1. Run warden to analyze uncommitted changes
  2. Review the findings
  3. Fix issues Warden reports (or use warden --fix to auto-apply)
  4. Commit the changes

Run Warden once to validate work. Do not loop re-running Warden on the same changes.

Reading Output

Severity levels:

  • high - Must fix before merge
  • medium - Worth reviewing
  • low - Minor improvement

Exit codes: 0 = no findings at or above fail threshold. 1 = findings at or above fail threshold.

Verbosity: -v shows real-time findings. -vv shows debug info (tokens, latency). -q shows errors and summary only.

Commands

CommandDescription
wardenRun analysis (default)
warden initInitialize warden.toml and GitHub workflow
warden add [skill]Add skill trigger to warden.toml
warden sync [remote]Update cached remote skills
warden setup-appCreate GitHub App via manifest flow

For full options and flags, read ${CLAUDE_SKILL_ROOT}/references/cli-reference.md.

sentryのその他のスキル

add-ai-integration
sentry
Sentry JavaScript SDKに新しいAIプロバイダー統合を追加します。新しいAIインストルメンテーション(OpenAI、Anthropic、Vercel AI、LangChainなど)を貢献する際に使用します…
add-cdn-bundle
sentry
指定された機能を持つブラウザパッケージ用の新しいCDNバンドルを作成します
agent-prompt
sentry
効果的なエージェントプロンプトとスキルを作成するためのリファレンスガイド。新しいスキルの作成、プロンプト品質のレビュー、またはWardenのプロンプトの理解に使用します。
agents-md
sentry
このスキルは、ユーザーが「AGENTS.mdを作成して」「AGENTS.mdを更新して」「エージェントドキュメントを管理して」「CLAUDE.mdを設定して」と依頼した場合や、エージェント…を維持する必要がある場合に使用します。
agents-md
sentry
60行未満の最小限で高シグナルなエージェントドキュメントを作成・維持します。研究に基づくエージェント向けドキュメントのベストプラクティスを適用し、長くなると指示の品質が低下します。パッケージマネージャー、ファイルスコープのコマンド(ファイルごとのテスト・リンター・型チェック)、エージェントIDによるコミット帰属の3つのコアセクションが必要です。プロジェクト構造(ロックファイル、リンター設定、CIコマンド、モノレポ指標)を分析してファイルに含める内容を決定します。ヘッダーと箇条書きのみを使用し、参照...
agents-md
sentry
このスキルは、ユーザーが「AGENTS.mdを作成」「AGENTS.mdを更新」「エージェントドキュメントを管理」「CLAUDE.mdを設定」と依頼した場合や、エージェント…
ai-sdk
sentry
ai-sdk — getsentry/webvitals.com が公開する、AIエージェント用のインストール可能なスキル。
analytics
sentry
SentryのフロントエンドUIでアナリティクスイベントを計測・発見します。ボタン、ページ、モーダル、カスタムインタラクションにトラッキングを追加する際や、新しい定義を行う際に使用します。