nrwl/nx-run-tasks

Nxワークスペースでタスクを実行するのに役立ちます。ユーザーがワークスペースで定義されたビルド、テスト、リント、サーブ、またはその他のタスクを実行したい場合に使用します。

nx-run-tasks とは?

このスキルは、Nxモノレポワークスペース内で定義されたタスク(ビルド、テスト、リント、サーブなど)を効率的に実行するための支援を提供します。主な利点は、Nxの依存関係グラフを活用したタスクの並列実行やキャッシュ機能を活用できる点です。開発者は複雑なコマンドを覚えることなく、自然言語の指示から適切なNxコマンドを生成できます。Claude CodeやCursorなどのAIエージェント環境で動作し、ユーザーがプロジェクトのビルドやテストを実行したいというリクエストに対して、最適なタスク実行方法を提案します。内部的にはnpx nx runやnx affectedなどの標準的なNx CLIコマンドを生成し、ワークスペース設定に基づいた安全なタスク実行を実現します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/nrwl/nx-ai-agents-config/tree/main/skills/nx-run-tasks

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

nx-run-tasks は何をしますか?

Nxワークスペースでタスクを実行するのに役立ちます。ユーザーがワークスペースで定義されたビルド、テスト、リント、サーブ、またはその他のタスクを実行したい場合に使用します。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

nrwl/link-workspace-packages

Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking.

nrwl/monitor-ci

Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, glab, etc.) for CI monitoring — it integrates with Nx Cloud self-healing which those tools cannot access.

nrwl/nx-generate

Generate code using nx generators. INVOKE IMMEDIATELY when user mentions scaffolding, setup, structure, creating apps/libs, or setting up project structure. Trigger words - scaffold, setup, create a new app, create a new lib, project structure, generate, add a new project. ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles discovery internally.

nrwl/nx-import

Import, merge, or combine repositories into an Nx workspace using nx import. USE WHEN the user asks to adopt Nx across repos, move projects into a monorepo, or bring code/history from another repository.

nrwl/nx-plugins

Find and add Nx plugins. USE WHEN user wants to discover available plugins, install a new plugin, or add support for a specific framework or technology to the workspace.

nrwl/nx-workspace

Explore and understand Nx workspaces. USE WHEN answering questions about the workspace, projects, or tasks. ALSO USE WHEN an nx command fails or you need to check available targets/configuration before running a task. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What depends on library Y?', 'What targets can I run?', 'Cannot find configuration for task', 'debug nx task failure'.

関連スキル