verify-a-deploy
它能做什么
这个技能确认已部署的修复或功能在生产环境中按预期运行。适合希望在继续下一步之前拿到发布成功证据的开发者。
适用场景
- ✓当你合并或部署了修复,并想确认它是否生效的时候。
- ✓当有人询问某次部署是否健康的时候。
- ✓当你想确认可以安全地转入下一项任务的时候。
技能链接
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/verify-a-deploy/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们今天下午部署了超时修复。请在 Sazabi 中检查错误是否已经停止,以及是否有其他东西出了问题。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先确定改动上线的确切时间,然后比较该时刻前后受影响的错误或功能。对于修复来说,错误应当降到零,而不只是减少。智能体还会查找新出现的日志类型。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
A task is done when production says so
Tests pass on the code you wrote. Production runs it against real traffic, real data and real dependencies. Before you tell the user a fix shipped, check that it changed what it was meant to change and nothing else.
0. How the tools work
The Sazabi MCP server lists only two tools, search and execute. Browse
Sazabi's operations with search and namespace: "sazabi" (an empty query
without a namespace lists connected connectors, not Sazabi operations). Before
calling one, repeat search with namespace: "sazabi", the hit's full name as
the query, and includeInputSchema: true to load its arguments. Then run it
with execute as { name, arguments }, the name copied from the hit (for
example sazabi/logs.ask).
Questions about logs go to sazabi/logs.ask.
1. Pin down the deploy
Find when the change went live: the deploy time, or the first log line that carries the new version or commit. Every comparison below is "before that moment" against "after it". If the change is not live yet, say so and stop.
2. Did the change do its job?
Ask one question for the thing the change should affect, over a window on each side of the deploy:
- A fix: "how many times did
<the error>occur per 10 minutes, 3 hours before and after <deploy time>". It should drop to zero, not just fall. - A feature: "how many requests reached
<new endpoint or log line>since <deploy time>, and how many failed". Zero traffic means it is not wired up yet. - A performance change: ask for the latency or duration the logs record, per interval, on both sides.
3. Did it break anything else?
Ask for an overview of what is new or growing since the deploy. Look at each
new kind of error line and decide if this change could cause it. Check
sazabi/issues.search for issues first seen after the deploy.
4. Report
Say whether it is verified, how (the questions you asked and the numbers on each side), and what is still unknown, for example a code path no traffic has hit yet. If something regressed, say so first, with the log lines.
Anti-patterns
- Calling it done because CI passed. CI never saw production traffic.
- Checking too soon. Five minutes of low traffic can hide a 1% error rate. Say how much traffic the window covered.
- Comparing unequal windows. Compare the same length of time, at a similar time of day.
常见问题
如果改动还没有上线怎么办?
技能会说明这一点并停止,因为还没有可以比较的内容。
错误数量减少就够了吗?
对修复而言不够。技能要求特定的错误完全停止,而不只是减少。
它会检查回归吗?
会。它会查找部署后出现的新日志类型。
详情
作者的原始描述
Check in Sazabi that a change you shipped works in production before you call the task done — compare error rates and new kinds of log lines before and after the deploy, confirm the fixed error stopped, and catch regressions early. Use after merging or deploying a fix or feature, when the user asks whether a deploy is healthy, did the fix work, or is it safe to move on.
repo: ParadevAI/Paradev
热度
- GitHub 星标
- 16k
- 排名
- #10848
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …