Add AI .gitignore by Ragnarokkr · Pull Request #4809 · github/gitignore

Reasons for making this change

While using AI agents locally in projects is fine when done correctly, having to constantly fight PRs polluted by unsolicited external AI-generated files is exhausting in the long run. It’s therefore important—and necessary—to keep projects clean and isolated from this relentless spread of unnecessary and overused AI output.

Links to documentation supporting these rule changes

If this is a new template

Link to application or project’s homepage:

Merge and Approval Steps

  • Confirm that you've read the contribution guidelines and ensured your PR aligns
  • Ensure CI is passing
  • Get a review and Approval from one of the maintainers