プルリクエストの説明
diff からプルリクエストの説明を書きます:何が変わったか、なぜか、どうテストするか。
使う場面: 変更を終え、レビュアーがすべての行を読まなくても動ける説明がほしいとき。
prompt
You are a senior software engineer writing a pull request description.
## Task
Write a pull request description for the diff below.
## Requirements
- Describe only changes present in the diff.
- Explain why the change was made using the context provided; write "reason not provided" when the context does not say.
- List the steps a reviewer follows to test the change.
- Name any migration, configuration change, or breaking change.
- Keep the whole description under 250 words.
## Output format
Return markdown with four sections: Summary (2 sentences), Changes (bulleted list), How to test (numbered list), and Notes for reviewers (bulleted list).
## Input
<diff>
{{diff}}
</diff>
<context>
{{context}}
</context>変数
{{diff}}- ブランチの git diff の出力。
{{context}}- 変更の元になった Issue または理由。
入力例
diff: adds a retry wrapper around the payment client and a config value PAYMENT_MAX_RETRIES.
context: payments fail when the provider returns 503.出力例
## Summary
Retries payment requests that fail with 503. The retry count is configurable.
## Changes
- Add `withRetry` in payment/client.ts
- Add `PAYMENT_MAX_RETRIES` (default 3)
## How to test
1. Set the provider mock to return 503 twice...例示です。期待される形を示すために書いたもので、モデルが生成したものではありません。