Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

deploy-check部署检查

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

245

周安装

10

GitHub Stars

35

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deploy-check(部署检查)
来源仓库:https://github.com/kazdenc/builder-skills
仓库路径:skills/deploy-check
安装命令:
npx skills add https://github.com/kazdenc/builder-skills --skill deploy-check
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kazdenc/builder-skills --skill deploy-check

简介

提供预部署检查清单,涵盖代码、测试、 lint 及 PR 审批等关键环节的状态验证。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中发布前的质量门禁,确保生产环境稳定性。
  • 逐项标记通过、失败或 N/A,对 console.log 或未提交变更发出警告。
  • 安装命令为 npx skills add https://github.com/kazdenc/builder-skills --skill deploy-check。
  • 建议在 CI/CD 流水线中集成,避免直接在生产分支上跳过检查。

SKILL.md

Pre-Deployment Check

Walk through this checklist with the user before any production deploy. If a target is provided, scope the check to that feature or release. Present each category, confirm status, and flag anything unresolved.

Pre-Deploy Checklist

Work through each category. Mark items as pass, fail, or N/A.

Code

CheckDetails
All tests passRun the full test suite. No skipped tests unless documented.
No console.logs / debuggersSearch for console.log, console.debug, debugger statements in changed files.
Linting cleanlint command exits with zero errors and zero warnings.
PR approvedAt least one approval from a reviewer who understands the changed area.
Changes rebasedBranch is up to date with the target branch. No merge conflicts.

Database

CheckDetails
Migrations tested locallyRun migrations on a fresh local database and verify the schema.
Migrations reversibleEvery up has a corresponding down. Test the rollback.
No breaking schema changesDropping columns, renaming tables, or changing types requires a multi-step migration plan.
Seeds updatedIf migrations change structure, seed files still work.

Environment

CheckDetails
New env vars in productionEvery new variable from .env.local is set in the production environment.
Secrets rotated if neededIf a secret was exposed or is being replaced, rotate it before deploy.
Feature flags configuredNew flags exist in the flag service and are set to the correct default for production.

Dependencies

CheckDetails
Lock file committedpnpm-lock.yaml / package-lock.json / yarn.lock is checked in and up to date.
No known vulnerabilitiesRun pnpm audit (or equivalent). No critical or high severity issues.
No untested major version bumpsMajor dependency upgrades have been tested in staging or a preview environment.

Performance

CheckDetails
No bundle size regressionsCompare bundle output before and after. Flag increases > 5%.
Lighthouse check on key pagesRun Lighthouse on landing page, main app page. No score drops > 5 points.
No N+1 queriesReview new database queries. Use eager loading or batching where needed.

Monitoring

CheckDetails
Error tracking configuredNew features report errors to Sentry or equivalent. Source maps uploaded.
Alerts setCritical paths have alerting. New endpoints included in uptime checks.
Logging adequateKey operations log enough to debug issues without leaking sensitive data.

Rollback Plan

Define the rollback strategy before deploying. Don't deploy without one.

ScenarioAction
Bug in application codeRevert the commit and redeploy the previous version.
Feature behaving unexpectedlyToggle the feature flag off. No redeploy needed.
Database migration failureRun the down migration. If irreversible, restore from the pre-deploy backup.
Third-party service outageActivate fallback or circuit breaker. Communicate status to users.

Steps for every rollback:

  1. Identify the issue and confirm it's deploy-related.
  2. Execute the appropriate action from the table above.
  3. Verify the rollback resolved the issue (check error rates, run smoke tests).
  4. Notify the team with a brief incident summary.

Smoke Tests

Run these critical paths immediately after deploy. Fail any one and trigger the rollback plan.

PathWhat to verify
Auth flowSign up, sign in, sign out, password reset all complete without errors.
Main CRUD operationsCreate, read, update, delete on the primary resource. Confirm data persists.
Payment flow (if applicable)Test checkout with a test card. Verify webhook delivery. Confirm no double charges.
API healthHit /api/health. Expect 200 with all services reporting healthy.
Email / notificationsTrigger a transactional email or notification. Confirm delivery.
Key integrationsVerify third-party API calls succeed (OAuth, webhooks, external data).

Deploy Strategy

Choose the right strategy based on risk and infrastructure.

StrategyHow it worksWhen to useRisk level
RollingReplace instances one at a time.Low-risk changes, stateless services.Low
Blue-greenRun two identical environments. Switch traffic after verification.Database migrations, breaking API changes.Medium
CanaryRoute a small percentage of traffic to the new version. Monitor, then expand.High-risk changes, large user base, uncertain performance impact.Lowest
RecreateStop all old instances, start new ones. Brief downtime.Dev/staging environments, or when downtime is acceptable.Highest

Output Format

Present the checklist as a walkthrough. For each category:

  1. List the checks with their current status.
  2. Flag any items that fail or need attention.
  3. Summarize at the end: ready to deploy, or blocked with specific items to resolve.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.58%
按下载量换算28

Claude

31.27%
按下载量换算24

Cursor

18.45%
按下载量换算14

Gemini CLI

10.82%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills