Skip to content
Code Review
Skill

/warden

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.

From plugin
warden
4263 skills1 MCP

Claude Code

$ npx -y skills add getsentry/warden --skill warden --agent claude-code

SKILL.md

warden.SKILL.md
name: warden
description: 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.

Run Warden to analyze code changes before committing.

References

Read the relevant reference when the task requires deeper detail:

| Document | Read When | |----------|-----------| | `<skill-root>/references/cli-reference.md` | Full option details, per-command flags, examples | | `<skill-root>/references/configuration.md` | Editing warden.toml, triggers, patterns, troubleshooting | | `<skill-root>/references/config-schema.md` | Exact field names, types, and defaults | | `<skill-root>/references/creating-skills.md` | Writing 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_MODEL` and the WARDEN-prefixed provider API key for that model 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

| Command | Description | |---------|-------------| | `warden` | Run analysis (default) | | `warden init` | Initialize warden.toml and GitHub workflow | | `warden add [skill]` | Add skill trigger to warden.toml | | `warden sync [remote]` | Update cached remote skills | | `warden setup-app` | Create GitHub App via manifest flow |

For full options and flags, read `<skill-root>/references/cli-reference.md`.

Read more
@getsentry
Ships withwarden

Your code is under new management. Agents that review your code - locally or on every PR - using the Skills you already know and love.

4263 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
426
Star history of getsentry/warden on GitHub, a chart by star-history.com

Other skills on warden.

warden-service

warden-service

Queries and summarizes the Warden Service read API. Use when asked to inspect, search, summarize, or export Warden runs,…

@getsentry@getsentryInstall Skill
warden-sweep

warden-sweep

Full-repository code sweep. Scans every file with Warden, verifies findings through deep tracing, creates draft PRs for validated…

@getsentry@getsentryInstall Skill

More skills from other plugins.

open-code-review

open-code-review

Review workspace changes, PRs, commits, or branch comparisons with OCR's native review pipeline and independently configured…

@alibaba@alibabaInstall Skill
build-graph

build-graph

Build or update the code review knowledge graph. Run this first to initialise, or let hooks keep it updated automatically.

@tirth8205@tirth8205Install Skill
hunk-extensions

hunk-extensions

Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked…

hunk6d9.9k
@modem-dev@modem-devInstall Skill

Questions about warden.

Which coding agents can use warden?
warden installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.