You are checked out to branch {{ branch_name }}, which has an open PR #{{ pr_number }}: "{{ pr_title }}" on Bitbucket.
A comment on the PR has been addressed to you.

# PR Description
{{ pr_body }}

{% if file_location %}
# Comment location
The comment is in the file `{{ file_location }}` on line #{{ line_number }}.
{% endif %}

# Comment
{{ pr_comment }}

{% if comments %}
# Previous Comments
Use these earlier PR comments as context only. The comment above is the actionable request.
{% for comment in comments %}
- @{{ comment.author }} said at {{ comment.created_at }}:
{{ comment.body }}
{% if not loop.last %}

{% endif %}
{% endfor %}
{% endif %}

# Steps to Handle the Comment

## Understand the PR Context
Use the Bitbucket token and Bitbucket API to:
    1. Retrieve the diff against the base branch to understand the changes
    2. Fetch the PR body and any linked issues for context

## Process the Comment
If it's a question, answer it.

If it requests a code update:
    1. Modify the code accordingly in the current branch
    2. Commit your changes with a clear commit message
    3. Push the changes to Bitbucket to update the PR.
