nx-run-tasks

Execute build, test, lint, and serve tasks in Nx monorepos.

26|4|Updated Jul 21, 2026
One-click install
npx skills add https://github.com/skyf0xx/hedgehog --skill nx-run-tasks-skyf0xx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/skyf0xx/hedgehog/tree/main/src/skills/nx-run-tasks
Command: npx skills add https://github.com/skyf0xx/hedgehog --skill nx-run-tasks-skyf0xx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the complexity of managing Nx workspace tasks by providing a standardized interface for executing builds, tests, and linting across projects.

Core Features & Use Cases

  • Task Orchestration: Execute single or multiple tasks across one or many projects using pnpm nx.
  • Affected Analysis: Automatically identify and run tasks only on projects impacted by recent changes to optimize CI/CD pipelines.
  • Use Case: When working in a large monorepo, use this skill to run tests only on the specific services and libraries that were modified in your current branch.

Quick Start

Use the nx-run-tasks skill to run the build and test targets for all affected 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 tests only on affected projects in an Nx monorepo?

To run tests on affected projects in an Nx monorepo, you can use the affected analysis feature. This automatically identifies and executes tasks solely on projects impacted by your recent branch changes to optimize processing.

What do I need to set up before executing build tasks in an Nx workspace?

Before executing build tasks in an Nx workspace, you need pnpm installed and a valid Nx workspace configuration. These prerequisites allow the system to interface with project targets and cache mechanisms.

Can I run multiple tasks across different projects using pnpm nx?

Yes, you can execute multiple tasks across different projects using pnpm nx. Task orchestration allows you to run single or multiple operations like build, test, lint, and serve across various workspace projects.

How does dependency-aware affected project processing optimize CI/CD pipelines?

Dependency-aware affected project processing optimizes CI/CD pipelines by automatically identifying changed projects and running tasks exclusively on them. This prevents redundant executions on unaffected libraries and services.

Is there a standardized way to execute linting across an entire Nx workspace?

Yes, a standardized interface exists for executing linting across an Nx workspace. It eliminates management complexity by providing a unified method to run lint tasks alongside builds and tests.

Why should I use a dedicated interface for Nx workspace task execution?

You should use a dedicated interface for Nx workspace task execution to eliminate the complexity of managing operations manually. It provides a standardized way to execute builds, tests, and linting across projects.