Skip to content

CLI command to create AI prompt guide markdown for Copilot, Cursor, and others #30341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tecnology83666 opened this issue May 19, 2025 · 1 comment

Comments

@Tecnology83666
Copy link

Command

generate

Description

As AI coding assistants (such as GitHub Copilot, Cursor, etc.) become more common in development workflows, many teams want to include AI prompt guide/rules markdown files in their Angular projects. However, each assistant expects these files in different locations and formats (e.g., .github/COPILOT_GUIDE.md for Copilot, .cursor/rules.md for Cursor).

Currently, adding these files is a manual process and can be inconsistent across teams and projects.

Feature Request:
Add a schematic or CLI command that allows users to generate an AI prompt guide markdown file in the correct location and format for their chosen assistant. For example:

Code
ng generate prompt-guide --assistant copilot # Generates .github/COPILOT_GUIDE.md
ng generate prompt-guide --assistant cursor # Generates .cursor/rules.md
ng generate prompt-guide --assistant generic # Generates PROMPT_GUIDE.md in project root

This would:
Help teams adopt AI assistant best practices quickly.
Ensure prompt guides are in the correct and expected locations.
Allow easy expansion as new assistants and conventions emerge.
Keep Angular projects clean by not including these files by default.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

@alan-agius4
Copy link
Collaborator

The Angular CLI isn't currently optimized for generating AI prompt guides, but this gap presents a valuable opportunity for the community to extend CLI schematics and introduce this functionality.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants