git-rules
Run after each commit to check commit hygiene, diff sanity, and whether the working tree is unexpectedly dirty.
от agentclash★ 38 звёзд на GitHub
Установить git-rules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Git Rules Skill
Use this skill after every commit.
Purpose:
- keep commit hygiene consistent
- catch post-commit repository drift
- make sure a commit leaves the repo in a reviewable state
Checks:
- verify the new commit is inspectable and scoped
- check for whitespace or patch-shape issues
- check whether the working tree is unexpectedly dirty after commit
- remind the user to push only intentional changes
This skill is lightweight and should run on every commit.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- post-commit.sh
FAQ
Что делает скилл git-rules?
Run after each commit to check commit hygiene, diff sanity, and whether the working tree is unexpectedly dirty.
Как установить скилл git-rules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-rules запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…