nx-tasks-reference

Document Nx target purposes and project.json declaration guidance for TypeScript monorepos.

9|2|Updated Apr 13, 2024
One-click install
npx skills add https://github.com/JacobLey/leyman --skill nx-tasks-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-tasks-reference
Source: https://github.com/JacobLey/leyman/tree/main/.claude/skills/nx-tasks-reference
Command: npx skills add https://github.com/JacobLey/leyman --skill nx-tasks-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides clear guidance on what each Nx json target does across the monorepo and when to declare targets in project.json.

Core Features & Use Cases

  • Documents orchestration targets (check:_ , check:lint, check) and their role in the lifecycle.
  • Guides when to add a target to project.json, ensuring correct sequencing with nx-lifecycle.
  • Points to authoritative binding in lifecycle.json for each target lifecycle.

Quick Start

Consult the Nx Task Reference to understand how targets map to lifecycle and how to declare them in your project.json.

Frequently Asked Questions about nx-tasks-reference

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

FAQPage Schema
What do Nx targets like check:_ and check:lint do in a TypeScript monorepo?

Nx targets like check:_ and check:lint orchestrate task execution across your monorepo. This reference documents their specific roles in the lifecycle and explains when to declare them in project.json.

How do I know when to declare an Nx target in project.json?

To declare an Nx target in project.json, consult this reference to understand the correct sequencing with nx-lifecycle. It provides recommended usage guidance to ensure targets map correctly to lifecycle stages.

How do Nx targets map to the lifecycle in lifecycle.json?

Nx targets map to the lifecycle via authoritative bindings in lifecycle.json. This reference clarifies that relationship, helping you plan the target lifecycle and understand orchestration during onboarding.

Can this reference execute Nx tasks and targets for my TypeScript project?

No, this reference cannot execute Nx tasks or targets. It documents recommended usage and clarifies target orchestration, helping you configure project.json and plan lifecycles without running commands.

What is the best way to plan target lifecycle sequencing in an Nx monorepo?

The best way to plan target lifecycle sequencing is using this Nx task reference. It clarifies orchestration targets and points to lifecycle.json for authoritative binding, ensuring correct project.json configuration.