# Production Release Gate

> 为已经确认存在真实运行、共享可变状态、真实用户、凭据或外部写入的项目分流变更。当前证据显示会影响生产，或用户要求部署、重启、迁移、回滚时使用；没有运行影响的本地小项目和纯文档工作不触发。

- **Type:** Skill
- **Install:** `agentstack add skill-candycong2001-ui-agent-project-playbook-production-release-gate`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [candycong2001-ui](https://agentstack.voostack.com/s/candycong2001-ui)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [candycong2001-ui](https://github.com/candycong2001-ui)
- **Source:** https://github.com/candycong2001-ui/agent-project-playbook/tree/main/templates/zh-CN/skills/production-release-gate

## Install

```sh
agentstack add skill-candycong2001-ui-agent-project-playbook-production-release-gate
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 生产发布门禁

## 确认真实边界

1. 阅读当前项目的运维和架构说明，不从其他项目继承命令。
2. 只按当前改动需要，检查分支、工作区、运行面、活动任务、持久状态和外部写入边界。
3. 当前项目确实使用 Git worktree 隔离时，运行 `python3 .agents/skills/production-release-gate/scripts/project_safety.py inspect .`。
4. 风险由当前证据自动提升，不要求用户说出特殊口令。

## 按影响面分流

| 改动 | 默认生产动作 |
| --- | --- |
| 仅文档 | 合入或发布文档，不触碰运行环境 |
| 前端或静态资源 | 更新生产源码并重新构建；不重启无关后端 |
| 后端或 API | 更新生产源码，只重启受影响服务 |
| Worker、报告或定时任务 | 只重启受影响的常驻进程；空闲定时任务可以等待下次运行 |
| 依赖 | 更新项目定义的运行环境，只重启受影响进程 |
| 状态结构、数据迁移或外部写入 | 检查活动任务，准备相关备份或回滚路径，定向验证后取得明确授权 |

项目运维文档高于这些默认动作。项目没有使用的备份、重启和环境层级，不要凭空增加。

## 交付门禁

- `main` 表示已审核源码，不代表已经部署。
- 改变真实运行前，说明影响面、当前证据、验证结果、预期影响和回滚动作。
- 部署、影响用户的进程重启、数据迁移、凭据变更和真实外部写入需要明确授权。
- 执行后运行项目定义的健康检查，报告真实结果。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [candycong2001-ui](https://github.com/candycong2001-ui)
- **Source:** [candycong2001-ui/agent-project-playbook](https://github.com/candycong2001-ui/agent-project-playbook)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-candycong2001-ui-agent-project-playbook-production-release-gate
- Seller: https://agentstack.voostack.com/s/candycong2001-ui
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
