nx-docs
Search current Nx documentation. USE WHEN answering questions about Nx configuration, advanced options, migrations, plugin setup, release configuration, caching, affected/project graph behavior, or when CLI help is insufficient. Prefer standard Nx CLI help for basic command syntax.
- License 许可
- MIT
- 最近更新
- 2026-10-26
- Stars
- ★ 0
- Forks
- 2
01 前言 Front Matter
- name
- nx-docs
- description
- Search current Nx documentation. USE WHEN answering questions about Nx configuration, advanced options, migrations, plugin setup, release configuration, caching, affected/project graph behavior, or when CLI help is insufficient. Prefer standard Nx CLI help for basic command syntax.
02 资源文件 3
- 参考文档references/docs-helpers.md1.3 KB
- 脚本scripts/bounded-fetch.mjs3.9 KB
- 脚本scripts/search-documentation.mjs7.1 KB
03 SKILL.md 正文
Nx Documentation Search
Use this skill when you need current Nx documentation beyond basic CLI help.
Local helper
Run the bundled helper from this skill directory:
node scripts/search-documentation.mjs "targetDefaults nx.json" --limit 4
Or run it from any directory with an absolute script path:
node /absolute/path/to/skills/nx-docs/scripts/search-documentation.mjs "nx release independent changelog" --limit 5 --json --pretty
Read references/docs-helpers.md for full usage notes.
When to use docs search
Use documentation search for:
- advanced
nx.jsonconfiguration - target defaults, named inputs, caching, and task pipeline behavior
- release configuration and changelog/versioning behavior
- migrations and version-specific behavior
- plugin setup and edge cases
- affected/project graph behavior when CLI output is not enough
Prefer standard CLI help for basic command syntax and flags:
pnpm nx <command> --help
pnpm nx g <generator> --help
Other Nx information sources
- Workspace/project data: use standard Nx CLI commands such as
pnpm nx show projects --json,pnpm nx show project <name> --json, andpnpm nx graph --print. - Plugin best practices: check
node_modules/@nx/<plugin>/PLUGIN.mdwhen relevant and when the file exists.
04 同仓库更多 Skills
taiga-ui-docs
Use when implementing, debugging, reviewing, migrating, or looking up Angular Taiga UI components. Provides a bundled helper script equivalent to Taiga UI MCP docs tools for overview/import guidance, section lists, exact component documentation/examples, and migration guide content from llms-full.txt.
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'.
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.
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.
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.
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 using the nx-docs skill or local Nx documentation helper or exploring - this skill handles discovery internally.