# CI/CD 流水线效能优化

> 通过缓存、并行与精简任务缩短 CI/CD 流水线耗时。

**Kind:** skill · **Domain:** Engineering · **ID:** `tech-cicd-pipeline-optimizer`

## 输入输出契约

| 输入 | 输出 |
| --- | --- |
| 流水线配置、各阶段耗时、构建机限制、失败记录 | 耗时拆解、瓶颈分析、优化后的流水线配置 |

## 工作流程与操作说明


2. Break total duration down by stage and identify the critical path.
4. Detect repeated work and missing caches.
6. Parallelize independent jobs within runner limits.
8. Remove or gate redundant steps.
10. Estimate new duration and show the revised config.



## 起手提示词

```text
优化这份 GitHub Actions 工作流以缩短总构建时间。
```

## 常见问题

### 这是一项真实存在于 Clavue Bot 的能力吗？

是的。本页内容由产品内置目录生成，能力名称、输入输出与操作步骤都对应真实可用的场景、技能、MCP 工具或数字员工。

### 需要额外配置工具或连接器吗？

标注「开箱即用」的能力无需额外工具；标注「需连接工具」的能力会列出所需连接器，首次运行时按提示授权即可。

### 它会未经确认就发邮件或付款吗？

不会。发信、付款、提交表单等对外动作会停下来先请你确认，你同意后才会继续。

Canonical: https://ability.clavue.com/zh/skill/tech-cicd-pipeline-optimizer/
