Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 30, 2025

This change introduces support for generating an AGENTS.md file via the ng generate ai-config schematic. The AGENTS.md standard is an emerging convention for providing instructions to AI agents that operate within a codebase.

By adding this option, users can easily create a root-level AGENTS.md file, helping to configure AI agents with project-specific guidelines and best practices.

The implementation includes:

  • Updating the schematic's schema.json to include agents as a selectable tool.
  • Extending the logic in index.ts to handle the creation and placement of the file.
  • Adding a unit test to ensure the file is generated correctly.

@clydin clydin added the target: major This PR is targeted for the next major release label Sep 30, 2025
@clydin clydin requested a review from alan-agius4 September 30, 2025 15:02
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 30, 2025
This change introduces support for generating an `AGENTS.md` file via the `ng generate ai-config` schematic. The `AGENTS.md` standard is an emerging convention for providing instructions to AI agents that operate within a codebase.

By adding this option, users can easily create a root-level `AGENTS.md` file, helping to configure AI agents with project-specific guidelines and best practices.

The implementation includes:
- Updating the schematic's `schema.json` to include `agents` as a selectable tool.
- Extending the logic in `index.ts` to handle the creation and placement of the file.
- Adding a unit test to ensure the file is generated correctly.
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 30, 2025
@clydin clydin merged commit c119910 into angular:main Sep 30, 2025
56 of 57 checks passed
@clydin clydin deleted the ai/agentsmd branch September 30, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @schematics/angular detected: feature PR contains a feature commit target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants