Agent Skillssupercheck-io/supercheck › supercheck-monitoring-alerts

supercheck-monitoring-alerts

GitHub

负责Supercheck监控告警系统的开发,涵盖HTTP/Ping/DNS监控执行、区域聚合、告警状态机管理、历史记录及多渠道通知集成。

.agents/skills/monitoring-alerts/SKILL.md supercheck-io/supercheck

Trigger Scenarios

配置或修改监控规则 排查告警状态异常 优化通知发送逻辑 处理区域聚合数据

Install

npx skills add supercheck-io/supercheck --skill supercheck-monitoring-alerts -g -y
More Options

Non-standard path

npx skills add https://github.com/supercheck-io/supercheck/tree/main/.agents/skills/monitoring-alerts -g -y

Use without installing

npx skills use supercheck-io/supercheck@supercheck-monitoring-alerts

指定 Agent (Claude Code)

npx skills add supercheck-io/supercheck --skill supercheck-monitoring-alerts -a claude-code -g -y

安装 repo 全部 skill

npx skills add supercheck-io/supercheck --all -g -y

预览 repo 内 skill

npx skills add supercheck-io/supercheck --list

SKILL.md

Frontmatter
{
    "name": "supercheck-monitoring-alerts",
    "description": "Work on Supercheck HTTP, ping, or DNS monitors, regional scheduling and aggregation, alert state\/history, incidents, or email, Slack, PagerDuty, and webhook notifications."
}

Supercheck monitoring and alerts

flowchart LR
  SCHED[Distributed monitor scheduler] --> Q[Regional queues]
  Q --> CHECK[HTTP, ping, or DNS execution]
  CHECK --> AGG[Regional aggregation]
  AGG --> STATE{Alert state machine}
  STATE --> HIST[Alert history]
  STATE --> NOTIFY[Notification providers]

Monitor definition and execution

  • Monitor definitions are tenant-owned configuration; executions and regional results are immutable observations.
  • Preserve URL/host, method/type, headers/body, timeout, expected response/assertions, interval, retry, enabled state, locations, and notification relationships across schema, APIs, UI, scheduler, queue, and worker.
  • Monitor destinations are untrusted. Apply input validation and SSRF-safe resolution at configuration time and again at execution, including redirects and DNS changes.
  • Scheduling is safe across multiple app replicas using the current distributed coordination mechanism. Restarts or overlapping scheduler ticks must not duplicate dispatch.
  • Location selection maps deterministically to worker queues and rejects unknown/unavailable locations deliberately.

Aggregation

  • A regional result and aggregate monitor state are separate. Never infer global health from one region.
  • Define how missing, late, timed-out, and conflicting regional results affect aggregate status; preserve that rule across dashboards, APIs, and alert evaluation.
  • Use consistent units and boundaries for latency, uptime, thresholds, and time windows.
  • Store enough immutable evidence to explain why an alert transitioned without retaining secrets or unrestricted response bodies.

Alert state and history

  • Model transitions explicitly using the current states and consecutive-failure/recovery policy.
  • Persist transition history before or atomically with outbound notification scheduling.
  • Deduplicate repeated failing observations while preserving meaningful reminders/escalations configured by the product.
  • Recovery closes/resolves the active condition once and sends at most the intended recovery notifications.
  • Acknowledgement or manual state changes require permission, tenant scope, audit events, and race-safe updates.

Notification providers

  • Provider definitions are scoped to their owning tenant and secrets remain encrypted/redacted.
  • Render messages from bounded, escaped data. Do not leak headers, variables, tokens, raw response bodies, or internal errors.
  • Email, Slack, PagerDuty, and webhook delivery use bounded timeouts and retries only when safe.
  • Webhook destinations use SSRF protection. Inbound callbacks verify signatures when applicable.
  • Record delivery outcome and safe provider diagnostics without blocking the monitor’s terminal persistence indefinitely.

Verify

  • Unit-test threshold boundaries, state transitions, deduplication, recovery, and partial/missing region behavior.
  • Integration-test scheduler ownership, queue routing, worker output, and provider retry/idempotency.
  • Test cross-tenant provider/monitor access and secret redaction.
  • Use disposable provider endpoints and clean them up; live delivery acceptance remains separate from automated tests.

Version History

  • 974a753 Current 2026-09-22 16:21

Same Skill Collection

.agents/skills/architecture/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/data-storage/SKILL.md
.agents/skills/execution-engine/SKILL.md
.agents/skills/feature-implementation/SKILL.md
.agents/skills/infrastructure-deployment/SKILL.md
.agents/skills/integrations-extensions/SKILL.md
.agents/skills/platform-features/SKILL.md
.agents/skills/security-auth/SKILL.md
.agents/skills/sre-operations/SKILL.md
.agents/skills/testing-qa/SKILL.md
.github/skills/code-review/SKILL.md
.github/skills/docker-compose-deployment/SKILL.md
.github/skills/feature-implementation/SKILL.md

Metadata

Files
0
Version
974a753
Hash
a58975d8
Indexed
2026-09-22 16:21

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 14:46
浙ICP备14020137号-1