Skip to content
Kitbay
Skill

multiline-commit-messages

Apache-2.0Updated on Nov 11, 202647,664GitHub stars

A short contributed skill in the Prisma ORM repository about writing multi-line git commit messages from an agent's shell tool.

What the skill teaches

A short contributed skill in the Prisma ORM repository about writing multi-line git commit messages from an agent's shell tool. Because that tool sends each command as a single string, a heredoc placed inside command substitution can fail and leave the raw heredoc text in the commit message. The skill therefore forbids building messages that way, with either quoted or unquoted delimiters, and asks for a single-quoted string with literal line breaks instead: a short summary line, a blank line and one or more body paragraphs. It applies only to how commit messages are passed in the shell and says nothing else about their content or style. Nothing in it is specific to Prisma.

Capabilities

  • Pass multi-line commit messages safely
  • Avoid heredocs inside command substitution