Put in order · Vibe coding with Claude Code course · Module 15: Advanced Claude Code
Ordering: A commit message into a variable
Arrange the line from smart-commit.sh that saves the proposed commit message in the MESSAGE variable:
Items to put in order
- )
- echo "$DIFF"
- | claude -p "Write a commit message in the Conventional Commits format."
- MESSAGE=$(
You can check the correct answer by solving this task in the CodeWorlds game.