generate_pr_description
Returns a comprehensive context and structured prompt for generating a detailed PR description from Git branch analysis.
Instructions
⚠️ CRITICAL: This tool returns an ANALYSIS PROMPT for YOU (Claude) to generate a description, NOT a final description. OUTPUT: You receive comprehensive context (project type, commits, files, diff sample) formatted as a detailed prompt with specific instructions. YOUR JOB: Analyze that context and generate an intelligent, well-structured PR description. The prompt includes format requirements (What/Why/How/Impact sections), language preferences (FR/EN), and style guidelines. YOU must read it, understand the changes, and write a clear description ready for GitHub. DO NOT return the prompt - generate YOUR description. Use when creating PR or when user asks for PR description. The generated description should then be passed to create_pr or create_pr_complete tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | PR title (optional) | |
| language | No | Description language | fr |
| template | No | Template to use | standard |
| includeStats | No | Include statistics |