commit
Stage and commit vault changes with UK English conventional commit messages
от DavidROliverBA★ 53 звезды на GitHub
Установить commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Commit Vault Changes
Stage and commit changes to the vault with properly formatted UK English conventional commit messages.
Usage
/commit # Auto-detect changes and commit
/commit -m "message" # Commit with a specific message
/commit --amend # Amend the previous commit (use sparingly)
Workflow
1. Review Changes
git status
git diff --stat
2. Stage Changes
Stage specific files rather than using git add -A:
- Never stage:
.env, credentials,.secrets.baseline(unless updated by detect-secrets) - Use
git add -ufor modified/deleted files with Unicode filenames (avoids octal encoding issues) - Use
git lfs trackfirst for large binary files (PPTX, PDF >100MB)
3. Compose Commit Message
Follow these conventions:
- UK English spelling (e.g., "organise", "summarise", "colour")
- Imperative mood in subject line (e.g., "Add meeting note" not "Added meeting note")
- Subject line under 72 characters
- Body explains the "why" not the "what" (the diff shows the what)
- Always include the co-author tag
4. Commit Format
<type>: <subject>
<optional body>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Types:
| Type | When to Use |
|---|---|
Add |
New notes, skills, scripts, templates |
Update |
Enhancements to existing notes or config |
Fix |
Bug fixes, broken links, frontmatter errors |
Refactor |
Restructuring without changing meaning |
Archive |
Moving notes to Archive/ |
Remove |
Deleting deprecated content |
Docs |
Documentation-only changes (CLAUDE.md, READMEs) |
5. Pre-commit Checks
The vault has pre-commit hooks that may:
- Run
detect-secrets(may need.secrets.baselineupdate) - Check for large files (use git LFS for >100MB)
- Fix trailing whitespace and EOF
If the hook modifies files, re-stage with git add -u then commit again.
6. Post-commit
Run git status to verify the commit succeeded and working tree is clean.
Important
- Never force push to main without explicit user confirmation
- Never use
--no-verifyunless the user explicitly requests it - If
git commitfails withPermissionErroron~/.cache/pre-commit/, usedangerouslyDisableSandbox: true
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash
FAQ
Что делает скилл commit?
Stage and commit vault changes with UK English conventional commit messages
Как установить скилл commit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл commit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…