Loading...
Loading...
Run Warden to analyze code changes before committing. Use when asked to "run warden", "check my changes", "review before commit", "warden config", "warden.toml", "create a warden skill", "add trigger", or any Warden-related local development task.
npx skill4agent add getsentry/warden warden| Document | Read When |
|---|---|
| Full option details, per-command flags, examples |
| Editing warden.toml, triggers, patterns, troubleshooting |
| Exact field names, types, and defaults |
| Writing custom skills, remote skills, skill discovery |
# Analyze uncommitted changes (uses warden.toml triggers)
warden
# Run a specific skill
warden --skill find-bugs
# 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 highWARDEN_ANTHROPIC_API_KEYclaude loginwardenwarden --fixcriticalhighmediumlowinfo01-v-vv-q| Command | Description |
|---|---|
| Run analysis (default) |
| Initialize warden.toml and GitHub workflow |
| Add skill trigger to warden.toml |
| Update cached remote skills |
| Create GitHub App via manifest flow |
${CLAUDE_SKILL_ROOT}/references/cli-reference.md