nx-run-tasks

Execute Nx workspace tasks with filtering and caching options.

3|2|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/storm-software/powerlines --skill nx-run-tasks-storm-software
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/storm-software/powerlines/tree/main/.opencode/skills/nx-run-tasks
Command: npx skills add https://github.com/storm-software/powerlines --skill nx-run-tasks-storm-software

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the execution of development tasks within an Nx workspace, ensuring consistency and leveraging Nx's caching and affected project capabilities.

Core Features & Use Cases

  • Task Execution: Run single or multiple tasks across projects (e.g., build, test, lint).
  • Affected Commands: Efficiently run tasks only on projects impacted by code changes.
  • Configuration: Supports custom configurations and flags for fine-grained control.
  • Use Case: When a developer needs to build and test only the projects affected by a recent change in a large monorepo, this Skill provides the precise Nx commands to do so.

Quick Start

Use the nx-run-tasks skill to run the build and test tasks for all affected projects.

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 and test tasks only for affected projects in an Nx monorepo?

To run tasks on affected projects in an Nx monorepo, you can use the affected commands provided by this Skill to execute builds and tests only on projects impacted by recent code changes.

Can I execute multiple Nx workspace tasks in parallel with custom caching control?

Yes, you can execute multiple Nx workspace tasks in parallel while retaining fine-grained control over caching, verbosity, and configuration flags to optimize your monorepo development workflow.

What is the best way to filter Nx task execution by project tags or modified files?

Filtering Nx task execution is handled by applying project tags and file-based filters within the command, ensuring that tasks run precisely on the targeted subset of your monorepo projects.

Does this approach support running single tasks across different projects in a CI/CD pipeline?

Yes, single task execution is fully supported and can be integrated into CI/CD pipelines, allowing you to run targeted builds, tests, or linting across specific projects in your Nx workspace.

When do I need to configure verbosity and caching flags for Nx task execution?

You need to configure verbosity and caching flags when you require detailed output logging or want to bypass Nx's cache during task execution to validate a clean build in your monorepo.

Are there limitations when using affected commands for large monorepo task execution?

The affected commands are designed to optimize large monorepo task execution, but limitations arise if your project dependencies are not properly mapped within the Nx workspace configuration.