nx-run-tasks

Execute Nx tasks across multi-project workspaces with run, run-many, and affected commands.

Updated Jun 19, 2025
One-click install
npx skills add https://github.com/bennrwl/psychic-eureka --skill nx-run-tasks-bennrwl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/bennrwl/psychic-eureka/tree/main/.cursor/skills/nx-run-tasks
Command: npx skills add https://github.com/bennrwl/psychic-eureka --skill nx-run-tasks-bennrwl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate and automate running Nx tasks (build, test, lint, and serve) across an Nx workspace to improve consistency and speed.

Core Features & Use Cases

  • Run single tasks: Execute a specific target on a given project, such as nx run myapp:build.
  • Run multiple tasks: Use run-many to execute several targets across projects in parallel or sequentially.
  • Affected workflows: Use nx affected to run tasks only on changed projects and their dependents.
  • Guidance: Understand targets via nx show project <name> --json and inspect package.json or project.json for available targets.

Quick Start

Run tasks across the workspace by asking the AI to execute commands such as nx run-many -t build test lint.

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 workspace?

Use nx affected commands to run tasks only on changed projects and their dependents within an Nx workspace. This affected workflow optimizes build, test, and lint execution by skipping unaffected projects.

How do I discover available targets for a specific project in an Nx workspace?

Discover available targets by inspecting package.json or project.json files, or by running nx show project <name> --json. This reveals the specific build, test, lint, and serve targets configured for that project.

Can I execute a single Nx task for one project?

Yes, you can execute a single target on a given project using the nx run command, such as nx run myapp:build. This allows precise task execution for individual projects within your workspace.

What is the best way to coordinate build, test, and lint tasks in a multi-project Nx workspace?

The best way to coordinate build, test, and lint tasks in a multi-project Nx workspace is using task execution commands like nx run-many. This automates target execution across projects, providing guidance on parallelism and project selection to improve speed.