关于
This skill verifies that a deployment has fully landed by checking the live revision, environment, and functionality, rather than just trusting the deploy command's exit code. It's used after any deploy, rollout, or restart to confirm the update is live and also detects manual server drift before a pull. It's a low-effort check using Read, Bash, and Grep for devops and support roles.
快速安装
Claude Code
推荐npx skills add avelikiy/great_cto -a claude-code/plugin add https://github.com/avelikiy/great_ctogit clone https://github.com/avelikiy/great_cto.git ~/.claude/skills/deploy-landed在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
deploy-landed — a deploy is done when the running thing is the thing you meant
A deploy command's exit code says the command finished. It does not say the new code is serving, that its configuration arrived, or that the product works. Every trap below produced a green exit and a broken or stale product on a real project:
| Trap | What happened |
|---|---|
git pull failed, the build went on | The build succeeded from the old code and reported success |
nohup … & | Exit 0 twice for a process that died at once |
docker exec into a container | It does not inherit the entrypoint's env: two "config is missing" readings were false |
sed -i / docker cp on a bind-mounted file | Replaced the inode; the container kept reading the old file |
| A fix applied only on the server | Lost on the next deploy — it was never in git |
| wrangler / Pages | functions/ not deployed, _headers ignored, five deploys to notice |
| Prod behind SSO | Answers 401/302 to every path, including ones that do not exist — proves nothing about a route |
/health green | For six hours while the engine made no trades |
Before: is the server what git says it is?
Before pulling or building on a host someone can reach by hand:
git -C /srv/app status --porcelain # anything here is a patch that is not in git
git -C /srv/app log -1 --format=%H # what the host thinks it runs
Anything uncommitted on the host is either committed first or reported as drift — never overwritten silently, and never left as the only copy of a fix.
After: four checks, each with its evidence
- Revision. What is serving equals the commit you meant.
- Cloud Run / k8s: the live revision's image tag or digest, then
git merge-base --is-ancestor <commit> <image-tag-sha>. - Pages / Workers / Vercel: the deployment id and its commit.
- A plain host: the running process's start time is after the deploy, and the file
it serves has the new content (
grepfor a string the change introduced). - A
/versionendpoint, when the app has one, beats all of the above.
- Cloud Run / k8s: the live revision's image tag or digest, then
- Configuration. The variables and secrets the new code reads are present in the
running process — count them against the list the code expects. In a container,
read them from PID 1 (
cat /proc/1/environ | tr '\0' '\n'), not fromdocker exec env. After--set-secrets/--set-env-vars, check that the ones you did not name are still there: those flags replace the whole set. - Function. One request that does the product's job and returns something you can compare to a known value — an order created, a row written, a trade placed on paper. A health endpoint proves the process is up, nothing more.
- Startup errors. Logs for the new revision since it started, at WARNING and above. Zero lines is a finding only if you saw the logs flowing at all.
Report
End the deploy report with this block. A check you could not run is NOT CHECKED with
the reason — never omitted, never PASS.
DEPLOY-LANDED <service> @ <commit>
revision : PASS — serving <revision/deployment id> built from <sha>
config : PASS — 14/14 expected vars present in PID 1
function : PASS — POST /orders → 201, row id 8812 visible in DB
startup : PASS — 0 WARNING+ lines since 12:04:10
A FAIL in any line means the deploy is not done, whatever the command printed.
GitHub 仓库
常见问题
什么是 deploy-landed Skill?
deploy-landed 是一个 Claude Skill,作者为 avelikiy。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 deploy-landed 相关的任务。
如何安装 deploy-landed?
使用本页的安装命令:将 deploy-landed 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。
deploy-landed 属于哪个分类?
deploy-landed 属于设计分类。
deploy-landed 可以免费使用吗?
可以。deploy-landed 已收录在 AIMCP,可免费安装。
相关推荐技能
该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。
该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。
这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。
该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。
