AGENT SKILL

yarn-cache-install

Install a locked Yarn 4 project after restoring its package cache in a fresh job.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
yarn-cache-install
license
Apache-2.0
description
Install a locked Yarn 4 project after restoring its package cache in a fresh job.

02 资源文件 5

03 SKILL.md 正文

Install Yarn 4 dependencies after restoring the package cache

Apply the repository's mandatory agent tools and controlling instructions. This repair addresses Yarn 4 only.

The source action calls yarn cache dir, a Yarn Classic command rejected by Yarn 4. For Yarn 4, yarn config get cacheFolder reports the configured cache location. Select yarn.lock as the lockfile input to cache-key mechanisms, and follow the project's Yarn configuration. The source action defaults to a package-lock.json pattern, which is not a Yarn lockfile.

Ensure the project's declared, compatible Yarn version is available in the job before invoking it. Do not assume Corepack ships with every Node installation: Node stopped distributing it starting with Node 25. Provision the project's chosen package manager using its documented installation mechanism.

Run yarn install --immutable in the project directory even on a package-cache hit. Cached package archives are not the linked project state. This matters for both node_modules and Plug'n'Play projects. Keep an inconsistent lockfile as an installation failure. Respect project-specific zero-install and cache configuration; verify those arrangements before making broader assumptions.

The component review records the exact offline fixture and its limitations. It does not qualify Yarn Classic, pnpm, a real GitHub cache service, or agent performance.

04 同仓库更多 Skills

strmt7
strmt7/ai_skills_collection_benchmarked

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

测试与质量前端开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

Skill与智能体开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive checks, UX validation, login flows, link checks, and arbitrary browser automation. Use when the user wants to test a website, automate browser interactions, validate web functionality, or perform browser-based testing.

测试与质量Skill与智能体开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

前端开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

设计师前端开发视觉设计
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

★ 1