Skip to content
Back to skills

Build

ASecurity

Reduce CI/CD build times. Analyzes Dockerfiles, Webpack/Vite configs, and GitHub Actions workflows to identify the slowest step and apply targeted caching and build optimizations.

  • 2 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added May 26, 2026
developmentnodedockergitci/cd

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add v0idOS/performance-deity --skill build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/v0idos-build/badge)](https://www.skillsdirectory.com/skills/v0idos-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Reduce CI/CD build times. Analyzes Dockerfiles, Webpack/Vite configs, and GitHub Actions workflows to identify the slowest step and apply targeted caching and build optimizations.
---

Execute all three phases in order.

## Phase 1 — Bottleneck

Analyze whichever config file applies:
- `Dockerfile`
- `webpack.config.js` / `vite.config.ts`
- `.github/workflows/*.yml`

Identify the single step that consumes the most wall-clock time.

## Phase 2 — Fix

**Docker:**
- Reorder layers: least-changing first (OS deps, runtime), most-changing last (app code).
- Use multi-stage builds: compile in a full image, copy only the output artifact into a minimal runtime image (e.g. `alpine`).

**Webpack / Vite:**
- Enable code splitting and tree-shaking.
- Enable `TerserPlugin` with `parallel: true`.
- Set `cache: { type: 'filesystem' }` for persistent build caching.

**GitHub Actions:**
- Cache `node_modules` using `actions/cache` keyed on the hash of `package-lock.json`.
- Cache `pip` packages keyed on the hash of `requirements.txt`.
- Add `concurrency:` groups to cancel in-progress runs on force-push.

## Phase 3 — Report

State: "This change will save approximately X minutes per PR run" with explicit reasoning.

| Step | Before | After | Saved |
|---|---|---|---|
| Dependency install | Xmin | Ymin | Zmin |
| Build / compile | Xmin | Ymin | Zmin |
| Total pipeline | Xmin | Ymin | Zmin |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.