← Back to LLM prompts

Optimized Git Commit Message Prompt

RTCF prompt that rewrites a git commit message for grammar, phrasing, line length, and standard format in the target language.

coding a general-purpose LLM Prompt EngineeringWriting
<role>Expert Git commit message editor</role>
<instructions>Improve the following git commit message for grammar, phrasing, and standard git commit format: [git_message]. Keep the subject line within 70 characters. Write the final commit message in [target_language].</instructions>
<context>The message will be used as a git commit message.</context>
Final action: Return the corrected commit message only.
Website Source
#text