claude "commit my changes with a descriptive message"claude "create a PR for this feature"claude "help me resolve these merge conflicts"claude "show me what changed in the last 5 commits and explain the impact"
Claude пишет нормальные сообщения — не "fixed stuff", а описания что изменилось и почему.
Сравни:
# Обычный коммит разработчикаfix: bug# Коммит через Claudefix(auth): prevent token refresh race when user logs out mid-requestWhen a user clicked logout while a refresh_token call was in flight,the callback could restore the deleted session. Added abort controllertied to logout event + guard in refresh handler.Affects: src/auth/refresh.ts, src/auth/logout.tsTests: updated auth.test.ts with race scenario
⚠️ Force push в main/master — никогда
⚠️ Amend опубликованных коммитов — только локально
⚠️ Reset --hard без бэкапа — слишком легко потерять работу
⚠️ Delete branches без подтверждения — особенно локальные с неслитыми изменениями
В настройках .claude/settings.json эти операции стоит положить в deny. Делаем в Модуле 3.
В Модуле 3 подключим GitHub через MCP. Тогда Claude сможет:
claude "find all open bugs tagged 'critical' and summarize them"claude "review open PRs, approve ones with only style changes, flag ones needing human review"claude "create issues for the 5 top errors in Sentry this week"
Следующий урок: Memory, Skills, slash-команды. Как сделать так чтобы Claude помнил твои предпочтения между сессиями и умел вызывать сохранённые workflow одной командой.