monitoring-guidelines — скилл для Claude Code: правила мониторинга
Скилл задаёт правила мониторинга сервисов и серверов: от сбора четырёх золотых сигналов до алертов по сжиганию бюджета ошибок SLO.
npx skills add Mindrally/skills --skill monitoring-guidelines -a claude-codeЧто делает monitoring-guidelines
Скилл содержит свод инженерных практик для наблюдения за приложениями и инфраструктурой. Он ориентирует ассистента на сбор четырёх золотых сигналов: задержки, трафика, ошибок и насыщения. В базу входят рекомендации по метрикам приложений (квантили p50–p99, глубина очередей), метрикам хостов и бизнес-показателям вроде конверсий.
В инструкциях прописана логика алертинга: оповещения настраиваются на симптомы для пользователей, а не на причины. Для критичных сценариев используется расчёт сжигания бюджета ошибок (burn rate) и многооконные алерты. Скилл также регламентирует деление проверок на liveness и readiness и требует давать ссылки на ранбуки прямо в уведомлениях.
Без квартального пересмотра порогов и SLO система быстро обрастёт ложными срабатываниями. Правила требуют настраивать гистерезис и зависимости алертов, чтобы избежать шума при сбоях базовой инфраструктуры.
Какие задачи решает
- составить стратегию алертинга на основе SLO и бюджета ошибок
- настроить сбор четырёх золотых сигналов для бэкенда
- спроектировать дашборд с маркерами релизов и базовыми линиями
- разделить liveness и readiness пробы с глубокой проверкой зависимостей
Примеры запросов агенту
- Спроектируй схему алертов для платёжного сервиса на основе burn rate и SLO
- Подскажи метрики для дашборда по четырём золотым сигналам
- Опиши глубокую проверку готовности сервиса с учётом внешних баз данных
Как установить monitoring-guidelines
1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill monitoring-guidelines -a claude-code2Вручную: положить файлы
~/.claude/skills/monitoring-guidelines/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/monitoring-guidelines/
1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill monitoring-guidelines -a codex2Вручную: положить файлы
.agents/skills/monitoring-guidelines/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill monitoring-guidelines -a cursor2Вручную: положить файлы
.cursor/skills/monitoring-guidelines/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Mindrally/skills monitoring-guidelines2Вручную: положить файлы
.github/skills/monitoring-guidelines/SKILL.md1Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill monitoring-guidelines -a gemini-cli2Командой платформы
gemini skills install https://github.com/Mindrally/skills --path monitoring-guidelinesВручную: положить файлы
.devin/skills/monitoring-guidelines/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Mindrally/skills --skill monitoring-guidelines -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о monitoring-guidelines
Как установить monitoring-guidelines в Claude Code?
Выполните в терминале команду npx skills add Mindrally/skills --skill monitoring-guidelines -a claude-code. Файл правил сохранится по пути ~/.claude/skills/monitoring-guidelines/SKILL.md.
Что делает скилл monitoring-guidelines?
Он задаёт принципы мониторинга систем: метрики приложений, правила алертов по SLO, оформление дашбордов и организацию проб жизнеспособности.
Как скилл рекомендует настраивать оповещения?
Правила предписывают оповещать о симптомах проблемы для пользователей, использовать бюджеты ошибок и прикреплять ссылки на ранбуки к каждому уведомлению.
Исходный текст
SKILL.md · Apache-2.0
--- name: monitoring-guidelines description: Monitoring guidelines for applications and infrastructure including metrics collection, alerting strategies, and SLO-based monitoring metadata: maintainer: Mindrally source: https://github.com/Mindrally/skills --- # Monitoring Guidelines Apply these monitoring principles to ensure system reliability, performance visibility, and proactive issue detection. ## Core Monitoring Principles - Monitor the four golden signals: latency, traffic, errors, and saturation - Implement monitoring as code for reproducibility - Design monitoring around user experience and business impact - Use SLOs (Service Level Objectives) to guide alerting decisions - Balance comprehensive coverage with actionable insights ## Key Metrics to Monitor ### Application Metrics - Request rate (requests per second) - Error rate (percentage of failed requests) - Response time (p50, p90, p95, p99 latencies) - Active connections and concurrent users - Queue depths and processing times ### Infrastructure Metrics - CPU utilization and load average - Memory usage and available memory - Disk I/O and available storage - Network throughput and error rates - Container and pod health (for Kubernetes) ### Business Metrics - Transaction volumes and values - User signups and conversions - Feature usage and adoption rates - Revenue-impacting events - Customer satisfaction indicators ## Alerting Strategy ### Alert Design Principles - Alert on symptoms, not causes - Make alerts actionable with clear remediation steps - Set appropriate severity levels (critical, warning, info) - Avoid alert fatigue through proper threshold tuning - Include runbook links in alert notifications ### SLO-Based Alerting - Define SLOs for critical user journeys - Calculate error budgets and burn rates - Alert when error budget consumption is high - Use multi-window, multi-burn-rate alerts - Review and adjust SLOs quarterly ### Alert Configuration - Set meaningful thresholds based on baseline data - Use hysteresis to prevent flapping alerts - Implement alert dependencies to reduce noise - Route alerts to appropriate teams - Configure escalation policies ## Dashboard Design ### Effective Dashboards - Create overview dashboards for service health - Build detailed dashboards for debugging - Use consistent layouts and naming conventions - Include time range selectors and drill-down capabilities - Display SLO status prominently ### Dashboard Content - Show current state and recent trends - Include comparison to baseline or previous periods - Display deployment markers for correlation - Add annotations for significant events - Include links to related dashboards and logs ## Monitoring Tools Integration ### Data Collection - Use agents or sidecars for metric collection - Implement service discovery for dynamic environments - Configure appropriate scrape intervals - Use push vs pull based on use case - Ensure metric cardinality is manageable ### Data Storage and Retention - Set retention periods based on use case - Implement downsampling for long-term storage - Use appropriate storage backends for scale - Plan for disaster recovery of monitoring data - Monitor your monitoring infrastructure ## Health Checks and Probes - Implement liveness probes for crash detection - Use readiness probes for traffic management - Create deep health checks that verify dependencies - Expose health endpoints in a standard format - Monitor health check latency as a metric ## Incident Response - Use monitoring data to detect incidents early - Correlate metrics, logs, and traces during investigation - Document findings and update monitoring post-incident - Track MTTR (Mean Time to Recovery) metrics - Conduct regular monitoring reviews and improvements ## Capacity Planning - Track resource utilization trends - Set alerts for approaching capacity limits - Use forecasting for proactive scaling - Document capacity requirements and headroom - Review capacity quarterly
© Mindrally · Apache-2.0 · Mindrally/skills