$ man pr-description-from-diff
/pr-description-from-diff
NAME
pr-description-from-diff — writes a review-ready pull request description from any unified git diff (up to 60k chars)
SYNOPSIS
POST https://x402.agentutility.ai/pr-description-from-diff
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Writes a review-ready pull request description from any unified git diff (up to 60k chars). Returns a structured PR title (<= 70 chars, imperative, conventional-commits-flavored), 2-5 summary bullets, a 3-7 item actionable test plan rendered as a Markdown checklist, plus a breaking_change boolean and migration note when applicable, and a ready-to-paste Markdown body with ## Summary, ## Test plan, and optional ## Breaking change sections. Pairs with commit-message-from-diff at a wider scope: commits get the one-line subject + body, PRs get the full review-ready narrative. Use it as an AI PR description generator, PR body from unified diff, GitHub PR body writer, GitLab MR description tool, or generate-pr-from-git-diff.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| diff | string | Unified git diff text. Max 60,000 chars. | required |
| title_hint | string | Optional starting-point title. The model refines but stays close. | optional |
| ticket | string | Optional ticket reference like 'JIRA-1234' — appended to the title and referenced in the body. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| title | string | PR title, imperative voice, <= 70 chars, conventional-commits-flavored. |
| summary | array | 2-5 short bullet strings summarizing what changed and why. |
| test_plan | array | 3-7 actionable verifier-runnable test plan items. |
| breaking_change | boolean | True only if the diff removes or renames public API. |
| breaking_change_note | string | One-sentence migration hint when breaking_change is true; empty string otherwise. |
| body | string | Complete Markdown PR body ready to paste into GitHub or GitLab. Includes ## Summary bullets, ## Test plan checklist, and (when applicable) ## Breaking change. |
| model | string | LLM model that drafted the response. |
| source | string | Which provider served: 'morpheus' or 'venice'. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/pr-description-from-diff \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the pr-description-from-diff tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- wordmintpr-descriptiongit-diffpull-requestcode-reviewgithub-mr
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- wordmint
- price
- $0.01 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| ai-to-human-text | AI text humanizer / GPT detector bypass. | $0.01 |
| app-review-sentiment | Scores app-store reviews by onboarding, stability, pricing, performance, and feature requests. | $0.01 |
| brand-bootstrap | Bootstraps a brand kit for a new business or product in one call. | $0.01 |
| brand-launch-brief | Generates a structured brand launch brief for a new company or product from name, concept, audience, and tone. | $0.01 |
| brand-positioning-brief | Generates a brand positioning brief covering messaging pillars, taglines, launch channels, and a logo prompt. | $0.01 |
| brand-sentiment-analysis | Scores comments, mentions, survey verbatims, and campaign feedback for sentiment. | $0.01 |
| candidate-feedback-sentiment | Summarizes candidate experience, recruiter feedback, and hiring-process comments by sentiment. | $0.01 |
| churn-risk-sentiment | Analyzes support tickets, chats, and emails for negative sentiment, urgency, and at-risk churn themes. | $0.01 |
SEE ALSO