Feature Request: Repository for Known Pre-Prompts and Cursor Rules for LLMs in Nx Repos #31141
Squixx
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary:
It would be valuable to maintain a repository of known “pre-prompts” (for Copilot, Cursor, etc.) and cursor rules that guide LLMs to use the nx-mcp tool for specific tasks within Nx monorepos. This would help ensure that LLMs are context-aware and leverage the right tools and conventions when working in Nx-based codebases.
Motivation:
When working with LLMs in an Nx monorepo, it’s important that the agent understands project structure and uses the correct tools (like nx-mcp) for tasks such as finding project root paths, running commands, or resolving dependencies. Having a shared set of pre-prompts and rules would:
Example Pre-Prompts/Rules:
Note: these are generica and meant as an example. Definitely not battle tested
Proposal:
Create a repository (or a section in the Nx documentation) to collect, discuss, and refine these pre-prompts and cursor rules.
Encourage contributions from the community to expand and improve the list.
Optionally, provide integration examples for popular LLM tools (Copilot, Cursor, etc.) in Nx repos.
Benefits:
Makes LLMs more effective and reliable in Nx monorepos.
Provides a central knowledge base for best practices.
Fosters collaboration and knowledge sharing in the Nx and AI tooling communities.
Beta Was this translation helpful? Give feedback.
All reactions