multiline-commit-messages

por prisma

Use single-quoted strings for multiline git commit messages in the Shell tool. Prevents heredoc escaping failures that produce garbled commit messages.

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.

Más skills de prisma

prisma-cli-migrate-reset
prisma
prisma migrate reset
official
prisma-cli-validate
prisma
validación de prisma. Referencia al usar esta función de Prisma.
official
prisma-next-extension-upgrade
prisma
Upgrade Prisma Next in your extension. Bumps every `@prisma-next/*` dependency to the requested target (or npm `latest`), runs the per-transition upgrade…
official
adr-review
prisma
Revisar uno o más ADRs con una mirada fresca (como miembro del equipo sin contexto previo), identificar problemas narrativos y estructurales, y luego reescribirlos. Usar cuando el…
official
prisma-next-upgrade
prisma
Upgrade Prisma Next in your app. Bumps every `@prisma-next/*` dependency from the version pinned in the lockfile to the requested target (or npm `latest`),…
official
prisma-cli
prisma
Referencia completa de comandos, opciones y flujos de trabajo de la CLI de Prisma para configuración, migraciones y operaciones de base de datos. Cubre más de 20 comandos organizados por prioridad: configuración (init), generación (generate), desarrollo (dev), operaciones de base de datos (db pull/push/seed/execute) y migraciones (migrate dev/deploy/reset/status/diff/resolve). Incluye cambios de Prisma 7.x: nuevo archivo de configuración prisma.config.ts, indicadores eliminados (--skip-generate, --skip-seed, --schema, --url) y explícito...
official
prisma-client-api
prisma
Referencia completa de la API de Prisma Client para consultas de modelos, operaciones CRUD, filtrado, relaciones y transacciones. Cubre 17 métodos de consulta de modelos, incluyendo findUnique, findMany, create, update, delete, upsert y operaciones masivas con variantes de retorno. Proporciona opciones de consulta para dar forma a los resultados: select, include, omit, orderBy, take, skip, cursor y distinct. Incluye operadores de filtro escalares y lógicos (equals, in, contains, startsWith, lt, gt) además de filtros de relación (some,...
official
prisma-compute
prisma
Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, `auth workspace`, Compute apps/deployments/build logs/domains, `@prisma/cli agent install`, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte,...
developmentdevopsofficial