Skip to content

justxor/claude-code-pro-course / starter-kit/.claude/skills/commit

commit

Verified

Создаёт git-коммит в формате Conventional Commits по текущим изменениям. Используй, когда просят закоммитить или сделать коммит.

FileKindSize
SKILL.mdskill md1.3 KB
---
name: commit
description: Создаёт git-коммит в формате Conventional Commits по текущим изменениям. Используй, когда просят закоммитить или сделать коммит.
allowed-tools: Bash(git status), Bash(git diff:*), Bash(git add:*), Bash(git commit:*), Bash(git log:*)
argument-hint: "[необязательное пояснение]"
---

# Commit

Контекст от пользователя: $ARGUMENTS

1. `git status` и `git diff` (+ `git diff --staged`) — пойми, что изменилось.
2. `git log --oneline -10` — посмотри стиль сообщений в репозитории.
3. Если изменения логически разные — предложи разбить на несколько коммитов.
4. Не добавляй в коммит `.env`, секреты, временные и сгенерированные файлы.
5. Сообщение:
   ```
   <type>(<scope>): <кратко, повелительное наклонение, до 72 символов>

   <зачем сделано изменение, если неочевидно>
   ```
   type: feat | fix | refactor | test | docs | chore | perf | ci
6. Сделай коммит и покажи `git log --oneline -1`.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall