Skip to content

Update CONTRIBUTING.md with new guidelines for PRs and AI-assisted co…#78

Merged
matt1398 merged 1 commit intomainfrom
docs/contributing-guidelines
Feb 24, 2026
Merged

Update CONTRIBUTING.md with new guidelines for PRs and AI-assisted co…#78
matt1398 merged 1 commit intomainfrom
docs/contributing-guidelines

Conversation

@matt1398
Copy link
Owner

…ntributions; remove outdated session analysis report and cost calculation design documents.

…ntributions; remove outdated session analysis report and cost calculation design documents.
@matt1398 matt1398 merged commit c3c4fa6 into main Feb 24, 2026
2 checks passed
@gemini-code-assist
Copy link

Summary of Changes

Hello @matt1398, 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 refines the project's contribution standards by updating the CONTRIBUTING.md file. The primary goal is to improve the quality and maintainability of contributions by providing clearer expectations for pull requests, especially regarding the use of AI-assisted tools and the types of content that should not be committed to the repository. Additionally, several outdated design documents have been removed to streamline project documentation and enforce the new content guidelines.

Highlights

  • Updated Pull Request Guidelines: Enhanced existing guidelines to emphasize focused changes, require prior discussion for large features, and discourage committing large hardcoded data blobs.
  • New AI-Assisted Contributions Policy: Introduced clear guidelines for using AI coding tools, stressing developer responsibility for reviewing, testing, and ensuring intentionality of AI-generated code, while prohibiting AI workflow artifacts.
  • Repository Content Clarification: Added a new section explicitly outlining what types of content do not belong in the repository, including personal planning artifacts, large static data, generated files not part of build output, and experimental features without prior discussion.
  • Removed Outdated Design Documents: Deleted several old design and implementation plan documents related to session analysis reports and cost calculation unification, aligning with the new policy against committing planning artifacts.
Changelog
  • CONTRIBUTING.md
    • Updated 'Pull Request Guidelines' to include requirements for focused changes, prior issue discussion for large changes, and avoiding large hardcoded data blobs.
    • Added a new section 'AI-Assisted Contributions' detailing responsibilities for reviewing, testing, and intentionality of AI-generated code.
    • Introduced a new section 'What Does NOT Belong in the Repo' listing prohibited content like personal planning artifacts and large static data.
  • docs/plans/2026-02-21-session-analysis-report-design.md
    • Removed outdated design document for session analysis reports.
  • docs/plans/2026-02-21-session-analysis-report.md
    • Removed outdated implementation plan for session analysis reports.
  • docs/plans/2026-02-23-unify-cost-calculation-design.md
    • Removed outdated design document for unifying cost calculation.
  • docs/plans/2026-02-23-unify-cost-calculation.md
    • Removed outdated implementation plan for unifying cost calculation.
Activity
  • No human activity has been recorded on this pull request yet.
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 updates the CONTRIBUTING.md file with new guidelines for pull requests and AI-assisted contributions, and also removes several outdated design and planning documents. The new guidelines are a valuable addition, promoting better practices. My review includes one suggestion to consolidate some of the new rules in CONTRIBUTING.md to improve clarity and reduce redundancy.

Comment on lines +42 to +46
## What Does NOT Belong in the Repo
- Personal planning/workflow artifacts (AI session plans, task lists, etc.)
- Large static data that could be fetched at runtime
- Generated files that aren't part of the build output
- Experimental features without prior discussion

Choose a reason for hiding this comment

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

medium

This new section What Does NOT Belong in the Repo is a great addition for clarity. However, some of its points seem to overlap with guidelines introduced earlier in this document.

For example:

  • Personal planning/workflow artifacts (line 43) is very similar to the rule about AI workflow artifacts in the "AI-Assisted Contributions" section (line 38).
  • Large static data that could be fetched at runtime (line 44) is similar to the guideline on large hardcoded data blobs in the "Pull Request Guidelines" section (line 31).
  • Experimental features without prior discussion (line 46) is related to the guideline on Large changes needing prior discussion (line 30).

To improve conciseness and avoid potential inconsistencies in the future, consider consolidating these related points. You could either make this section the single source of truth for what's not allowed, or merge these rules into the more detailed sections above and remove this summary section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant