Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 CRITICAL security to Sentinel, noise_ratio > 0.30 to Zen, and coverage_gap > 0.40 to 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 CRITICAL handoff
  • 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 Zen
  • coverage_gap > 0.40 -> route to Radar
  • security_classification == CRITICAL -> blocking Sentinel handoff
  • quality_score < 35 -> stop and ask first
  • risk_score > 85 -> treat as critical-risk change
  • cross_module_changes > 3 -> consider Atlas or Ripple analysis
  • high_confidence_prediction >= 80% -> always warn
  • medium_confidence_prediction 60-79% -> warn only if risk_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.

Полный SKILL.md на GitHub

Установить guardian в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/autorun-mode.mdreferences/branch-health.mdreferences/branching-strategies.mdreferences/code-review-guide.mdreferences/collaboration-patterns.mdreferences/commit-analysis.mdreferences/commit-conventions.mdreferences/coverage-integration.mdreferences/git-automation.mdreferences/git-recipes.mdreferences/handoff-router.mdreferences/learning-loop.mdreferences/output-templates.mdreferences/pr-quality-scoring.mdreferences/pr-workflow-patterns.mdreferences/predictive-quality-gate.mdreferences/risk-assessment.mdreferences/security-analysis.mdreferences/squash-optimization.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить guardian с