运维就绪

peterruiter2026-10-26查看 1437复制 235

QUERY LENGTH LIMIT EXCEEDED. MAX ALLOWED QUERY : 500 CHARS

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md2736 chars
---
name: ops-readiness
description: Plan and run the Operations readiness wave before the first real users or a big peak - monitoring and alert rules to the owner's email with cost-tiered availability tests (owner chooses the tier), backups (point-in-time retention, long-term copies, storage soft delete) in the chosen region, a restore drill with timing (owner's go), rate limits shared across replicas, a load test (via the load-test skill), and runbooks in STATE.md. Use when the user asks about "going live", "launch readiness", "monitoring", "alerts", "backups", "restore", "operations", or when features are done and this wave is not.
argument-hint: "[part: monitoring|backups|restore|rate-limits|load|runbook]"
---

# Operations readiness

Reference: `${CLAUDE_PLUGIN_ROOT}/docs/operations.md`. Stack pieces: the profile
(`${CLAUDE_PLUGIN_ROOT}/profiles/<profile>/`, e.g. alert rules, backup parameters, restore drill
script). Runbook template: `${CLAUDE_PLUGIN_ROOT}/templates/runbook.md`.

## 1. Decisions first (one message, multiple choice, recommendation first)

- **Availability tests tier**: lean / standard / none, with **current prices looked up** for the
  project's cloud and region.
- **Alert email** (the owner's address goes in the deploy parameters, not in the repo if private
  matters; ask).
- **Backup retention**: point-in-time days; long-term weekly/monthly copies; costs; any legal
  retention requirement.
- **Load test**: expected peak (users, per minute), the date it matters, budget for a real run.

## 2. Build (as a wave; briefs via `/build-framework:plan-wave`)

| Item | Done when |
| --- | --- |
| Monitoring and alerts | Tests and rules in infrastructure code; every alert has a runbook line |
| Backups | Retention and soft delete in infrastructure code, in the chosen region |
| Restore drill script | Restores to a **new** database at a point back, checks, times, deletes |
| Shared rate limits | Counters shared across replicas; same limits and headers; fallback with a warning; test with two limiters |
| Load test | `/build-framework:load-test`: scenarios, generator, local trial, real-run plan |
| Runbooks | STATE.md: Monitoring and alerts table; "If production data is lost or corrupted" |

## 3. Deploy and prove (each with the owner's go)

- Deploy infrastructure with the profile's script; confirm the action group's email arrived
  (check spam) and every availability test shows results.
- Run the **restore drill** with the owner's go; record date and duration in STATE.md.
- Real load run only per the approved plan (load-test skill).

## 4. Record

STATE.md: what is deployed, drill timing, load results and cost; ROADMAP.md: mark R.1–R.6.
Anything not proven goes into Unproven.
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧