← Back to list

nx-workspace-management
by joseaplwork
⭐ 0🍴 0📅 Jan 18, 2026
SKILL.md
name: Nx Workspace Management description: Guidelines for using Nx tools, generators, and task execution in the monorepo workspace.
Nx Workspace Management
This skill provides guidelines for working with the Nx monorepo workspace, including generators, tasks, and workspace tools.
When to Use
- When generating new code, components, or features
- When running tasks (test, build, lint)
- When understanding workspace structure or dependencies
- When troubleshooting Nx configuration or project graph issues
Workspace Context
You are in an Nx workspace using Nx 21.2.0 and npm as the package manager.
You have access to the Nx MCP server and the tools it provides. Always use these tools when working with Nx-related tasks.
General Guidelines
Understanding the Workspace
- When answering questions, use the
nx_workspacetool first to gain an understanding of the workspace architecture - For questions around Nx configuration, best practices, or if you're unsure, use the
nx_docstool to get relevant, up-to-date docs - Always use
nx_docsinstead of assuming things about Nx configuration - If the user needs help with an Nx configuration or project graph error, use the
nx_workspacetool to get any errors - To help answer questions about the workspace structure or demonstrate how tasks depend on each other, use the
nx_visualize_graphtool
Generation Guidelines
When the user wants to generate something, follow this flow:
- Learn about the workspace: Use
nx_workspacetool andnx_project_detailstool if applicable - Get available generators: Use
nx_generatorstool to see what's available - Decide which generator to use: If no generators seem relevant, check
nx_available_pluginsto see if a plugin could help - Get generator details: Use
nx_generator_schematool to understand generator options - Learn more if needed: Use
nx_docstool to learn more about a specific generator or technology - Decide on options: Don't make assumptions, keep options minimalistic
- Open generator UI: Use
nx_open_generate_uitool with the selected options - Wait for completion: Wait for the user to finish the generator
- Read generator log: Use
nx_read_generator_logtool to see what was generated - Continue with work: Use the information from the log file to answer questions or continue
Running Tasks Guidelines
When the user wants help with tasks or commands (test, build, lint, etc.), follow this flow:
- Get running tasks: Use
nx_current_running_tasks_detailstool to get the list of tasks (includes completed, stopped, or failed tasks) - Ask for specific task: If there are tasks, ask the user if they would like help with a specific task
- Get task output: Use
nx_current_running_task_outputtool to get the terminal output for that task/command - Analyze output: Use the terminal output to see what's wrong and help fix the problem
- Rerun tasks: If the user wants to rerun a task, always use
nx run <taskId>to rerun in the terminal. This ensures the task runs in the Nx context the same way it originally executed - Continuous tasks: If a task was marked as "continuous", do not offer to rerun it. The task is already running and the user can see the output. Use
nx_current_running_task_outputto get the output to verify
Instructions
- Always use Nx tools: Use the Nx MCP server tools instead of making assumptions
- Check workspace first: Use
nx_workspaceto understand structure before generating or modifying code - Use documentation: Always use
nx_docsfor configuration questions - Generator flow: Follow the complete generation flow from discovery to completion
- Task execution: Use
nx run <taskId>for rerunning tasks to maintain Nx context - Visualize dependencies: Use
nx_visualize_graphto help understand project or task dependencies
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon