Skills for Real Engineers. Straight from my .agents directory.
playwright-ci-caching
Agent skill fromAaronontheweb/dotnet-skills
Cache Playwright browser binaries in CI/CD pipelines (GitHub Actions, Azure DevOps) to avoid 1-2 minute download overhead on every build.
How to install playwright-ci-caching
npx skills add Aaronontheweb/dotnet-skills# or add only this skill to Claude Code: copy the folder
skills/playwright-ci-caching/
# into
~/.claude/skills/playwright-ci-caching/ (all projects)
.claude/skills/playwright-ci-caching/ (one project)
1# Caching Playwright Browsers in CI/CD23## When to Use This Skill45Use this skill when:6- Setting up CI/CD for a project with Playwright E2E tests7- Build times are slow due to browser downloads (~400MB, 1-2 minutes)8- You want automatic cache invalidation when Playwright version changes9- Using GitHub Actions or Azure DevOps pipelines1011## The Problem1213Playwright browsers (~400MB) must be downloaded on every CI run by default. This:14- Adds 1-2 minutes to every build15- Wastes bandwidth16- Can fail on transient network issues17- Slows down PR feedback loops1819## Core Pattern20211. **Extract Playwright version** from `Directory.Packages.props` (CPM) to use as cache key222. **Cache browser binaries** using platform-appropriate paths233. **Conditional install** - only download on cache miss244. **Automatic cache bust** - key includes version, so package upgrades invalidate cache2526## Cache Paths by OS2728| OS | Path |29|----|------|30| Linux | `~/.cache/ms-playwright` |31| macOS | `~/Library/Caches/ms-playwright` |32| Windows | `%USERPROFILE%\AppData\Local\ms-playwright` |3334## GitHub Actions3536```yaml37- name: Get Playwright Version38 shell: pwsh39 run: |40 $propsPath = "Directory.Packages.props"41 [xml]$props = Get-Content $propsPath42 $version = $props.Project.ItemGroup.PackageVersion |43 Where-Object { $_.Include -eq "Microsoft.Playwright" } |44 Select-Object -ExpandProperty Version45 echo "PlaywrightVersion=$version" >> $env:GITHUB_ENV4647- name: Cache Playwright Browsers48…
Excerpt shown under the repository's MIT license.
More skills in dotnet-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
