nx-run-tasks

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

5.0k|454|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/tech-leads-club/agent-skills --skill nx-run-tasks-tech-leads-club
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/%28tooling%29/nx-run-tasks
Command: npx skills add https://github.com/tech-leads-club/agent-skills --skill nx-run-tasks-tech-leads-club

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates running tasks inside an Nx workspace, helping teams execute build, test, lint, serve, or any defined task across multiple projects with minimal effort.

Core Features & Use Cases

  • Cross-project task orchestration: Run a single task for one project or multiple tasks across many projects.
  • Task discovery and guidance: Inspect project.json/package.json to determine available targets and scripts.
  • Use case example: Imagine you need to build, test, and lint all projects in your monorepo; this skill can coordinate nx run-many to perform these tasks efficiently in CI or locally.

Quick Start

Use the nx-run-tasks skill to run tasks in your Nx workspace.

  • Run a single task: nx run <project>:<task> (e.g. nx run myapp:build)
  • Run multiple tasks: nx run-many -t build test lint
  • Explore available targets: nx show project <project> --json or inspect package.json/project.json

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

To run build and test tasks across multiple projects in an Nx monorepo, use the nx run-many command with the target flag, such as nx run-many -t build test lint, to execute tasks efficiently in parallel.

What is the best way to execute specific tasks for a single project in an Nx workspace?

The best way to execute a specific task for a single project in an Nx workspace is using the nx run command followed by the project and target name, like nx run myapp:build.

How can I discover available task targets defined in an Nx project?

You can discover available task targets in an Nx project by inspecting the project.json or package.json files, or by running nx show project <project> --json to output the defined targets and scripts.

Do I need Nx installed globally to run tasks in my workspace?

You do not need Nx installed globally to run tasks in your workspace; commands can be prefixed with package runners like npx, pnpx, or yarn to execute the required Nx commands locally.

Can I use this to run only the tasks affected by my recent code changes?

Yes, you can run only the tasks affected by your recent code changes by using the nx affected command, which orchestrates builds, tests, and lints specifically for the impacted projects in the monorepo.