Build
A ruthlessly strict algorithmic optimization methodology for AI coding agents. Forces your agent to profile, benchmark, and mathematically prove performance gains before writing code.
npx -y skills add v0idOS/performance-deity --skill buildAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.4 KB, as published. Nobody here has run it
Execute all three phases in order.
Phase 1 — Bottleneck
Analyze whichever config file applies:
Dockerfilewebpack.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
TerserPluginwithparallel: true. - Set
cache: { type: 'filesystem' }for persistent build caching.
GitHub Actions:
- Cache
node_modulesusingactions/cachekeyed on the hash ofpackage-lock.json. - Cache
pippackages keyed on the hash ofrequirements.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 |