Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

git-stepwise-commit

БесплатноБез исполняемых скриптовНе проверен

Use when planning or creating logical commits, or committing and pushing; exclude push-only, history rewriting, and explicitly single-commit requests.

YangsonHungот YangsonHung★ 18 звёзд на GitHub

Об этом скилле

Git Stepwise Commit

Overview

Organize authorized changes into a sequence of appropriately sized commits with explicit dependencies. Start with technical boundaries, then group by business module and purpose. Each commit expresses one complete intent.

One request is one batch. Every subject in that batch shares the same short topic, even when commits cover different modules.

When to Use

  • The user asks to commit changes, split commits by module or frontend/backend, or commit and push.
  • If the user asks only for splitting advice, present a plan without committing.

Do Not Use

Do not use for pushing existing commits only, rewriting history, or an explicitly requested single commit.

Scope

  • A commit request includes analysis and execution; do not ask again solely to confirm the grouping after showing the plan.
  • Default to local commits; push only when requested, after the commit chain has been checked. Do not add branch creation, merging, PR creation, release, or history rewriting.
  • User-specified scope, grouping, and order take precedence. One complete unit may produce one commit; do not manufacture extra commits.
  • When another commit skill also applies, this skill owns grouping, order, and the fixed-topic series of subjects. Reuse applicable checks and delivery requirements without adopting its default single-commit behavior.

Splitting Criteria

Technical boundaries are the starting point; business intent and dependencies determine the final grouping:

Boundary Default grouping
Database Business domain, including structure, migrations, and corresponding schema mappings
Backend Service, business module, or independent use case
Frontend Application, business module, or independent interaction
Configuration and engineering Independent build, dependency, deployment, or CI purpose
Shared packages and other stacks Package, consumers, and responsibility
Independent documentation Topic; implementation notes normally accompany the implementation

Separate frontend and backend by default, as well as unrelated modules within each. Judge responsibility rather than file extension. Each commit should have a concrete one-sentence explanation, complete behavioral or structural meaning, a clear rollback boundary, and be buildable and verifiable with its predecessors present.

  • Split changes that mix unrelated goals, business modules, or independently deliverable refactoring and features.
  • Combine file-level style, import, type, or test changes that lack independent meaning. An independent one-line fix may still be its own commit.
  • Do not impose limits based on file count, line count, or a fixed number of commits; many generated files may form one unit.

Keep necessary atomic combinations together:

  • Implementation, corresponding behavioral tests, and necessary notes; dependency declarations and lockfiles; minimum configuration needed to run the implementation.
  • Baseline and incremental migrations, pure schema mappings, and migration tests for the same database change. Separate independent backend use cases.
  • Generated inputs and outputs that must stay synchronized. Assign generated code to its actual service or consumer, without creating stale contracts.
  • Split independent changes within a file by hunk where possible. If shared types, renames, or cross-file dependencies cannot be separated, combine the smallest necessary scope and explain why.

Subject Format

Use type(scope): [number]batch topic:specific description, for example feat(database): [1]Order payment:add payment status and migration.

  • Standard prefix: Follow repository requirements first; otherwise use Conventional Commits. Choose type per change and scope for its boundary or module. They may vary between commits; neither the batch topic nor the number replaces the prefix, and unrelated changes must not be forced into one type.
  • Fixed topic: Choose one short business name, batch_topic, from the complete delivery goal during planning. Reuse it verbatim across the batch, including database, frontend, backend, configuration, and different modules. Put module names and differences in the scope or specific description.
  • Numbering: Put [1], [2], [3] after the prefix and before the fixed topic, consecutively in actual commit order across the batch. Failed retries do not consume a number. When continuing the same batch, recover the topic and next number from successful subjects. Only an explicit request for a separate batch permits a new topic and numbering; do not rewrite existing history.
  • Punctuation and spacing: Use an ASCII colon and a space after the standard prefix, and a fullwidth colon immediately after the topic. Follow the repository's explicit subject format if it differs.

For a batch covering home-page sending and thinking state, choose batch_topic = Conversation experience:

fix(commercial): [1]Conversation experience:pr
Полный SKILL.md на GitHub

Установить git-stepwise-commit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл git-stepwise-commit?

Use when planning or creating logical commits, or committing and pushing; exclude push-only, history rewriting, and explicitly single-commit requests.

Как установить скилл git-stepwise-commit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл git-stepwise-commit запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить git-stepwise-commit с