nx-executors

Design and implement reusable Nx executors for TypeScript monorepos.

1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/pantheon-org/opencode-plugins --skill nx-executors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-executors
Source: https://github.com/pantheon-org/opencode-plugins/tree/main/.opencode/skills/nx-executors
Command: npx skills add https://github.com/pantheon-org/opencode-plugins --skill nx-executors

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams design, implement, and reuse Nx executors to streamline CI/CD and build workflows in TypeScript monorepos.

Core Features & Use Cases

  • Executor Structure: Define executor files, a registry, and a TypeScript implementation.
  • Schema Definitions & Validation: Create and validate JSON schemas for runtime config.
  • ExecutorContext API Usage: Access project graph and runtime context to drive tasks across projects.
  • Use Case: Reuse a standard executor across multiple apps to implement common build steps like linting, testing, or packaging.

Quick Start

Install and configure an Nx workspace, then scaffold and register a new executor, integrate with a monorepo, and run targets via bunx nx run.

Frequently Asked Questions about nx-executors

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

FAQPage Schema
How do I create reusable Nx executors for a TypeScript monorepo?

To create reusable Nx executors, define the executor file structure, register it, and implement the TypeScript logic. This skill helps you scaffold executors and integrate them into your Nx workspace to standardize build tasks across multiple projects.

What is the ExecutorContext API and how is it used in Nx build tasks?

The ExecutorContext API provides access to the project graph and runtime context within an Nx workspace. It drives task execution across projects, allowing executors to dynamically interact with workspace configurations during build steps like linting or packaging.

Do I need a configured Nx workspace to implement custom executors?

Yes, you need a configured Nx workspace and familiarity with TypeScript. Access to a monorepo containing executor templates is also required to properly scaffold, register, and run custom executor targets using the `bunx nx run` command.

How do I validate runtime configuration for Nx executors?

You validate runtime configuration for Nx executors by creating and validating JSON schemas. This skill covers schema definitions to ensure runtime config passed to your executor targets is properly typed and validated before execution.

Can I reuse a standard Nx executor across multiple apps for common build steps?

Yes, you can reuse a standard Nx executor across multiple apps. This skill enables teams to design and implement reusable executors that standardize common build steps like linting, testing, or packaging across all projects in a TypeScript monorepo.

What is the best way to streamline CI/CD workflows in an Nx monorepo?

The best way to streamline CI/CD in an Nx monorepo is by designing and implementing reusable Nx executors. This approach standardizes build workflows, allowing teams to share common task logic across multiple applications instead of duplicating scripts.