nrwl/nx-generate

Nx ジェネレーターを使用してコードを生成します。スキャフォールディング、セットアップ、構造、アプリ/ライブラリの作成、プロジェクト構造の設定など、ユーザーが言及した場合に即座に呼び出します。

nx-generate とは?

このスキルは、Nx ジェネレーターを使用してコード生成を効率的に行うためのツールです。ユーザーが「スキャフォールド」「セットアップ」「新しいアプリを作成」「新しいライブラリを作成」「プロジェクト構造」「生成」「新しいプロジェクトを追加」といったトリガーワードを発言した場合に即座に呼び出されるべきです。主な機能は、Nx ワークスペース内でアプリケーションやライブラリのひな形を生成し、プロジェクト構造を素早く設定することです。このスキルは内部でジェネレーターのディスカバリーを自動的に行うため、`nx_docs` や探索ツールを先に呼び出す必要はなく、常に最初に使用するべきです。対応するプラットフォームは、Nx を使用するあらゆる開発環境です。このスキールは、開発者がプロジェクトのボイラープレート作成や構造定義を迅速に行えるように設計されており、手動設定の手間を省きます。

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

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

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

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

ドキュメント

nx-generate は何をしますか?

Nx ジェネレーターを使用してコードを生成します。ユーザーがスキャフォールディング、セットアップ、構造、アプリ/ライブラリの作成、プロジェクト構造の設定について言及した場合、即座に呼び出してください。トリガーワードは「スキャフォールド」「セットアップ」「新しいアプリを作成」「新しいライブラリを作成」「プロジェクト構造」「生成」「新しいプロジェクトを追加」です。nx_docs や探索ツールを呼び出す前に必ずこのスキルを使用してください。

このスキルは内部でジェネレーターのディスカバリーを自動的に処理します。

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-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-run-tasks

Helps with running tasks in an Nx workspace. USE WHEN the user wants to execute build, test, lint, serve, or run any other tasks defined in 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'.

関連スキル