Skip to content

Conversation

@Jacksunwei
Copy link
Collaborator

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

@google-cla
Copy link

google-cla bot commented Oct 29, 2025

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.

@gemini-code-assist
Copy link

Summary of Changes

Hello @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 .gitignore file to include ignore rules for various AI coding assistant configuration files. The primary goal is to prevent developer-specific settings from being committed to the repository, ensuring a cleaner codebase and allowing individual developers greater flexibility in customizing their AI tools without impacting the shared project environment. This change supports the existing AGENTS.md strategy for managing local configurations.

Highlights

  • .gitignore Update: Added new ignore patterns to the .gitignore file to exclude project-specific configuration files for 10 popular AI coding tools. This includes configurations for Claude Code, Cursor, Windsurf, Aider, Continue.dev, Codeium, GitHub Next, Roo Code, Bolt, and v0.
  • Rationale for Ignoring AI Configs: The update prevents accidental commits of personal AI assistant settings, keeps the repository clean of developer-specific configurations, allows developers to customize their AI tools without affecting others, and maintains consistency with the project's AGENTS.md approach for local overrides.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a 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.

Comment on lines +104 to +117
.claude/
CLAUDE.md
.cursor/
.cursorrules
.cursorignore
.windsurfrules
.aider*
.continue/
.codeium/
.githubnext/
.roo/
.rooignore
.bolt/
.v0/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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

@adk-bot adk-bot added the tools [Component] This issue is related to tools label Oct 29, 2025
@adk-bot
Copy link
Collaborator

adk-bot commented Oct 29, 2025

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 Testing Plan section to the PR description to explain how you have tested these changes?

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/)
@Jacksunwei Jacksunwei force-pushed the chore/ignore-ai-tool-configs branch from 7b12cab to 0abe4cc Compare October 29, 2025 18:58
@yyyu-google yyyu-google self-assigned this Oct 29, 2025
@yyyu-google yyyu-google added the ready to pull [Status] This PR is ready to be importing back to Google label Oct 29, 2025
copybara-service bot pushed a commit that referenced this pull request Oct 29, 2025
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 <yyyu@google.com>
COPYBARA_INTEGRATE_REVIEW=#3333 from google:chore/ignore-ai-tool-configs 0abe4cc
PiperOrigin-RevId: 825682646
@yyyu-google
Copy link
Collaborator

closing as the commit is merged

@Jacksunwei Jacksunwei added this to the 10/27 ADK Week milestone Oct 30, 2025
@Jacksunwei Jacksunwei deleted the chore/ignore-ai-tool-configs branch October 31, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to pull [Status] This PR is ready to be importing back to Google tools [Component] This issue is related to tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants