Community Команды Разработка

Команда create-pr

Установка
npx claude-code-templates@latest --command git-workflow/create-pr

Описание

create-pr — slash-команда цикла pull request: ветка — создание новой ветки под изменение, коммит — фиксация наработок, pull request — отправка на ревью, один цикл — всё от ветки до PR одной командой. Для разработчиков, желающих отправлять работу на ревью без ручного перечисления git-команд.

Что умеет:
— создавать ветку под изменение;
— коммитить наработки;
— отправлять pull request;
— проходить цикл одной командой.

Create Pull Request Command

Create a new branch, commit changes, and submit a pull request.

Behavior

  • Creates a new branch based on current changes
  • Formats modified files using Biome
  • Analyzes changes and automatically splits into logical commits when appropriate
  • Each commit focuses on a single logical change or feature
  • Creates descriptive commit messages for each logical unit
  • Pushes branch to remote
  • Creates pull request with proper summary and test plan

Guidelines for Automatic Commit Splitting

  • Split commits by feature, component, or concern
  • Keep related file changes together in the same commit
  • Separate refactoring from feature additions
  • Ensure each commit can be understood independently
  • Multiple unrelated changes should be split into separate commits