Introduction: What The Diff automatically writes pull request descriptions, sends out summarized notifications, and helps refactor minor issues during the review.
Added on: Jan 20, 2025
WhatTheDiff

What is WhatTheDiff

What The Diff is an AI-powered tool designed to streamline the pull request process. It automatically generates descriptions for pull requests, provides summarized notifications to keep non-technical stakeholders informed, and assists in refactoring minor issues during code reviews. The tool integrates with GitHub and GitLab, offering features like automated PR descriptions, rich summary notifications, beautiful changelogs, weekly progress reports, inline AI refactoring, and fine-grained settings.

How to Use WhatTheDiff

  1. Connect your GitHub or GitLab account to What The Diff.
  2. The AI will automatically generate pull request descriptions for your changes.
  3. Receive summarized notifications to keep stakeholders informed.
  4. Use inline AI refactoring to improve code during reviews.
  5. Access weekly progress reports and public changelogs for a comprehensive overview of changes.

Use Cases of WhatTheDiff

What The Diff is ideal for development teams looking to improve their pull request process. It helps automate the creation of pull request descriptions, keeps non-technical stakeholders informed with simplified summaries, and provides tools for code refactoring and progress tracking.

Features of WhatTheDiff

  • Automated PR descriptions

    The AI generates detailed descriptions for pull requests, saving time and effort for developers.

  • Rich summary notifications

    Simplified and translated summaries are sent to keep non-technical stakeholders informed about changes.

  • Beautiful changelogs

    Share public changelogs or consume them via a JSON API for internal use.

  • Weekly progress reports

    Receive weekly summaries of all changes made during the week.

  • Inline AI refactoring

    Refactor code directly during reviews with AI support, rather than just leaving comments.

  • Fine-grained settings

    Customize settings to skip CI pull requests, delay draft ones, and manage token consumption.

FAQs from WhatTheDiff

1

What is What-the-Diff?

What-the-Diff is an AI-powered app that reviews the diff of your pull requests and writes a descriptive comment about the changes in plain English.
2

What are tokens?

Tokens are used to process the git diff of your pull requests. Larger diffs require more tokens. On average, pull requests use around 2,300 tokens.
3

How does What the Diff work?

The application uses the GitHub/GitLab API to retrieve the diff of your pull request and then uses an AI model to generate a description of the changes. Your code is not stored.
4

Does it work with all languages?

Yes, What The Diff supports nearly all programming languages and can explain the diff in plain English or other supported languages.
5

What happens if I run out of tokens?

If you run out of tokens, you can upgrade to a larger plan or wait until your next billing cycle. Plans are not automatically upgraded.
6

Do you store my code?

No, your code is not stored. The tool only uses the GitHub/GitLab API to read the diff of your pull requests.
7

Do unused tokens add up?

Unused tokens do not roll over to the next month. It is recommended to start with the smallest plan and upgrade as needed.
8

Do you train your AI model with my code?

No, the AI model is not trained with your code. The tool does not store your code or the diff of your pull requests.
9

Why do you need full access to my code?

Full access is required because GitHub/GitLab does not provide a permission to only read the diff of a pull request. This access is necessary to read the diff.