tech-errors-watcher

Triage production tech error alerts from Slack using Datadog, logs, and GitHub history.

Updated May 15, 2026
One-click install
npx skills add https://github.com/Pear-Commerce/pear-ai-skills --skill tech-errors-watcher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tech-errors-watcher
Source: https://github.com/Pear-Commerce/pear-ai-skills/tree/main/skills/tech-errors-watcher
Command: npx skills add https://github.com/Pear-Commerce/pear-ai-skills --skill tech-errors-watcher

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually monitoring Slack tech error alerts, cross-referencing Datadog metrics, logs, and GitHub deploy history, and deciding when to open fix PRs is slow, inconsistent, and distracts engineering teams from core work. This skill automates the entire end-to-end workflow for Pear tech error alerts.

Core Features & Use Cases

  • Automated Alert Monitoring: Watches the #tech_errors and #tech_errors_high_priority Slack channels for active Datadog alerts, escalates unhandled alerts to deep analysis, and avoids duplicate work by checking existing triage and PR threads.
  • Evidence-Based Fix Gating: Only proposes code or operational fixes when there is very high confidence a specific change caused the alert, using Datadog context, log samples, and GitHub deploy history as evidence, and routes all approval requests through a standardized Slack YES/NO workflow.
  • End-to-End PR Automation: On approval, creates a scoped fix PR from a dedicated worktree, enables auto-merge, and sets up a watcher to handle review comments and CI failures until the PR is merged, posting concise status updates back to the original Slack alert thread.
  • Self-Healing Automation: Includes a daily repair cron that ensures the core watcher automation is always active, recovering from accidental pauses or deletions without manual intervention.

Quick Start

Invoke the tech-errors-watcher skill to start, restart, or repair the automated Slack watcher for Pear tech error alert channels.

Frequently Asked Questions about tech-errors-watcher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Datadog alert triage from Slack channels?

Automating Datadog alert triage from Slack involves monitoring channels like #tech_errors, cross-referencing metrics with logs and GitHub deploy history, and identifying root causes. This skill handles the end-to-end workflow, escalating unhandled alerts to deep analysis to pinpoint issues automatically.

Can I automatically create GitHub PRs from production monitoring alerts?

Yes, you can automatically create GitHub PRs from production monitoring alerts. When high-confidence evidence identifies a specific code change as the root cause, the automation creates a scoped fix PR from a dedicated worktree, enables auto-merge, and monitors CI status until merged.

How does evidence-based fix gating work for incident response?

Evidence-based fix gating for incident response requires very high confidence that a specific change caused the alert before proposing fixes. It aggregates Datadog context, log samples, and GitHub deploy history as evidence, routing all approval requests through a standardized Slack YES/NO workflow.

What is needed to set up Slack automation for tech error alerts?

Setting up Slack automation for tech error alerts requires integration with Slack, Datadog, logs.sh, and GitHub. You also need the $handle-in-slack approval workflow to gate all side-effect actions, ensuring that operational changes and PR creations receive explicit human approval before execution.

How do I prevent duplicate incident response work on active Datadog alerts?

Preventing duplicate incident response work on active Datadog alerts is achieved by checking existing triage and PR threads before taking action. The automation watches Slack channels, escalates unhandled alerts, and avoids redundant effort by cross-referencing ongoing mitigation activities.

What happens if the automated alert watcher stops running or gets deleted?

If the automated alert watcher stops running or gets deleted, a daily repair cron automatically recovers the core watcher automation. This self-healing mechanism ensures the Slack monitoring, triage, and PR gating workflows remain active without requiring manual intervention or restarts.