nx-plugin-authoring

Guide users through authoring custom Nx plugins, generators, and executors.

9|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/pantheon-org/tekhne --skill nx-plugin-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-plugin-authoring
Source: https://github.com/pantheon-org/tekhne/tree/main/skills/repository-mgmt/nx/nx-plugin-authoring
Command: npx skills add https://github.com/pantheon-org/tekhne --skill nx-plugin-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation of custom Nx plugins, enabling developers to build reusable generators and executors for automating complex development workflows within their monorepos.

Core Features & Use Cases

  • Scaffolding: Create new Nx plugins, generators, and executors with predefined structures.
  • Development Guidance: Provides best practices and anti-patterns for robust plugin development.
  • Testing & Validation: Offers strategies for testing generators and executors, including dry-run validation.
  • Use Case: A team wants to enforce a consistent project structure and build process across all new microservices. They can use this Skill to generate a new Nx plugin that includes generators for creating new services with predefined configurations, linting rules, and deployment targets.

Quick Start

Use the nx-plugin-authoring skill to create a new Nx plugin named 'my-custom-plugin'.

Frequently Asked Questions about nx-plugin-authoring

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

FAQPage Schema
How do I create custom Nx generators for my monorepo?

Create custom Nx generators by scaffolding new plugins with predefined structures and schema-driven options. Use the Tree API to manipulate files programmatically and enforce consistent project configurations across new microservices.

What is the best way to build custom Nx executors for automating workflows?

Build custom Nx executors by scaffolding predefined structures and utilizing the ExecutorContext. Implement schema-driven options to define inputs and validate complex build processes for monorepo automation.

How do I test Nx plugin generators and executors effectively?

Test Nx plugin generators and executors using dry-run validation strategies. Validate schema-driven options and verify Tree API file manipulations to ensure robust plugin development and prevent anti-patterns.

When do I need a custom Nx plugin for monorepo automation?

You need a custom Nx plugin when enforcing a consistent project structure and build process across multiple new microservices. It allows you to generate predefined configurations, linting rules, and deployment targets automatically.

What are common Nx plugin development anti-patterns to avoid?

Common Nx plugin anti-patterns include improper Tree API usage and misconfigured schema-driven options. Following established best practices during scaffolding and executor development prevents structural inconsistencies and testing failures.