production-runtime-certification
它能做什么
检查新安装或更新后的服务在生产环境中是否正常工作。在宣布准备就绪之前,它会确认代码、安装过程和线上运行都没有问题。
适用场景
- ✓在向公众宣布新版本已准备就绪之前。
- ✓安装更新之后,但在确认一切正常之前。
- ✓将服务交接给其他团队或客户时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/production-runtime-certification/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“检查我网站的新版本在生产环境中运行得是否良好。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查源代码、安装过程,测试服务是否有响应,以及运行指标是否正常。所有结果都会被记录下来,以显示通过还是未通过。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Production Runtime Certification
Overview
Produce an evidence-backed release verdict that distinguishes code quality, CI success, deployment success, and live runtime health. The skill prevents a green pipeline or successful deploy event from being treated as proof that a service is usable in its target environment.
When to Use This Skill
- Before declaring a release, environment, or migration production-ready.
- After a deployment when CI is green but runtime health is unknown or failing.
- During release audits that require a concise PASS, FAIL, or BLOCKED decision with reproducible evidence.
- When handing a deployed service from engineering to operations or a client.
Do not use this skill as a substitute for feature acceptance, security review, load testing, disaster-recovery exercises, or regulatory approval.
Certification Contract
Agree on these inputs before testing:
- exact source revision, repository, and target environment;
- deployment identifier and expected artifact or image digest when available;
- health and readiness endpoints plus expected success semantics;
- migration mechanism and expected schema version;
- critical user journeys or routes;
- authorized, non-destructive probes and credential boundaries.
If the target, authorization, or success criteria are ambiguous, stop and request clarification. Never probe an unrelated environment, expose credentials in output, or modify production data merely to obtain a passing result.
Evidence Model
Record every gate as one of:
- PASS — fresh evidence satisfies the agreed criterion.
- FAIL — fresh evidence disproves the criterion.
- BLOCKED — the gate could not be tested because access, tooling, configuration, or an upstream dependency is unavailable.
- NOT APPLICABLE — the gate is deliberately excluded with a written reason.
BLOCKED is not PASS. An overall certification can be GREEN only when every required gate passes. Any required failure produces RED; any required blocked gate with no failure produces BLOCKED.
Workflow
1. Pin the Subject
Capture the immutable source revision and intended runtime artifact. Confirm that the deployed artifact maps to that revision. A branch name, local working tree, or “latest deployment” label is not immutable evidence.
2. Verify Source and CI
Run the repository's current validation and test commands on the pinned revision. Inspect the required CI jobs for the same revision, including conclusion and timestamp. Do not infer full CI success from one job or from an older run.
3. Verify Deployment Identity
Confirm that the target environment reports the expected deployment, revision, or artifact digest. Record the environment and deployment identifiers without copying secrets or sensitive configuration values.
4. Verify Database State
Use the application's supported migration status or a read-only schema-version query. Confirm migrations completed on the target database and that the application is not running against an unexpected database or schema.
Do not apply, roll back, repair, or stamp migrations unless the user separately authorizes that mutation and a recovery plan exists.
5. Probe Liveness and Readiness
Test liveness and readiness separately when both exist:
- Liveness shows that the process can respond.
- Readiness shows that the service can handle intended traffic and required dependencies are available.
Record timestamp, target, status code, bounded response summary, and latency. Redact tokens, cookies, internal hostnames, database addresses, and response fields that contain secrets or personal data.
6. Exercise Critical Routes
Run the smallest authorized smoke suite that proves the agreed critical journeys. Prefer synthetic or test records and read-only probes. For authenticated routes, use designated test identities with least privilege and never place credentials in commands, logs, or the report.
7. Check Operational Signals
Inspect the bounded deployment window for crash loops, unhandled exceptions, dependency failures, elevated error rates, or resource exhaustion. Absence of log access is BLOCKED, not proof of health.
8. Issue the Verdict
Publish the evidence matrix, unresolved risks, and exact overall verdict. Keep observations separate from inference. Include enough identifiers and timestamps for another engineer to reproduce the decision without exposing sensitive data.
…
常见问题
“证据”是什么意思?
指测试和检查的结果,用来显示服务是否按预期运行。
“verdict”是什么?
这是对服务是否准备就绪的最终判定:GREEN(通过)、RED(有问题)或BLOCKED(无法完全验证)。
我可以用它来测试新功能吗?
不可以。这个工具用于检查服务在生产环境中是否正常运行,而不是检验新功能是否正确。
详情
作者的原始描述
Certify a deployed service with fresh evidence across source, CI, migrations, runtime health, readiness, and critical routes; use before declaring a release production-ready.
热度
- GitHub 星标
- 48k
- 排名
- #5510
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。