nx-integration

Detect affected projects and run targets across an Nx workspace.

6|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/open-hax/opencode-skills --skill nx-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-integration
Source: https://github.com/open-hax/opencode-skills/tree/main/.opencode/skills/nx-integration
Command: npx skills add https://github.com/open-hax/opencode-skills --skill nx-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects affected projects and runs targets across a multi-submodule Nx workspace to optimize CI cycles.

Core Features & Use Cases

  • Detect affected projects via nx affected
  • Run targets (test, build, lint, typecheck) for affected projects
  • Generate Nx project configurations for submodules and maintain workspace graph

Quick Start

Run a quick check to identify affected projects and execute a target across them.

Frequently Asked Questions about nx-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect affected projects in an Nx monorepo to optimize CI cycles?

This Skill orchestrates Nx workspaces by running nx affected to detect changed modules. It identifies scope and applicability across your monorepo to optimize CI cycles by only processing the affected projects.

Can I run build, test, lint, and typecheck targets for affected projects in an Nx workspace?

Yes, you can run build, test, lint, and typecheck targets across your Nx workspace. The Skill detects affected projects and executes the specified target across them to validate changes efficiently.

Do I need an existing nx.json file to run targets across a multi-submodule workspace?

Yes, an existing Nx workspace complete with an nx.json file is required. The Skill relies on this configuration to detect affected projects and execute targets across your multi-submodule setup.

What is the best way to generate Nx project configurations for submodules?

Generating Nx project configurations for submodules is handled by maintaining the workspace graph. The Skill automates this process to ensure targets like build and test run correctly across detected affected projects.

When should I not use nx affected for running targets in a monorepo?

You should avoid using nx affected orchestration if your repository lacks an nx.json file or standard Nx configuration. The Skill explicitly requires an Nx workspace to detect affected projects and execute targets successfully.