Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Morningstar202604/awesome-skillkit --skill ci-cd-pipeline-buildergit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/ci-cd-pipeline-builder)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/ci-cd-pipeline-builder"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/ci-cd-pipeline-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/ci-cd-pipeline-builder"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/ci-cd-pipeline-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00152 | $0.02967 |
| Opus 5.5 | $0.00061 | $0.01187 |
| Sonnet 5.5 | $0.00030 | $0.00593 |
| Haiku 4.5 | $0.00015 | $0.00297 |
Grade A, and why
ci-cd-pipeline-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
95% identical to ci-cd-pipeline-builder — 199 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CI/CD Pipeline Builder / CI/CD 流水线构建(生成 / 门禁 / 发布)
从检测到的项目栈信号生成务实的 CI/CD 流水线(不靠猜):先探测技术栈,产出带缓存与 matrix 策略的 GitHub Actions 或 GitLab CI 基线 YAML,合并前完成校验。本 skill 适配全栈、软件开发团队,目标:把「构建 → 测试 → 扫描 → 打包 → 部署」自动化,并用门禁守住质量红线——测试不过、扫描出高危就阻断发布,且任何发布都可快速回滚。
这是什么
一套流水线设计规范 + 两个生成工具:从触发到部署的各阶段职责、门禁规则、缓存优化、密钥管理与回滚策略,产出可落地的 pipeline 配置(GitHub Actions / GitLab CI 等),而不是空泛概念。
何时使用
- 新项目从零搭 CI/CD。
- 现有流水线太慢、缺门禁、发布不可回滚,需要重构。
- 要把安全扫描、性能检查接进门禁;或跨多个仓库统一部署工作流。
- 不用于:在运行中的 runner 上调试已有流水线。
方法论:设计核心步骤
- 定触发与分支策略:push/PR/tag 各触发什么;主干受保护,只经合并进入。
- 拆阶段并行:install → lint/test/scan 并行 → build 制品 → deploy,能并行的不串行。
- 加缓存:依赖目录、构建产物缓存,缩短重复跑时间。
- 设门禁:单测、类型检查、构建、安全扫描、覆盖率阈值任一不过即失败。
- 制品与部署:构建产物版本化(commit SHA 打 tag),分环境(staging→prod)递进。
- 回滚预案:每次发布保留上一稳定版本,出问题一键回滚。
输入清单
| 输入 | 必需 | 说明 |
|---|---|---|
| 仓库路径 | 是 | 待生成流水线的项目根目录,如 . |
| CI 平台 | 是 | github / gitlab(决定 --platform,脚本仅支持这两种) |
| 输出路径 | 否 | GitHub 默认写入 .github/workflows/ 下的 ci.yml;GitLab 默认 .gitlab-ci.yml |
| 栈检测报告 | 否 | 已有 detected-stack.json 时用 --input,跳过重复检测 |
输入缺失时一次性问齐:"请提供:① 仓库路径;② 目标平台(GitHub Actions 还是 GitLab CI);③ 是否有已生成的检测报告可复用。"
前置自检
逐条执行,任一失败 → 按修复处置后 STOP:
# 1. Python 3 可用
python3 --version
# 预期:Python 3.8+。
# 2. 两个工具脚本存在
ls scripts/stack_detector.py scripts/pipeline_generator.py
# 预期:两个文件名(在技能目录内执行)。失败→cd 到技能目录;仍缺→STOP 回报。
# 3. 目标仓库存在且含栈信号
ls <仓库路径>/package.json <仓库路径>/requirements.txt <仓库路径>/pyproject.toml <仓库路径>/go.mod <仓库路径>/Cargo.toml 2>/dev/null
# 预期:至少一个文件。全空→确认项目类型,否则检测将一无所获,STOP。
工作流
步骤 1:检测技术栈
python3 scripts/stack_detector.py --repo . --format text
python3 scripts/stack_detector.py --repo . --format json > detected-stack.json
- 动作:从仓库文件(lockfile、manifest、配置)探测语言/运行时/工具链;
--input或 stdin 可喂预计算的信号 JSON 做离线分析。 - 预期:text 模式输出可读栈摘要;json 模式生成
detected-stack.json。 - 若失败:输出为空 → 仓库无已知信号文件,向用户确认项目类型后 STOP。
步骤 2:生成流水线
# 从检测报告生成(推荐,两步可复查)
python3 scripts/pipeline_generator.py \
--input detected-stack.json \
--platform github \
--output .github/workflows/ci.yml \
--format text
# 或从仓库直接端到端生成
python3 scripts/pipeline_generator.py --repo . --platform gitlab --output .gitlab-ci.yml
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 56 B
- README.md 1.1 KB
- references/deployment-gates.md 429 B
- references/github-actions-templates.md 758 B
- references/gitlab-ci-templates.md 476 B
- references/pipeline-design-notes.md 2.2 KB
- scripts/pipeline_generator.py 11 KB runs code
- scripts/stack_detector.py 6.3 KB runs code
- scripts/test_smoke_all.py 1.3 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +52 lines · +72 tokens per session a3fa81218966
- 2mo ago Changed · -9 tokens per session 4b906a8fff45
- 2mo ago Changed · +42 lines · +34 tokens per session 246a4cfe1148
- 3mo ago First seen · 95 lines · 55 tokens per session scan A ebf763bbc60d
ci-cd-pipeline-builder is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 152 tokens to every session and 2,967 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to ci-cd-pipeline-builder, differing in 199 lines, and is treated as a copy.
ci-cd-pipeline-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ci-cd-pipeline-builderMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 152 | Claude Code, Codex |
| autonomous-loopsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 26 | Claude Code, Kiro |
| deployment-patternsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 41 | Claude Code, Kiro |
| mcp-dependency-reviewaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 52 | Claude Code, Codex |
| baby-sitlangchain-ai/open-swe | Skill | 11k | today | MIT | A | 30 | Claude Code, Codex |
| meta-long-running-build-watchdogopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 131 | Claude Code |
| ci-debugyonatangross/orchestkit | Skill | 312 | today | MIT | A | 54 | Claude Code |