BACK TO TEMPLATES
promptany
Monorepo Affected Packages CI Pipeline Prompt
Prompt for generating Turborepo / Nx CI workflows running tests and builds only on git affected packages.
When to use this
Use when designing efficient monorepo CI pipelines that skip unchanged workspace packages.
The template
Generate a GitHub Actions workflow for a `[Turborepo / Nx / pnpm workspace]` monorepo. Requirements: 1. Use git diff branching to calculate affected workspace packages. 2. Execute linting, typechecking, and unit testing in parallel across affected packages only. 3. Cache remote build outputs to minimize CI execution duration. Monorepo Structure Details: [PASTE MONOREPO STRUCTURE AND PACKAGE LIST HERE]
How to use
Run when setting up Turborepo or Nx monorepo workflows.
Last verified 2026-07-26