Automate builds, tests, and deployments across web, mobile, and backend applications.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install ci-cd或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install ci-cd⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/ci-cd/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: "CI-CD" description: "Automate builds, tests, and deployments across web, mobile, and backend applications." ---
Trigger on: automated deployment, continuous integration, pipeline setup, GitHub Actions, GitLab CI, build failing, deploy automatically, CI configuration, release automation.
| Stack | Recommended | Why | |-------|-------------|-----| | Web (Next.js, Nuxt, static) | Vercel, Netlify | Zero-config, auto-deploys, preview URLs | | Mobile (iOS/Android/Flutter) | Codemagic, Bitrise + Fastlane | Pre-configured signing, app store upload | | Backend/Docker | GitHub Actions, GitLab CI | Full control, self-hosted runners option | | Monorepo | Nx/Turborepo + GHA | Affected detection, build caching |
Decision tree: If platform handles deploy automatically (Vercel, Netlify) → skip custom CI. Only add GitHub Actions when you need tests, custom builds, or deploy to your own infra.
For copy-paste workflows, see templates.md.
| Mistake | Impact | Fix | |---------|--------|-----| | Using latest image tags | Builds break randomly | Pin versions: node:20.11.0 | | Not caching dependencies | +5-10 min per build | Cache node_modules, .next/cache | | Secrets in workflow files | Leaked in logs/PRs | Use platform secrets, OIDC for cloud | | Missing timeout-minutes | Stuck jobs burn budget | Always set: timeout-minutes: 15 | | No concurrency control | Redundant runs on rapid pushes | Group by branch/PR | | Building on every push | Wasted resources | Build on push to main, test on PRs |
The #1 pain point. iOS requires certificates + provisioning profiles. Android requires keystores.
The fix: Use Fastlane Match — stores certs/profiles in git repo, syncs across team and CI.
# One-time setup
fastlane match init
fastlane match appstore
# In CI
fastlane match appstore --readonly
For detailed mobile CI/CD patterns (iOS, Android, Flutter), see mobile.md.
Next.js/Nuxt builds are slow without cache. The No Cache Detected warning = full rebuild.
# GitHub Actions: persist Next.js cache
- uses: actions/cache@v4
with:
path: .next/cache
key: nextjs-${{ hashFiles('**/package-lock.json') }}
For framework-specific configs, see web.md.
| Error Pattern | Likely Cause | Check | |---------------|--------------|-------| | Works locally, fails in CI | Environment drift | Node version, env vars, OS | | Intermittent failures | Flaky tests, resource limits | Retry logic, increase timeout | | ENOENT / file not found | Build order, missing artifact | Check needs: dependencies | | Exit code 137 | Out of memory | Use larger runner or optimize | | Certificate/signing errors | Expired or mismatched creds | Regenerate with Match/Fastlane |
k8s skillserver skillmonitoring skill安装 CI-CD 后,可以对 AI 说这些话来触发它
Help me get started with CI-CD
Explains what CI-CD does, walks through the setup, and runs a quick demo based on your current project
Use CI-CD to automate builds, tests, and deployments across web, mobile, and bac...
Invokes CI-CD with the right parameters and returns the result directly in the conversation
What can I do with CI-CD in my developer & devops workflow?
Lists the top use cases for CI-CD, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/ci-cd/ 目录(个人级,所有项目可用),或 .claude/skills/ci-cd/(项目级)。重启 AI 客户端后,用 /ci-cd 主动调用,或让 AI 根据上下文自动发现并使用。
CI-CD 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
CI-CD 可免费安装使用。请查阅仓库了解许可证信息。
Automate builds, tests, and deployments across web, mobile, and backend applications.
CI-CD 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using CI-CD
Identifies repetitive steps in your workflow and sets up CI-CD to handle them automatically