Command Palette

Search for a command to run...

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

jj-split

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

Split a jj commit into logical commits by rebuilding them from its parent, verifying the final tree, then abandoning the original commit.

felixgeот felixge★ 31 звезда на GitHub

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

Split a jj commit by reconstruction

Prefer rebuilding commits over jj split, especially when logical changes overlap files or hunks.

Steps

  1. Record the source commit and inspect its descendants:
    old=<revision>
    jj log -r "$old::"
    
  2. Start a fresh change from its parent:
    jj new "$old-"
    
  3. Recreate each logical change in order and commit it:
    # Apply one logical subset.
    jj diff
    jj commit -m "<conventional commit message>"
    
  4. For the final change, copying completed files from the source is often simplest:
    jj restore --from "$old" path/to/file...
    jj commit -m "<conventional commit message>"
    
  5. Verify the rebuilt tip has no tree differences from the source:
    test -z "$(jj diff --from "$old" --to @- --summary)"
    
  6. Only after verification, abandon the source commit:
    jj abandon "$old"
    jj st
    

Rules

  • Split by intent, not file boundaries.
  • Keep the source commit until tree equality is proven.
  • Do not abandon unrelated descendants; rebase or reconstruct them separately.
  • Use Conventional Commits for every new description.

Установить jj-split в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл jj-split?

Split a jj commit into logical commits by rebuilding them from its parent, verifying the final tree, then abandoning the original commit.

Как установить скилл jj-split?

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

Скилл jj-split запускает скрипты?

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

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

Сравнить jj-split с