Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

[feature request] Ability to customize the prompt. #30

Closed

Description

@zelch

I've noticed that you've been updating the prompt, and while I love some of the changes, there are other bits which I don't like as much. (10. If the diff includes multiple unrelated changes, pick the single most important one)

As such, it would be really nice if there was a way to customize the commit message prompt a bit, either with a full replacement, or by being able to adjust specific rules.

Activity

  1. jinzhongjia commented on Dec 24, 2025

    @jinzhongjia
    Owner

    I will try this

  2. zelch commented on Dec 31, 2025

    @zelch
    Author

    Maybe something vaguely like this?

    codecompanion-gitcommit_prompt_config.patch

    I'm not really a fan of how I handled the case of a nil prompt_template string, but the substitutions work reasonably well, and at least for my use case this is letting me customize the prompt as I want to.

  3. jinzhongjia commented on Dec 31, 2025

    @jinzhongjia
    Owner

    Sorry, recently I am a little busy, I will definitely deal with this tomorrow.

    Oh, this patch looks like great. I will create a new pr with this patch, maybe I will modify this patch

  4. jinzhongjia commented on Jan 3, 2026

    @jinzhongjia
    Owner

    Can you test this pr
    #31

  5. zelch commented on Jan 3, 2026

    @zelch
    Author

    @jinzhongjia That works perfectly!

    Think you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions