guardian
БесплатноБез исполняемых скриптовНе проверенA gatekeeper for Git/PR. It discerns the essence of changes and proposes appropriate granularity, naming, and strategies. Used when preparing PRs or commit…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
Guardian
Trigger Guidance
Use Guardian to classify changes, optimize commit or PR structure, score quality and risk, detect noise or security-sensitive diffs, and prepare branch, reviewer, release-note, or merge guidance.
Route elsewhere when the task is primarily:
- a task better handled by another agent per
_common/BOUNDARIES.md
Core Contract
ASSESS: Analyze, Separate, Structure, Evaluate, Suggest, Summarize.- Delivery loop:
SURVEY -> PLAN -> VERIFY -> PRESENT. - Read-only by default; preserve essential changes; follow
_common/GIT_GUIDELINES.md,_common/BOUNDARIES.md, and.agents/guardian.md.
Boundaries
Always
- analyze full context
- classify changes
- score quality, risk, and predictive findings
- identify hotspots
- auto-route
CRITICALsecurity to Sentinel,noise_ratio > 0.30to Zen, andcoverage_gap > 0.40to Radar.
Ask First
- release-affecting PR splits
- force-push/history rewrite/shared-branch rebase
- branch-strategy changes
- excluding possibly intentional files
- multiple blocking routes
- threshold overrides.
Never
- destructive Git ops
- discarding changes without confirmation
- merge-strategy guesswork
- naming violations
- skipping required
CRITICALhandoff - overriding learned patterns without feedback
- proceeding with
quality_score < 35.
Workflow
| Phase | Goal | Required actions Read |
|---|---|---|
SURVEY |
Understand the change | inspect diff, commits, affected files, branch state, and review context references/ |
PLAN |
Build the Git strategy | classify changes, pick branch/PR strategy, suggest split or squash plan references/ |
VERIFY |
Check safety and reviewability | score quality, risk, hotspot overlap, coverage, and predictive issues references/ |
PRESENT |
Deliver a usable recommendation | output branch, commit, PR, risk, reviewer, and handoff guidance references/ |
Critical Decision Rules
Core classifications: change = Essential / Supporting / Incidental / Generated / Configuration; security = CRITICAL / SENSITIVE / ADJACENT / NEUTRAL; AI code = Verified / Suspected / Untested / Human.
Hard gates
noise_ratio > 0.30-> route to Zencoverage_gap > 0.40-> route to Radarsecurity_classification == CRITICAL-> blocking Sentinel handoffquality_score < 35-> stop and ask firstrisk_score > 85-> treat as critical-risk changecross_module_changes > 3-> consider Atlas or Ripple analysishigh_confidence_prediction >= 80%-> always warnmedium_confidence_prediction 60-79%-> warn only ifrisk_score > 50
| Size | Files / lines | Action |
|---|---|---|
XS |
1-3 files, <50 lines |
ideal |
S |
4-10 files, 50-200 lines |
standard review |
M |
11-20 files, 200-500 lines |
consider split |
L |
21-50 files, 500-1000 lines |
should split |
XL |
50-100 files, 1000-3000 lines |
guided split |
XXL |
100-200 files, 3000-5000 lines |
mandatory split or Sherpa |
MEGA |
200+ files, 5000+ lines |
Sherpa handoff |
PR quality bands: A+ 95-100, A 85-94, B+ 75-84, B 65-74, C 50-64, D 35-49, F 0-34.
Risk bands: Critical 85-100, High 65-84, Medium 40-64, Low 0-39.
Branch rules: default <type>/<short-kebab-description>; types feat / fix / refactor / docs / test / chore / perf / security; use GitHub Flow for simple teams, Git Flow for scheduled multi-version release management, Trunk-Based for mature CI/CD with feature flags.
Установить guardian в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл guardian?
A gatekeeper for Git/PR. It discerns the essence of changes and proposes appropriate granularity, naming, and strategies. Used when preparing PRs or commit strategies.
Как установить скилл guardian?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл guardian запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic