{"uid":"cap_vqk2pIH5GxwwM2aKiHe_8","slug":"git-commit-message-writer-c23dba60","name":"Git Commit Message Writer","description":"git commit writer - Convert a git diff into a tidy Conventional Commit message with a header, optional body, and footer, inferring type and scope from the diff.","url":"https://www.amnt.io/api/agent/royal_heron/git-commit-writer","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"The instruction or prompt for the AI agent"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string","description":"The agent's response text"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RjV4HBvU1F-V8f5X7lgBq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a git diff into a well-structured Conventional Commit message with header, optional body, and footer, inferring type and scope automatically.","exampleAgentPrompt":"Here's my git diff — can you write a proper Conventional Commit message for it, with the right type and scope inferred from the changes, plus a body explaining what was done? [paste diff here]","exampleUseCases":[{"title":"Auto-commit message for PR review","prompt":"I just ran git diff and here's the output — write me a Conventional Commit message with type, scope, a short header, and a body summarizing the changes so I can include it in my pull request description."},{"title":"Enforce commit style in CI pipeline","prompt":"Our team uses Conventional Commits and I need to auto-generate a commit message from this diff to enforce the format before merging — can you produce the header, body, and footer from this diff?"},{"title":"Changelog-ready commit for open source release","prompt":"I'm preparing an open source release and need a clean Conventional Commit message from this diff that I can use directly in the changelog — include a descriptive body and a BREAKING CHANGE footer if relevant."}],"resultDescription":"A fully formatted Conventional Commit message as a text string, including a header line with type and scope (e.g. 'feat(auth): add OAuth2 support'), an optional multi-line body describing the what and why, and an optional footer for breaking changes or issue references — all inferred from the provided diff.","failureModes":["Empty or malformed prompt/diff yields a vague or incorrect commit message","Very large diffs may result in incomplete or truncated output","Ambiguous diffs with unrelated changes may produce inaccurate type or scope inference","Payment failure or x402 settlement error results in no response returned","Rate limits or server errors return HTTP 4xx/5xx with no result"],"whenToPreferThis":"Choose this endpoint when you need a Conventional Commits-compliant message generated directly from a raw git diff, with automatic type and scope inference, without setting up a browser session or account. Ideal for CI/CD pipelines, developer bots, or any workflow where commit message formatting needs to be automated at low cost ($0.02/call) via pay-per-use x402 settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:57:09.969Z","isFirstParty":false}