Claude Code · Automation and CI

Draft a commit message

Ask for a commit message from the staged changes.

git diff --staged | claude -p "write a concise commit message"

Official Claude Code documentation

More automation and ci commands

All automation and ci commands · Claude Code cheatsheet

Was this page helpful?