warden

GitHub

Warden 是一个用于在代码提交前分析变更的本地开发工具。支持检查未提交更改、特定文件或 Git 引用,提供自动修复和高严重性失败功能,帮助开发者在合并前发现并解决潜在问题。

.agents/skills/warden/SKILL.md getsentry/XcodeBuildMCP

Trigger Scenarios

run warden check my changes review before commit

Install

npx skills add getsentry/XcodeBuildMCP --skill warden -g -y
More Options

Non-standard path

npx skills add https://github.com/getsentry/XcodeBuildMCP/tree/main/.agents/skills/warden -g -y

Use without installing

npx skills use getsentry/XcodeBuildMCP@warden

指定 Agent (Claude Code)

npx skills add getsentry/XcodeBuildMCP --skill warden -a claude-code -g -y

安装 repo 全部 skill

npx skills add getsentry/XcodeBuildMCP --all -g -y

预览 repo 内 skill

npx skills add getsentry/XcodeBuildMCP --list

SKILL.md

Frontmatter
{
    "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
${CLAUDE_SKILL_ROOT}/references/cli-reference.md Full option details, per-command flags, examples
${CLAUDE_SKILL_ROOT}/references/configuration.md Editing warden.toml, triggers, patterns, troubleshooting
${CLAUDE_SKILL_ROOT}/references/config-schema.md Exact field names, types, and defaults
${CLAUDE_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_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

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 ${CLAUDE_SKILL_ROOT}/references/cli-reference.md.

Version History

  • c79f4eb Current 2026-07-25 11:09

Same Skill Collection

.agents/skills/warden-sweep/SKILL.md
.agents/skills/xcodebuildmcp-docs-command-review/SKILL.md
.agents/skills/xcodebuildmcp-docs-release-review/SKILL.md
.agents/skills/xcodebuildmcp-packaging-resource-review/SKILL.md
.agents/skills/xcodebuildmcp-rendering-streaming-review/SKILL.md
.agents/skills/xcodebuildmcp-runtime-boundary-review/SKILL.md
.agents/skills/xcodebuildmcp-snapshot-fixture-review/SKILL.md
.agents/skills/xcodebuildmcp-structured-output-review/SKILL.md
.agents/skills/xcodebuildmcp-test-boundary-review/SKILL.md
.agents/skills/xcodebuildmcp-tool-contract-review/SKILL.md
skills/xcodebuildmcp-cli/SKILL.md
skills/xcodebuildmcp/SKILL.md

Metadata

Files
0
Version
e6ef59b
Hash
f521ff42
Indexed
2026-07-25 11:09

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 09:31
浙ICP备14020137号-1 $mapa de visitantes$