nx-run-tasks

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

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/rafael-hc/AoPonto-FoodService --skill nx-run-tasks-rafael-hc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/rafael-hc/AoPonto-FoodService/tree/main/.agents/skills/nx-run-tasks
Command: npx skills add https://github.com/rafael-hc/AoPonto-FoodService --skill nx-run-tasks-rafael-hc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the execution of various tasks within an Nx monorepo, such as building, testing, linting, and serving projects, by leveraging Nx's powerful command-line interface.

Core Features & Use Cases

  • Task Execution: Run single tasks, multiple tasks across projects, or tasks on affected projects.
  • Workspace Management: Efficiently manage build, test, lint, and other development workflows.
  • Use Case: When a developer wants to quickly test all code changes that affect the API layer, they can use this Skill to run tests only on the relevant projects.

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, test, and lint tasks in an Nx monorepo?

To run build, test, and lint tasks in an Nx monorepo, you execute single or multiple tasks across projects using the Nx CLI. This streamlines workspace management by handling development workflows efficiently.

How do I run tests only on projects affected by recent code changes in an Nx workspace?

Running tests on affected projects in an Nx workspace targets only code impacted by recent changes. This optimizes development time by executing necessary test tasks without processing the entire monorepo.

Do I need the Nx CLI installed to execute monorepo tasks?

Yes, you need the Nx CLI installed and configured within your workspace. This requirement ensures deterministic task management when executing build, test, lint, and serve commands across projects.

What is the best way to execute multiple development tasks across different projects in a monorepo?

Executing multiple tasks across different projects in a monorepo is best handled by leveraging Nx CLI commands. This approach efficiently manages build, test, and lint workflows for all affected or targeted projects.

Can I use this approach to serve projects within an Nx workspace?

Yes, you can use this approach to serve projects within an Nx workspace. The task execution supports serving alongside building, testing, and linting to manage complete development workflows.

Why execute tasks on affected projects instead of the entire Nx workspace?

Executing tasks on affected projects instead of the entire Nx workspace saves time by testing only code impacted by recent changes. This targeted task execution optimizes continuous integration and local development.