pipeline-optimization

Analyzes CI/CD pipeline configurations for speed, cost, and reliability improvements.

1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/codewizwit/human-in-the-loop --skill pipeline-optimization-codewizwit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pipeline-optimization
Source: https://github.com/codewizwit/human-in-the-loop/tree/main/lib/skills/pipeline-optimization
Command: npx skills add https://github.com/codewizwit/human-in-the-loop --skill pipeline-optimization-codewizwit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? CI/CD pipelines often accumulate inefficiencies like redundant steps, missing caches, and over-provisioned runners that inflate build times and costs. This Skill inspects your pipeline configurations and produces a prioritized optimization report with concrete before/after code examples. ## Core Features & Use Cases - Multi-Platform Discovery: Auto-detects GitHub Actions, GitLab CI, CircleCI, and Jenkins configuration files in your workspace. - Six-Dimension Analysis: Evaluates execution speed, caching strategy, cost, reliability, developer experience, and security. - Prioritized Report: Generates an executive summary, before/after comparisons, estimated savings, and a phased implementation roadmap. - Use Case: Your GitHub Actions workflow takes 12 minutes per run and costs $50/month. The Skill identifies missing dependency caching and sequential jobs, then provides an optimized YAML configuration projected to cut duration by 40%. ## Quick Start Ask the assistant to analyze your CI/CD pipeline and suggest optimizations to reduce duration and cost.

Frequently Asked Questions about pipeline-optimization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize a GitHub Actions workflow for speed?▼

Analyze the workflow for missing dependency caching, sequential jobs that could run in parallel, and redundant steps. The Skill reads your .github/workflows YAML files and returns specific optimizations with before/after code examples and estimated time savings.

How to reduce CI/CD pipeline costs?▼

Reduce costs by improving cache hit rates, right-sizing runners, trimming unnecessary matrix builds, and failing fast on errors. The analysis estimates monthly savings per optimization and prioritizes high-impact, low-effort changes first.

Which CI/CD platforms are supported for pipeline analysis?▼

The Skill supports GitHub Actions, GitLab CI, CircleCI, and Jenkins, with auto-detection of configuration files like .github/workflows/*.yml, .gitlab-ci.yml, .circleci/config.yml, and Jenkinsfile. It can also locate azure-pipelines.yml and .travis.yml.

Can I analyze my pipeline without knowing current metrics?▼

Yes, you can answer "unknown" when asked for duration, cost, and success rate. The Skill still performs static analysis of your configuration files and identifies optimization opportunities based on structure rather than baseline metrics.

What are common CI caching mistakes that slow pipelines?▼

Common mistakes include missing dependency caching, overly broad or unstable cache keys, and skipping Docker layer caching. The analysis checks cache key strategy, invalidation rules, and cache sizing, then recommends concrete fixes with YAML examples.