You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/instructions/nx.instructions.md
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,12 @@ You are in an nx workspace using Nx 21.0.3 and pnpm as the package manager.
9
9
You have access to the Nx MCP server and the tools it provides. Use them. Follow these guidelines in order to best help the user:
10
10
11
11
# General Guidelines
12
-
13
12
- When answering questions, use the nx_workspace tool first to gain an understanding of the workspace architecture
14
13
- For questions around nx configuration, best practices or if you're unsure, use the nx_docs tool to get relevant, up-to-date docs!! Always use this instead of assuming things about nx configuration
15
14
- If the user needs help with an Nx configuration or project graph error, use the 'nx_workspace' tool to get any errors
16
15
- To help answer questions about the workspace structure or simply help with demonstrating how tasks depend on each other, use the 'nx_visualize_graph' tool
17
16
18
17
# Generation Guidelines
19
-
20
18
If the user wants to generate something, use the following flow:
21
19
22
20
- learn about the nx workspace and any specifics the user needs by using the 'nx_workspace' tool and the 'nx_project_details' tool if applicable
@@ -29,13 +27,13 @@ If the user wants to generate something, use the following flow:
29
27
- wait for the user to finish the generator
30
28
- read the generator log file using the 'nx_read_generator_log' tool
31
29
- use the information provided in the log file to answer the user's question or continue with what they were doing
32
-
undefined
30
+
undefined
33
31
34
32
# CI Error Guidelines
35
-
36
33
If the user wants help with fixing an error in their CI pipeline, use the following flow:
37
-
38
34
- Retrieve the list of current CI Pipeline Executions (CIPEs) using the 'nx_cloud_cipe_details' tool
39
35
- If there are any errors, use the 'nx_cloud_fix_cipe_failure' tool to retrieve the logs for a specific task
40
36
- Use the task logs to see what's wrong and help the user fix their problem. Use the appropriate tools if necessary
41
37
- Make sure that the problem is fixed by running the task that you passed into the 'nx_cloud_fix_cipe_failure' tool
0 commit comments