nx-run-tasks

Execute Nx tasks on single, multiple, or affected projects.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/TheSpiciestDev/com-userevals --skill nx-run-tasks-thespiciestdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/TheSpiciestDev/com-userevals/tree/main/.cursor/skills/nx-run-tasks
Command: npx skills add https://github.com/TheSpiciestDev/com-userevals --skill nx-run-tasks-thespiciestdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the execution of development tasks within an Nx monorepo, ensuring that build, test, lint, and other commands are run correctly and efficiently.

Core Features & Use Cases

  • Task Execution: Run single or multiple Nx tasks across projects.
  • Affected Commands: Automatically identify and run tasks only on projects impacted by recent code changes.
  • Use Case: When a developer needs to build and test all applications in a large Nx workspace after making changes to a shared library, this Skill can be used to run nx affected -t build test.

Quick Start

Use the nx-run-tasks skill to run the build and test tasks for all affected projects.

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 build and test tasks only on affected projects in an Nx monorepo?

To run build and test tasks on affected projects in an Nx monorepo, you can execute targeted commands like `nx affected -t build test`. This leverages Nx's affected project detection to run tasks only on projects impacted by recent code changes.

What is the best way to execute multiple tasks across an Nx workspace?

Executing multiple tasks across an Nx workspace involves running single or multiple task commands across your projects. This approach streamlines development by ensuring build, test, and lint commands run correctly and efficiently within the monorepo.

Does Nx caching help optimize CI pipelines for monorepos?

Yes, Nx caching helps optimize CI pipelines for monorepos. The task execution skill leverages Nx's caching and affected project detection to optimize CI/CD pipelines and local development workflows by skipping unchanged tasks.

When do I need to use targeted task runs in an Nx workspace?

You need targeted task runs in an Nx workspace when a developer makes changes to a shared library and needs to build and test all impacted applications. This ensures that only the affected projects are processed, saving time.

Can I run lint and serve commands using Nx task execution?

Yes, you can run lint and serve commands using Nx task execution. The skill is designed for developers managing monorepos to efficiently build, test, lint, and serve projects by executing the necessary workspace tasks.

Why run affected commands instead of all tasks in an Nx workspace?

Running affected commands instead of all tasks in an Nx workspace automatically identifies and runs tasks only on projects impacted by recent code changes. This prevents unnecessary task execution and optimizes local development workflows.