返回 Skill 列表
DevOps进阶
CI/CD 流水线配置 Skill
自动生成 GitHub Actions / GitLab CI。测试→构建→部署全自动。
📋 SKILL.md 完整代码
--- name: cicd-skill description: >- 自动生成 GitHub Actions / GitLab CI。测试→构建→部署全自动。 Use when working on cicd skill tasks. allowed-tools: Read,Write,Bash --- # CI/CD 流水线配置 Skill ## Quick Start 1. Save as `~/.claude/skills/cicd-skill/SKILL.md` 2. Restart Claude Code 3. Type `/cicd-skill` or describe your task naturally 4. Claude auto-triggers when your task matches the description ## Instructions - Understand the user's specific context and needs - Apply domain best practices consistently - Provide actionable, specific guidance with examples - Verify all outputs before presenting to user ## Gotchas - Test with a fresh Claude instance after changes - Keep SKILL.md under 500 lines; use references/ for details - Description is the trigger key — make it specific and keyword-rich
🚀 怎么用
1. 复制上面的 SKILL.md 代码 2. 保存为 ~/.claude/skills/cicd-skill/SKILL.md 3. 重启 Claude Code 4. 输入 /cicd-skill 或直接描述任务触发 5. AI 自动按 Skill 流程执行
CI/CD 是什么
Continuous Integration(持续集成):每次提交自动测试。Continuous Delivery(持续交付):测试通过自动部署。好处:减少手动操作→避免人为失误→更快发现Bug→更快上线。配置一次,受益终身。