harness:canary

Generate a risk-based canary deployment runbook with rollback triggers and observability checks.

3|1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/huangbaixun/harness-engineering --skill harness-canary
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harness:canary
Source: https://github.com/huangbaixun/harness-engineering/tree/main/skills/canary
Command: npx skills add https://github.com/huangbaixun/harness-engineering --skill harness-canary

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

harness:canary creates a structured pre-deployment deployment runbook that reduces the gap between “code verified” and “safely in production,” where incidents commonly originate.

Core Features & Use Cases

  • Risk-based canary staging: Chooses a 2-to-5 stage traffic rollout strategy (with explicit percentages) based on data, security, blast radius, novelty, and reversibility signals.
  • Rollback triggers and procedure: Defines automated rollback conditions tied to error and latency thresholds, plus a concrete rollback plan the team can execute under pressure.
  • Observability and verification plan: Generates a checklist of dashboards, alerts, log queries, and post-deploy smoke and business-metric verification steps.

Quick Start

Tell the AI: "Generate a production canary deployment runbook for the changes in this branch, including risk score, canary stages, rollback triggers, and observability checks."

Frequently Asked Questions about harness:canary

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

FAQPage Schema
How do I create a canary deployment runbook with risk-based staging and rollback triggers?

Generate a structured canary deployment runbook by extracting git diff context to compute a numeric risk score, planning 2-to-5 stage traffic rollout percentages, and defining automated rollback triggers for production rollouts.

What is a canary deployment runbook and when do I need one for production rollouts?

A canary deployment runbook is a structured pre-deployment plan that reduces production incidents by defining risk-based traffic stages, rollback procedures, and observability checks for releases involving migrations, payments, or security changes.

How do I calculate a risk score for a production canary release?

Compute a numeric risk score for canary releases by evaluating explicit dimensions including data sensitivity, security blast radius, change novelty, and reversibility signals extracted from your git diff and log context.

How do I set up automated rollback conditions and observability checks for a canary deployment?

Define automated rollback conditions tied to quantitative error and latency thresholds, and generate an observability checklist with dashboards, log queries, and post-deploy smoke tests to verify business metrics during the canary rollout.

Can I generate a deployment runbook without automatically initiating the production rollout?

Yes, the generated deployment runbook inserts a mandatory human confirmation gate before deployment, ensuring you review the risk score, canary stages, and rollback plan without initiating any automated production rollout.

What types of changes require a risk-based canary staging strategy?

Risk-based canary staging applies to changes involving database migrations, authentication or security updates, payment systems, new environments or regions, and any production-impact changes requiring explicit deployment checklists.