- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.2k
 
chore: Ignore AI coding tool project-specific configs in .gitignore #3333
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
Conversation
| 
           Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request.  | 
    
          Summary of ChangesHello @Jacksunwei, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the project's  Highlights
 Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either  
 Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a  Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds .gitignore entries for common AI coding assistant tools, which is a great housekeeping change to prevent developer-specific configurations from being committed to the repository. The change is clear and follows the project's philosophy. I've added one suggestion to sort the new entries alphabetically to improve future maintainability of the .gitignore file.
| .claude/ | ||
| CLAUDE.md | ||
| .cursor/ | ||
| .cursorrules | ||
| .cursorignore | ||
| .windsurfrules | ||
| .aider* | ||
| .continue/ | ||
| .codeium/ | ||
| .githubnext/ | ||
| .roo/ | ||
| .rooignore | ||
| .bolt/ | ||
| .v0/ | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For better long-term maintainability, it's a good practice to keep entries in .gitignore sorted alphabetically. This makes it easier to check if a pattern already exists and where to add new ones. I suggest reordering the new entries alphabetically, grouping by tool and then by filename.
.aider*
.bolt/
.claude/
CLAUDE.md
.codeium/
.continue/
.cursor/
.cursorignore
.cursorrules
.githubnext/
.roo/
.rooignore
.v0/
.windsurfrules
| 
           Response from ADK Triaging Agent Hello @Jacksunwei, thank you for creating this PR! Before we can merge this PR, you will need to sign the Contributor License Agreement (CLA). You can find more information at https://cla.developers.google.com/. In addition, could you please create a new issue for this change and associate it with this PR, or describe the motivation for this change in the PR description? Finally, could you please add a  This information will help reviewers to review your PR more efficiently. Thanks!  | 
    
Add ignore patterns for popular AI coding assistants to prevent committing developer-specific configurations. Developers can symlink or copy AGENTS.md and add their own local overrides. Added patterns for: - Claude Code (.claude/, CLAUDE.md) - Cursor (.cursor/, .cursorrules, .cursorignore) - Windsurf (.windsurfrules) - Aider (.aider*) - Continue.dev (.continue/) - Codeium (.codeium/) - GitHub Next (.githubnext/) - Roo Code (.roo/, .rooignore) - Bolt (.bolt/) - v0 (.v0/)
7b12cab    to
    0abe4cc      
    Compare
  
    Merge #3333 ## Summary Add ignore patterns for popular AI coding assistant configuration files to prevent committing developer-specific settings. This aligns with the project's approach of providing `AGENTS.md` as a general starting point that developers can symlink or copy and customize locally. ## Changes Added `.gitignore` patterns for 10 popular AI coding tools: - **Claude Code** - `.claude/`, `CLAUDE.md` - **Cursor** - `.cursor/`, `.cursorrules`, `.cursorignore` - **Windsurf** - `.windsurfrules` - **Aider** - `.aider*` - **Continue.dev** - `.continue/` - **Codeium** - `.codeium/` - **GitHub Next** - `.githubnext/` - **Roo Code** - `.roo/`, `.rooignore` - **Bolt** - `.bolt/` - **v0** - `.v0/` ## Rationale Each developer may want different AI tool configurations and personal instructions. By ignoring these files, we: - Prevent accidental commits of personal AI assistant settings - Keep the repository clean of developer-specific configurations - Allow developers to customize their AI tools without affecting others - Maintain consistency with the project's `AGENTS.md` approach Co-authored-by: Yvonne Yu <[email protected]> COPYBARA_INTEGRATE_REVIEW=#3333 from google:chore/ignore-ai-tool-configs 0abe4cc PiperOrigin-RevId: 825682646
| 
           closing as the commit is merged  | 
    
Summary
Add ignore patterns for popular AI coding assistant configuration files to prevent committing developer-specific settings. This aligns with the project's approach of providing
AGENTS.mdas a general starting point that developers can symlink or copy and customize locally.Changes
Added
.gitignorepatterns for 10 popular AI coding tools:.claude/,CLAUDE.md.cursor/,.cursorrules,.cursorignore.windsurfrules.aider*.continue/.codeium/.githubnext/.roo/,.rooignore.bolt/.v0/Rationale
Each developer may want different AI tool configurations and personal instructions. By ignoring these files, we:
AGENTS.mdapproach