nx-run-tasks

Automate single, multi, and affected task runs in Nx workspaces.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/HL8-ORG/oksai --skill nx-run-tasks-hl8-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-run-tasks
Source: https://github.com/HL8-ORG/oksai/tree/main/.opencode/skills/nx-run-tasks
Command: npx skills add https://github.com/HL8-ORG/oksai --skill nx-run-tasks-hl8-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nx monorepos often require running multiple targets across projects; this Skill centralizes and simplifies task execution.

Core Features & Use Cases

  • Discover available targets across projects by inspecting project.json/package.json or using Nx commands.
  • Run a single task on one project or orchestrate multiple tasks across several projects with Nx run-many or affected workflows.
  • Use in CI to optimize feedback loops by executing only affected projects and by caching results where possible.

Quick Start

Ask to run a specific Nx task for a project, such as building a given app.

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 across multiple projects in an Nx monorepo?

To run tasks across multiple projects in an Nx monorepo, use the run-many or affected workflows. This orchestrates single or multi-task executions by discovering targets from project.json or package.json files via the Nx CLI.

How do I execute build and test targets only for affected projects in CI?

Executing build and test targets for affected projects in CI uses Nx affected workflows. This optimizes feedback loops by running tasks only on changed projects and caching results where possible.

What is the best way to discover available targets in an Nx workspace?

Discovering available targets in an Nx workspace is done by inspecting project.json or package.json files. The Nx tooling automatically identifies these targets to enable centralized task execution.

Can I run a single task for one project without executing the entire workspace?

Yes, you can run a single task for one project without executing the entire workspace. You simply ask to run a specific Nx task, such as building a given app, and the Nx CLI handles the isolated execution.

Do I need Nx tooling configured to automate monorepo task orchestration?

Yes, you need Nx tooling configured to automate monorepo task orchestration. The automation relies on the Nx CLI to discover targets from project configuration files and execute them across the workspace.