Skip to content

Commit a2f1a36

Browse files
authored
Update formatting of agent rules documentation
Markdown documents should only have one h1 header, it is pretty unlikely that an existing agents config does not already have one, switching to h2 instead should make most linters happy. In theory you could make this a little smarter by checking beforehand..
1 parent 4017b61 commit a2f1a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nx/src/ai/set-up-ai-agents/get-agent-rules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export function getAgentRules(nxCloud: boolean) {
22
return `
3-
# General Guidelines for working with Nx
3+
## General Guidelines for working with Nx
44
55
- When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through \`nx\` (i.e. \`nx run\`, \`nx run-many\`, \`nx affected\`) instead of using the underlying tooling directly
66
- You have access to the Nx MCP server and its tools, use them to help the user

0 commit comments

Comments
 (0)