nx-run-tasks

Orchestrate build, test, and lint tasks in an Nx monorepo.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/AyalaKaguya/hermes-swarm --skill nx-run-tasks-ayalakaguya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/AyalaKaguya/hermes-swarm/tree/main/.opencode/skills/nx-run-tasks
Command: npx skills add https://github.com/AyalaKaguya/hermes-swarm --skill nx-run-tasks-ayalakaguya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the management and execution of complex build, test, and linting workflows within an Nx monorepo, removing the need to manually track project-specific commands.

Core Features & Use Cases

  • Targeted Execution: Run specific tasks across single or multiple projects using Nx's powerful filtering capabilities.
  • Affected Analysis: Automatically identify and process only the projects impacted by recent code changes to optimize CI/CD pipelines.
  • Use Case: When working in a large monorepo, use this Skill to run tests only on the projects affected by your latest commit, significantly reducing build times.

Quick Start

Use the nx-run-tasks skill to run the build and test targets for all projects affected by the changes in the current branch.

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 tasks only for projects affected by recent code changes in an Nx monorepo?

Running targeted tasks in an Nx monorepo involves using Nx filtering capabilities to execute build, test, and linting workflows across single or multiple projects. This removes the need to manually track project-specific commands and streamlines development processes.

Do I need access to the workspace root to execute Nx CLI commands?

Nx affected analysis identifies and processes only the projects impacted by recent code changes to optimize CI processes. By evaluating the dependency graph, it ensures that CI/CD pipelines run necessary build and test targets without wasting time on unaffected projects.

How do I run build and test targets for all projects affected by changes in my current branch?

You can run specific tasks across single or multiple projects in an Nx monorepo by using Nx's powerful filtering capabilities. This allows you to target specific project-level operations for build, test, and linting workflows without manual tracking.

What is the best way to optimize CI pipelines in a large Nx monorepo?

To optimize CI pipelines, use Nx affected analysis to automatically identify and process only the projects impacted by recent code changes. This approach significantly reduces build times by skipping unaffected projects during workflow execution.