本文へスキップ
Kitbay
スキル

multiline-commit-messages

Apache-2.02026年11月11日 更新47,664GitHubスター

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

スキルの内容

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.

できること

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