gitignore icon indicating copy to clipboard operation
gitignore copied to clipboard

adds common AI agents and assistants configuration files and folder

Open robbiemu opened this issue 4 months ago • 6 comments

Reasons for making this change

AI coding assistants have become mainstream development tools in 2025. 41% of code is now AI-generated, and 63% of Professional Developers said they currently use AI in their development process. These tools create various configuration files, cache directories, and session logs that should be excluded from version control to keep repositories clean and avoid committing sensitive API keys or personal settings.

This template addresses the growing need for AI-specific gitignore rules as developers increasingly adopt tools like Cursor, GitHub Copilot, Tabnine, Continue.dev, Aider, and other AI assistants. Many of these tools create local configuration files (like .cursorrules, .aiderignore) and cache directories (like .cursor/, .tabnine/) that are user-specific and shouldn't be shared across teams.

Links to documentation supporting these rule changes

  • Cursor: [Official documentation](https://docs.cursor.com/) - creates .cursorrules and .cursor/ directory
  • Tabnine: [Official documentation](https://docs.tabnine.com/) - creates .tabnineignore and .tabnine/ directory
  • Continue.dev: [Official documentation](https://docs.continue.dev/) - creates .continue/ and .continuerc.json
  • Aider: [Official documentation](https://aider.chat/docs/) - creates .aiderignore
  • GitHub Copilot: [Official documentation](https://docs.github.com/en/copilot) - creates various cache/log files
  • Stack Overflow 2025 Developer Survey: ChatGPT (82%) and GitHub Copilot (68%) are the clear market leaders showing widespread adoption

If this is a new template

This extends existing patterns rather than creating a completely new template category, as AI development tools are becoming as common as traditional build tools and IDEs.

I would suggest https://agents.md except I have no prior agreement from them.

Merge and Approval Steps

  • [x ] Confirm that you've read the contribution guidelines and ensured your PR aligns
  • [ N/A? There is only the stale.yml] Ensure CI is passing
  • [ ] Get a review and Approval from one of the maintainers

robbiemu avatar Aug 25 '25 14:08 robbiemu

Life is strange. I wanted this exact thing, came to this repository, see a PR had been put up for it half an hour ago. +1.

tspader avatar Aug 25 '25 15:08 tspader

bumping this little PR -- I am sure you guys will get around to it, but come on, how many PRs here are this relevant? ;)

robbiemu avatar Sep 20 '25 00:09 robbiemu

Consider this line Claude Code is adding automatically: **/.claude/settings.local.json

rayshan avatar Sep 28 '25 21:09 rayshan

Consider this line Claude Code is adding automatically: **/.claude/settings.local.json

I'm happy to do that. How do i get s review?

robbiemu avatar Oct 17 '25 23:10 robbiemu

Claude code adds this file automatically: .claude/settings.local.json . Easy to commit by mistake.

rbnhd avatar Oct 31 '25 02:10 rbnhd