Commit Message: Write It From the Diff, Nothing Invented

    by apitoolbox

    1

    Generate honest, Conventional Commits messages strictly grounded in your git diffs.

    Free

    Security scanned

    Works with the AI Agents you already use

    Commit Message: Write It From the Diff, Nothing Invented

    Example session with this skill installed

    Write a commit message for this diff
    --- a/src/auth.ts
    +++ b/src/auth.ts

    • export const login = (user: string) => {
    • export const login = (user: string, tenantId: string) => {
    • Read your context and instructions
    • Compiled the commit message

    I have analyzed the diff. The change modifies a public function signature, which constitutes a breaking change.

    Commit Message

    feat(auth)!: add tenantId requirement to login function
    
    The login function now requires a tenantId string as the second argument.
    
    BREAKING CHANGE: login() signature changed from (user: string) to (user: string, tenantId: string). Existing calls without the second argument will fail.
    

    Next steps

    • Verify all call sites in the application are updated with the new tenantId argument.
    • Ensure the documentation for the auth module reflects this signature change.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Paste a diff and get a commit message that only says what the diff actually does. This skill reads the hunks first, then writes a Conventional Commits message: the right type and scope, an imperative subject, and a BREAKING CHANGE footer when the diff renames or removes something consumers rely on. It never claims fixes, tests, or ticket numbers that are not in the material, and when your summary and the diff disagree, it follows the diff and tells you. If the diff mixes unrelated changes, it splits them into one message per concern instead of blending them into a single vague line. No external service required.

    Cannot run git commands or stage files. Requires a provided diff or description. Will not invent ticket numbers or motivations not present in the input.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    This skill is built for any AI agent that can process text. Simply paste your git diff output into the chat, and the agent will analyze the hunks to generate your message.

    Unlike generic prompts, this skill uses a strict evidence-mapping logic that prevents 'hallucinated' summaries. It only includes claims that are explicitly visible in the code hunks, ensuring your git history is 100% honest.

    Yes. If the skill detects multiple unrelated changes in a single diff, it will recommend an 'Atomic Split' and provide separate commit messages for each logical group of changes.

    The skill follows the Conventional Commits 1.0.0 specification. It automatically identifies the correct type (feat, fix, docs, etc.) and alerts you to breaking changes using the '!' indicator and footer requirements.

    You receive the specialized skill configuration and the logic required to run it on your preferred agent. This includes the proprietary 'Honesty Rule' instructions and the atomic split recommendation framework.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.

    Free