Recent Changes Tool

How to Use the “Recent Changes” Tool in LatchLoop

The Recent Changes tool in LatchLoop helps you quickly access and understand the latest updates made to your project’s codebase. Whether you’re reviewing code, writing documentation, or just want to stay up-to-date, this tool makes it easy to see what’s changed in your repository.


What is the Recent Changes Tool?

The Recent Changes tool allows you to:

  • See a list of the last 10 merged pull requests (PRs) in your project’s repository.
  • View the full code difference (diff) for any specific merged PR to see exactly what was changed.

This is especially useful for reviewing recent work, writing changelogs, or generating documentation about new features and bug fixes.


When and How Can I Use Recent Changes?

You can use the Recent Changes tool in two main ways:

1. When Asking LatchLoop Questions

You can ask LatchLoop questions like:

  • “Check my latest PR for bugs.”
  • “Write a changelog update about the PRs merged this week.”
  • “Write a knowledge base article about PR #42.”

LatchLoop will use the Recent Changes tool to find the relevant pull requests and provide you with a summary, bug review, or documentation based on the latest code changes.

2. When Building or Reviewing Code with LatchLoop

When you ask LatchLoop to build new features or review code, it can automatically reference recent pull requests to:

  • Avoid duplicating recent work.
  • Make sure new code fits well with recent changes.
  • Provide feedback or summaries based on the latest updates.

For example, you might say:

  • “Build this feature, but check if anything in the last two PRs affects it.”
  • “Review my code and let me know if any recent changes might cause conflicts.”

Example Use Cases

Here are some practical ways to use the Recent Changes tool:

  • Bug Checking:
    “Can you review the last merged PR for bugs or issues?”

  • Changelog Writing:
    “Summarize all PRs merged this week in a changelog format.”

  • Documentation:
    “Write a knowledge base article explaining what PR #55 changed.”

  • Feature Awareness:
    “List the main features or fixes added in the last 5 merged PRs.”


How Does It Work?

  • When you ask a question or request a build/review that involves recent code changes, LatchLoop will automatically use the Recent Changes tool to fetch the latest PRs or the full diff for a specific PR.
  • You don’t need to do anything special—just mention what you want to know or review, and LatchLoop will handle the rest.

Tips for Using Recent Changes

  • Be specific: If you want to review a particular PR, mention its number (e.g., “PR #123”).
  • Ask for summaries: LatchLoop can write summaries, changelogs, or documentation based on recent PRs.
  • Combine with other tools: Use Recent Changes alongside other LatchLoop features (like code search or file reading) for deeper insights.

No Technical Knowledge Needed

You don’t need to know how to use GitHub or read code diffs. Just ask your question in plain language—LatchLoop will find and use the relevant recent changes for you!


If you have any questions or need help using the Recent Changes tool, please contact our support team.