nx-run-tasks

Run Nx workspace tasks across projects with filtering and affected selection.

Updated May 5, 2026
One-click install
npx skills add https://github.com/Movchanets/Microservices_Learning --skill nx-run-tasks-movchanets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/Movchanets/Microservices_Learning/tree/main/.agents/skills/nx-run-tasks
Command: npx skills add https://github.com/Movchanets/Microservices_Learning --skill nx-run-tasks-movchanets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you discover and run tasks in an Nx workspace without guessing the right project names, task targets, or command flags.

Core Features & Use Cases

  • Task Discovery: Inspect project targets to see which build, test, lint, serve, or typecheck actions are available.
  • Single and Bulk Execution: Run one project task or fan out to multiple projects with filtering and exclusion options.
  • Affected Workflows: Target only changed projects and their dependents for efficient local development and CI runs.
  • Use Case: A developer can quickly determine the correct command to build a service, run its tests, or execute only the affected projects after a change.

Quick Start

Ask the skill to find the available Nx tasks for a project and produce the exact command needed to run the desired build, test, lint, or affected workflow.

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 workspace tasks for build, test, and lint without guessing project names?

Nx workspace tasks can be discovered and executed by inspecting project graphs and inferred targets. This approach identifies available build, test, and lint actions, generating exact commands without manual project name lookups.

How do I execute only affected tasks in an Nx monorepo after a code change?

Affected workflows in an Nx monorepo target only changed projects and their dependents. This filters execution to modified code paths, ensuring efficient local development and CI runs by avoiding unnecessary task execution.

Can I run Nx tasks across multiple projects with filtering and exclusion options?

Nx supports running tasks across multiple projects through run-many filtering. You can fan out execution to selected projects while applying exclusion options, common cache settings, and parallelism flags for bulk task processing.

What is the best way to find available serve or typecheck targets in an Nx monorepo?

Task discovery inspects Nx project targets to reveal available serve or typecheck actions. By leveraging the Nx project graph, it maps out all inferred targets so you can quickly identify and run the desired workspace task.

Does this approach support common cache and parallelism configuration flags for Nx tasks?

Nx task execution supports common cache, parallelism, and configuration flags. Applying these flags to build, test, or lint workflows optimizes task performance and manages execution behavior across the monorepo projects.