nx-run-tasks

Execute Nx workspace tasks across projects with run-many and affected options.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/lhew/movingday --skill nx-run-tasks-lhew
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/lhew/movingday/tree/main/.agents/skills/nx-run-tasks
Command: npx skills add https://github.com/lhew/movingday --skill nx-run-tasks-lhew

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running tasks in an Nx workspace can be repetitive and error-prone when coordinating builds, tests, and lint across multiple projects. This Skill provides a quick, consistent way to execute Nx targets from a single point of control.

Core Features & Use Cases

  • Execute single-project or multi-project Nx targets (build, test, lint, serve) across the workspace.
  • Use run-many, affected, and parallel options to speed up CI and local development.
  • Apply to monorepos with many projects to ensure consistent task execution and reporting.

Quick Start

Tell the assistant to run a specific Nx target, for example nx run myapp:build

Frequently Asked Questions about nx-run-tasks

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

FAQPage Schema
How do I run Nx tasks across multiple projects in a monorepo?▼

To run Nx tasks across multiple projects, you can execute targets like build, test, and lint using run-many or affected options. This streamlines task execution and optimizes both local development and CI pipelines.

What is the best way to execute affected Nx targets for CI optimization?▼

Executing affected Nx targets optimizes CI by running only build, test, and lint tasks for projects changed by a commit. This approach uses parallel execution to speed up pipelines and ensure reliable task reporting.

Can I use this to run package.json scripts and Nx targets defined in project.json?▼

Yes, you can run package.json scripts and targets defined in project.json. It supports common Nx CLI options to ensure safe execution and error reporting for both single-project and multi-project workspace commands.

How do I run build and test commands in parallel using the Nx CLI?▼

You can run build and test commands in parallel using the run-many Nx CLI option. This applies parallel task execution across workspace projects to speed up local development and CI workflows safely.

Does this approach support running a single project serve command in an Nx workspace?▼

Yes, running a single project serve command is fully supported in an Nx workspace. You can execute specific targets like nx run myapp:serve directly, streamlining local development and task execution.