commit
Commit current work using Starshine's commit policy. Use when the user asks to commit, create commits, save changes to git history, or prepare a commit from…
от jtenner★ 25 звёзд на GitHub
Установить commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Commit
Commit the current worktree as one or more policy-compliant commits.
Trigger
Use this skill whenever the user asks to commit, create a git commit, save changes in git history, or split current work into commits.
Policy
- Treat every request to "commit" as a request to split the worktree by top-level unit of change and commit each unit separately.
- Prefer large, detailed commits that explain what changed and why while staying as atomic as possible.
- Commit titles must use
<kind>: <title>. - Commit with
git commit -F <temp-file>, notgit commit -m. - Commit bodies must include changed files and reasons.
- Update relevant docs before committing; do not add per-commit changelog entries.
- Use docs/wiki pages,
docs/wiki/log.md, release notes, and git history for durable change records. - Prune stale
agent-todo.mditems and add new blockers or risks when the change affects active backlog.
Validation Policy
- Docs-only commits do not require tests. Use diff, link, and source review unless docs change generated contracts or executable examples.
- Forward-moving test or expectation updates do not require a test run unless the intent is to fix related behavior.
- Positive behavior changes may be committed even if they temporarily leave some tests failing, as long as progress and the failure state are documented in the commit body.
- Prefer
bun validatebefore committing only when the change needs repository-wide confidence. - Use the task-specific validation ladder when a change is ready for broad signoff or touches high-risk behavior.
Workflow
- Inspect the worktree with
git status --shortand review relevant diffs. - Identify top-level units of change. Keep each commit atomic, but do not split one coherent unit into tiny low-context commits.
- For each unit:
- stage only the files or hunks that belong to that unit;
- review the staged diff;
- decide whether validation is required under the validation policy;
- run required validation, or explicitly record why validation was not run;
- write a detailed commit message to a temporary file;
- commit with
git commit -F <temp-file>.
- Repeat until all intended units are committed.
- Report the created commits, validation run or intentionally skipped, and any remaining uncommitted changes.
Commit Message Shape
<kind>: <title>
Changed files:
- <path>: <what changed and why>
Validation:
- <commands run, results, or why tests were not required>
Notes:
- <known temporary failures, follow-ups, or backlog impacts when relevant>
Omit empty sections only when they add no useful information. Keep the body detailed enough that a future maintainer can understand the intent without reconstructing it from the diff.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл commit?
Commit current work using Starshine's commit policy. Use when the user asks to commit, create commits, save changes to git history, or prepare a commit from the current worktree.
Как установить скилл 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…