Skip to content

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

Closed as not planned
@Tecnology83666

Description

@Tecnology83666

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions