ワンクリックで
git-commit-messages
Format git commit messages correctly, avoiding HEREDOC syntax issues in favor of multiline strings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Format git commit messages correctly, avoiding HEREDOC syntax issues in favor of multiline strings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use this skill when asked to perform an interactive git rebase programmatically, absorb/fixup commits into other commits, squash commits together, reorder commits, or drop commits. Provides a portable approach that works on macOS and Linux without interactive user input.
Expert guidance on Zod v4 validation library including breaking changes from v3, migration patterns, core API usage, and common validation patterns. Use when working with Zod schemas, validation, type inference, or migrating from Zod v3.
Manage git-tracked directories correctly - never create .gitkeep files in directories that will immediately contain tracked files
Demonstrates skill structure with progressive disclosure and best practices for skill development
How to write idiomatic assertions with the Bupkis assertion library for TypeScript and JavaScript
| name | git-commit-messages |
| description | Format git commit messages correctly, avoiding HEREDOC syntax issues in favor of multiline strings |
Use this skill when creating git commits with the Bash tool, especially for commits with:
Avoid HEREDOC syntax - Use -m with multiline strings instead.
git commit -m "feat(github): add github plugin
This adds comprehensive GitHub workflow support including
commands for PR management and review workflows.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>"
Key points:
-m flag with entire message in quotes# This FAILS in Claude Code's Bash tool
git commit -m "$(cat <<'EOF'
feat(github): add github plugin
This adds comprehensive GitHub workflow support.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
Why this fails:
git commit -m "fix: resolve path configuration issue"
git commit -m "feat: add progressive disclosure pattern
Skills now support references/ subdirectory for
detailed documentation that loads on-demand."
git commit -m "feat(tools): add git commit message skill
This skill teaches Claude to format git commit messages
using multiline strings instead of HEREDOC syntax, which
fails in certain shell environments.
The pattern uses a single -m flag with the entire message
in quotes, preserving newlines naturally."
Using -m with multiline strings is:
HEREDOC syntax causes issues because:
-m flag