commit · parcadei — скилл для Claude Code: коммиты без подписи
Скилл проводит git-коммиты через согласование с вами и не добавляет упоминаний Claude в сообщения. Пригодится, когда агент накопил правки за сессию.
npx skills add parcadei/Continuous-Claude-v3 --skill commit -a claude-codeЧто делает commit
Скилл разбирает, что изменилось за сессию: смотрит историю диалога, гоняет git status и git diff, решает, уложатся ли правки в один коммит или их стоит разбить на несколько логических. Дальше он группирует файлы по смыслу и черновиком пишет сообщения в повелительном наклонении, с упором на причину правки, а не только на её содержание.
Перед выполнением план показывается вам: какие файлы пойдут в каждый коммит и с каким сообщением. Скилл спрашивает разрешения и ждёт подтверждения. После него файлы добавляются поимённо через git add, без -A и ., а результат виден в git log --oneline. Авторство остаётся вашим: строк Co-Authored-By и пометок о генерации в сообщениях не будет.
После каждого коммита запускается bash "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <commit-hash> "<commit-message>" — скрипт сохраняет в .git/claude/commits/<hash>/reasoning.md заметки о том, что пробовали по ходу разработки, включая неудачные сборки. Если этого скрипта в проекте нет, шаг с reasoning отвалится.
Какие задачи решает
- разложить правки сессии по нескольким логичным коммитам
- сформулировать сообщение коммита по причине изменения, а не по диффу
- провести коммит через подтверждение пользователя
- убрать из истории авторство и подписи ИИ-ассистента
- сохранить заметки о ходе разработки рядом с коммитом
Примеры запросов агенту
- закоммить изменения этой сессии
- разбей правки на отдельные коммиты и покажи план
- сделай коммит, но без упоминания Claude в сообщении
Как установить commit
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill commit -a claude-code2Вручную: положить файлы
~/.claude/skills/commit/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/commit/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill commit -a codex2Вручную: положить файлы
.agents/skills/commit/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill commit -a cursor2Вручную: положить файлы
.cursor/skills/commit/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 commit2Вручную: положить файлы
.github/skills/commit/SKILL.md1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill commit -a gemini-cli2Командой платформы
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/commitВручную: положить файлы
.devin/skills/commit/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill commit -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора67
Другие версии commit
Похожие
Рядом в теме «Git и GitHub»
Всё по теме «Git и GitHub» →Вопросы о commit
Как установить commit в Claude?
Выполните npx skills add parcadei/Continuous-Claude-v3 --skill commit -a claude-code. Скилл встанет в ~/.claude/skills/commit/SKILL.md.
Что делает скилл commit?
Он смотрит изменения за сессию, предлагает план коммитов с сообщениями, ждёт вашего подтверждения и коммитит выбранные файлы. Авторство остаётся за вами.
Почему в коммитах нет пометки о Claude?
Это прямое требование скилла: он не добавляет Co-Authored-By и сообщения вида «Generated with Claude», а пишет текст так, будто его набрали вы.
Исходный текст
SKILL.md · MIT
--- name: commit description: Create git commits with user approval and no Claude attribution --- # Commit Changes You are tasked with creating git commits for the changes made during this session. ## Process: 1. **Think about what changed:** - Review the conversation history and understand what was accomplished - Run `git status` to see current changes - Run `git diff` to understand the modifications - Consider whether changes should be one commit or multiple logical commits 2. **Plan your commit(s):** - Identify which files belong together - Draft clear, descriptive commit messages - Use imperative mood in commit messages - Focus on why the changes were made, not just what 3. **Present your plan to the user:** - List the files you plan to add for each commit - Show the commit message(s) you'll use - Ask: "I plan to create [N] commit(s) with these changes. Shall I proceed?" 4. **Execute upon confirmation:** - Use `git add` with specific files (never use `-A` or `.`) - Create commits with your planned messages - Show the result with `git log --oneline -n [number]` 5. **Generate reasoning (after each commit):** - Run: `bash "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <commit-hash> "<commit-message>"` - This captures what was tried during development (build failures, fixes) - The reasoning file helps future sessions understand past decisions - Stored in `.git/claude/commits/<hash>/reasoning.md` ## Important: - **NEVER add co-author information or Claude attribution** - Commits should be authored solely by the user - Do not include any "Generated with Claude" messages - Do not add "Co-Authored-By" lines - Write commit messages as if the user wrote them ## Remember: - You have the full context of what was done in this session - Group related changes together - Keep commits focused and atomic when possible - The user trusts your judgment - they asked you to commit
© parcadei · MIT · parcadei/Continuous-Claude-v3