What problem does it solve?
Managing builds, caching, and task execution in a large monorepo can be slow and complex, especially with remote caching and authentication. This skill provides expert guidance on the Turborepo workflow, ensuring fast, efficient, and correctly authenticated builds.
Core Features & Use Cases
- Optimized Build Workflow: Enforces the critical pattern of using root-level
pnpm scripts for all Turborepo commands to leverage remote caching and authentication.
- Remote Cache Management: Explains the custom
turbo-wrapper.js authentication system (1Password, .env, CI/CD env vars) and how to troubleshoot caching issues.
- Efficient Task Execution: Guides on using Turborepo's filter syntax to target specific packages for faster builds, tests, and development cycles.
- Use Case: When a CI build is running slowly, use this skill to verify that remote caching is enabled and correctly authenticated, and to apply filters to only build necessary packages.
Quick Start
Build only the @lsst-sqre/squared package, leveraging Turborepo's remote cache.
pnpm build --filter @lsst-sqre/squared