Skip to content
Back to skills

Rtd Lifecycle

ASecurity

启停、热更新、下线、取消部署(Codex 入口,等价于 /lifecycle)

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
developmentpythongosql

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add MrSuiChuan/realtime-data-pipeline --skill rtd-lifecycle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rtd Lifecycle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rtd Lifecycle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrsuichuan-rtd-lifecycle/badge)](https://www.skillsdirectory.com/skills/mrsuichuan-rtd-lifecycle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rtd-lifecycle
description: 启停、热更新、下线、取消部署(Codex 入口,等价于 /lifecycle)
---

# rtd-lifecycle(Codex 版 `/lifecycle`)

> 本文件由 `tools/build_codex_surface.py` 从 `commands/lifecycle.md` 生成,请勿手改。
> 改流程请改命令源文件后重跑生成器。
> 命令里的 `py -3` 是 Windows 写法;macOS/Linux 换成 `python3`。

# rtd-lifecycle — 启停、热更新、下线、取消部署

流程见 `workflows/runbook-lifecycle.md`;版本语义见 `workflows/version-effect-matrix.md`。

> **强制前置**:先跑 `/rtd-start`,选 `auto` 或 `manual` 并创建 Goal。
> `manual` 下每次高风险动作都要当次确认;`auto` 下按 Goal 授权执行,但六要素、执行记录和追踪 ID 仍要留。

## 前置三步(缺一即停)

1. 依赖预检:操作 / 配对进度 / 状态核验工具齐备——**即使用户已授权,工具不齐也停**;
2. 身份与时间:对象 / 实例 / 版本 / 时区;
3. 版本生效矩阵:快照来源、保存版本、生效方式、验证项。

## 展示六要素后再要确认

对象与环境 / 动作与版本 / 恢复点或重置时间 / SQL 与计划影响 / 预计停顿 / 风险与回退边界。

`manual`:展示完六要素→等用户当次原话→执行。

`auto`:把六要素写入执行记录的 `summary`/`note`,按 Goal 范围执行,不等待逐项确认;超出 Goal 范围或缺少恢复点就停。

## 硬规则

| 规则 | 说明 |
| --- | --- |
| 确认不传递 | 安装同意、诊断结论、上一次启动的同意都不算本次确认 |
| 只提交一次 | 超时先查原状态,不重发;不编 ID |
| 终态成功 ≠ 完成 | 重读运行态核实际版本与参数;热更新还要回读物理结构 |
| 取消 ≠ 停止 | 取消部署是独立动作,不能条件取消 |
| 下线要证据 | 必须有"停止成功"的证据;"搜索不到"不算下线成功 |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.