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★ 31 звезда на GitHubОб этом скилле
Split a jj commit by reconstruction
Prefer rebuilding commits over jj split, especially when logical changes overlap files or hunks.
Steps
- Record the source commit and inspect its descendants:
old=<revision> jj log -r "$old::" - Start a fresh change from its parent:
jj new "$old-" - Recreate each logical change in order and commit it:
# Apply one logical subset. jj diff jj commit -m "<conventional commit message>" - 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>" - Verify the rebuilt tip has no tree differences from the source:
test -z "$(jj diff --from "$old" --to @- --summary)" - 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic