
Description
nx-run-tasks is an agent skill that helps an agent run tasks in an Nx workspace, such as build, test, lint, serve and any other task the workspace defines. It shows how to run one task with nx run followed by the project and task name, and how to run several tasks together. It also explains how to find out which tasks a project can run. The command nx show project with --json lists a project's targets, for example nx show project myapp --json, and the skill notes that package.json scripts and project.json targets can miss tasks that Nx plugins infer. The skill reminds the agent that npx, pnpx or yarn may be needed when Nx is not installed globally, and it suggests checking the package.json or lockfile to find the package manager in use. For details on any command, the agent can run it with --help, for example on nx run-many or nx affected. The skill is meant for requests where the user wants to execute tasks in the workspace. Install it with npx skills add https://github.com/nrwl/nx-ai-agents-config --skill nx-run-tasks. The skill is part of the nrwl/nx-ai-agents-config repository on GitHub.…
Highlights
- Runs single or multiple Nx tasks
- Lists the targets a project can run
- Covers nx run-many and nx affected
- Detects the package manager in use
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate nx-run-tasks.
People also visit
nx-run-tasks FAQ
What tasks can it run?
Build, test, lint, serve or any other task defined in the Nx workspace.
How do I see which tasks a project has?
Run nx show project with the project name and --json. The targets section lists them.
What if Nx is not installed globally?
The skill says you may need to prefix commands with npx, pnpx or yarn, depending on the package manager.
How do I install it?
Run npx skills add https://github.com/nrwl/nx-ai-agents-config --skill nx-run-tasks.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best nx-run-tasks alternatives?
Popular alternatives to nx-run-tasks include nx-workspace, nx-monorepo and nx-generate. See all nx-run-tasks alternatives















