nx-run-tasks

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes the complexity of managing task execution in an Nx-based monorepo by providing a standardized interface for running builds, tests, and linting across projects.

Core Features & Use Cases

  • Targeted Execution: Run specific tasks like build, test, or lint on individual projects or groups of projects.
  • Affected Analysis: Automatically identify and run tasks only for projects impacted by recent code changes to optimize CI/CD pipelines.
  • Use Case: When a developer needs to verify changes, they can use this skill to run tests only on the affected libraries and applications, significantly reducing feedback time.

Quick Start

Use the nx-run-tasks skill to execute the test command for all projects affected by the latest changes in the main 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 affected projects in an Nx monorepo?

To run tasks only for affected projects in an Nx monorepo, you can use affected analysis to automatically identify and execute builds, tests, or linting solely on projects impacted by recent code changes. This optimizes CI/CD pipelines by significantly reducing feedback time.

What is the best way to execute build and test tasks across multiple Nx workspace projects?

The best way to execute build and test tasks across multiple Nx workspace projects is using a standardized interface for task orchestration. This allows you to run specific commands on individual projects or filtered project sets reliably using pnpm or npm.

Do I need pnpm or npm to run Nx tasks?

Yes, you need either pnpm or npm to run Nx tasks. The task execution environment requires pnpm or npm package manager integration to invoke Nx CLI commands reliably for managing your build, test, lint, and serve operations.

How does affected analysis optimize CI/CD pipelines in an Nx workspace?

Affected analysis optimizes CI/CD pipelines in an Nx workspace by automatically identifying projects impacted by recent code changes. It runs tasks only for those affected libraries and applications, significantly reducing feedback time during development.

Can I lint a specific project within an Nx monorepo?

Yes, you can lint a specific project within an Nx monorepo. The task runner supports targeted execution, allowing you to run specific tasks like build, test, or lint on individual projects or filtered project sets.