nx-run-tasks

Execute build, test, lint, and serve tasks in an Nx workspace.

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

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 workspace, ensuring consistency and efficiency for build, test, lint, and other defined operations.

Core Features & Use Cases

  • Task Execution: Run single or multiple Nx tasks across projects.
  • Affected Commands: Optimize CI/CD by running tasks only on changed or dependent projects.
  • Use Case: When a developer needs to build all applications and test all libraries in a large Nx monorepo, this skill can be used to execute nx run-many -t build test.

Quick Start

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

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 for multiple projects in an Nx monorepo?

To run build and test tasks across an Nx workspace, you can execute the command to run multiple tasks for all projects. This skill targets all projects simultaneously, enabling parallel execution and integrating with Nx caching to streamline task completion.

What is the best way to execute Nx tasks only on projects affected by code changes?

Executing Nx tasks on affected projects optimizes CI/CD pipelines by targeting only changed or dependent code. This skill supports affected commands, ensuring that build, test, and lint operations run solely on impacted projects to save computation time.

Can I use this skill to run lint and serve tasks alongside builds in an Nx workspace?

Yes, this skill executes lint, serve, build, and test tasks within an Nx workspace. It supports running single or multiple defined operations, providing configuration options to manage how these specific tasks are processed and executed.

Does this Nx task runner support parallel execution and caching?

Yes, the Nx task runner supports parallel execution and integrates directly with Nx caching. This ensures that build, test, and lint operations within the monorepo are processed efficiently without repeating previously completed work.

When should I use run-many to execute tasks in an Nx workspace?

You should use the run-many command when you need to execute tasks like build and test across multiple projects in a large Nx monorepo. It provides a streamlined way to target all relevant applications and libraries simultaneously with configuration options.