ci-optimization-specialist

Optimize GitHub Actions CI/CD workflows with test sharding and caching.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/d-oit/do-novelist-ai --skill ci-optimization-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-optimization-specialist
Source: https://github.com/d-oit/do-novelist-ai/tree/main/.claude/skills/ci-optimization-specialist
Command: npx skills add https://github.com/d-oit/do-novelist-ai --skill ci-optimization-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Optimizes GitHub Actions CI/CD workflows through test sharding, intelligent caching, and workflow parallelization.

Core Features & Use Cases

  • Test Sharding: Parallel test execution across multiple runners.
  • Caching: pnpm store, Playwright browsers, and Vite build cache.
  • Workflow Optimization: Refined job dependencies and concurrency controls.

Quick Start

Add a matrix strategy for test shards, configure caches, and optimize workflow dependencies.

Frequently Asked Questions about ci-optimization-specialist

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

FAQPage Schema
How do I speed up GitHub Actions workflows with caching and parallel testing?

Speed up GitHub Actions by implementing test sharding across multiple runners, configuring caches for pnpm store and Playwright browsers, and optimizing job dependencies. Matrix strategies distribute tests in parallel, reducing total runtime and cost.

What's the best way to reduce CI pipeline runtime for long-running test suites?

Reduce CI runtime by splitting tests across sharded jobs using matrix strategies and enabling workflow parallelization. Combine this with intelligent caching of pnpm dependencies, Playwright browsers, and Vite build artifacts to minimize redundant work.

Can I use test sharding with GitHub Actions to run tests in parallel?

Yes. Test sharding distributes test execution across multiple runners using matrix-based job strategies. Each runner processes a subset of tests concurrently, significantly reducing total workflow duration compared to sequential execution.

How do I configure caching for pnpm, Playwright, and Vite in GitHub Actions?

Configure caching by storing the pnpm store, Playwright browser binaries, and Vite build cache in GitHub Actions cache layers. Proper cache keys and paths prevent redundant installations and builds across workflow runs.

What are the limitations of CI optimization through workflow parallelization?

Parallelization gains depend on available runner capacity and job overhead. Excessive sharding can increase setup time; concurrency controls prevent runner saturation. Cost savings vary based on pipeline structure and cache hit rates.