multiline-commit-messages

von prisma

Verwende einfache Anführungszeichen für mehrzeilige Git-Commit-Nachrichten im Shell-Tool. Verhindert Heredoc-Escape-Fehler, die verstümmelte Commit-Nachrichten erzeugen.

npx skills add https://github.com/prisma/prisma-next --skill multiline-commit-messages

Multiline commit messages

The Shell tool sends commands as a single string. Heredoc syntax (<<'EOF') inside $(cat ...) is fragile and fails silently — the literal $(cat <<'EOF' ... ends up as the commit message instead of the intended text.

Rule

Never use $(cat <<'EOF' ...) or $(cat <<EOF ...) for commit messages.

Use single-quoted strings with embedded newlines:

git commit -m 'short summary line

Longer body paragraph explaining why the change exists.
Additional context if needed.'

Why heredocs fail

The Shell tool passes the command as a single string argument. When you write:

git commit -m "$(cat <<'EOF'
message
EOF
)"

The shell may not parse the heredoc correctly in this context — the EOF delimiter, newlines, and nested quoting interact unpredictably. The result is the raw $(cat <<'EOF' ... text appearing as the commit message.

Single-quoted strings with literal newlines are simple, portable, and always work.

Mehr Skills von prisma

adr-review
prisma
Überprüfen Sie einen oder mehrere ADRs mit frischem Blick (als Teammitglied ohne Vorkenntnisse), identifizieren Sie narrative und strukturelle Probleme und schreiben Sie sie dann um. Verwenden Sie, wenn die…
ast-visitor-pattern
prisma
Verwende das Frozen-Class/Visitor-Muster für diskriminierte Unions mit mehreren Dispatch-Stellen. Verwende es beim Erstellen eines neuen Satzes von Varianten (Befehle, IR-Knoten, …).
bumping-biome
prisma
Bumps `biome` package versions (e.g. `@biomejs/biome`) using `pnpm`, aligns `biome.jsonc` files with the new version/s across the repository and runs…
contrib-pr
prisma
Öffnen Sie einen hochwertigen externen Beitrags-PR gegen prisma-next. Verwenden Sie, wenn der Benutzer ein externer Mitwirkender (kein Prisma-Maintainer) ist und einen… einreichen möchte.
create-pr
prisma
Erstellt einen GitHub-PR mit einem Linear-Ticket-präfixierten Titel und einer entscheidungsorientierten, narrativen Beschreibung für prisma-next. Verwenden Sie dies, wenn der Benutzer einen Pull-Request erstellen möchte…
draft-release-notes
prisma
Author the committed release-notes file for a stable Prisma Next release by enumerating the merged PRs since the previous stable `v*` tag, resolving opaque…
drive-agent-personas
prisma
Bibliothek von Agenten-Personas – benannte Bias-Frames, die andere Skills laden, um Ausführungszeit-Standards zu verschieben. Skills benennen eine Persona per ID (z. B. „Übernimm die Architekten…
drive-code-review
prisma
Generate local PR/branch review artifacts for the current branch vs its base — an in-repo canonical spec (if present) or an inferred review `spec.md`, plus…