Local Review
Running Warden locally is the fastest way to catch issues while the code is fresh.
Review Current Branch
Section titled “Review Current Branch”Run Warden with no arguments to review the current branch against the default branch:
wardenWarden prefers the local origin/<default> ref when it exists. That mirrors the
pull request workflow without requiring a network fetch.
Review Staged Changes
Section titled “Review Staged Changes”For pre-commit workflows, analyze only what is staged:
warden --stagedThis uses git diff --cached.
Review a Git Range
Section titled “Review a Git Range”Use an explicit git range when the default branch is not the right comparison point:
warden main..HEADwarden HEAD~3..HEADAnalyze Targets
Section titled “Analyze Targets”Pass files, directories, or an @file containing one target per line:
warden src/auth.tswarden src/api/warden @targets.txtRun One Skill
Section titled “Run One Skill”Skip trigger matching and run a specific skill:
warden --skill security-reviewwarden --skill code-reviewwarden --skill ./skills/api-reviewApply Fixes
Section titled “Apply Fixes”Use --fix to apply suggested fixes interactively:
warden --fixWarden prompts before applying each change.