
Multiline Commit Messages
Writes multi-line git commit messages with single-quoted strings instead of fragile heredocs.
- Repository
- prisma/orm
- Stars
- 47,663
- Licence
- Apache-2.0
- Files
- 1 file
What it does
When an AI agent commits code using a shell tool, multi-line commit messages often get mangled by heredoc syntax, so the commit ends up containing garbled text. This skill tells the agent to write the message as a single-quoted string with real line breaks instead, which it says is simpler and more reliable. It is a short piece of guidance and runs no code itself.
Great for
- Developers who use an AI agent to make git commits and have seen garbled commit messages
- Teams using the Shell tool in Claude Code or similar agents that run git commands
Skip it if
- Projects that do not use git or do not let agents run shell commands, since the guidance has no effect there
- Commit messages that contain single quotes, because a literal apostrophe would end the single-quoted string and needs separate handling the skill does not cover
Try asking
- “Commit my changes with a short summary and a body explaining why the change was made”
- “Write a multi-line commit message for these staged files”
- “Create a git commit with a detailed description of the bug fix”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
multiline-commit-messages.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip multiline-commit-messages.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip multiline-commit-messages.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Ask the agent to avoid apostrophes in the message, or to rephrase them, since they break single-quoted strings.
- Check the resulting commit with git log -1 after the agent commits to confirm the message text is correct.
What's inside
- SKILL.md
Redistributed unmodified from prisma/orm under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.