jit
БесплатноЗапускает вложенные скриптыНе проверенGenerate ephemeral catching tests on the current diff, run them, and report behavior regressions. Tests are never committed. Works across Java, Kotlin, Scala…
от diegopacheco★ 21 звезда на GitHubОб этом скилле
You are running the JIT Catching Test skill. The user invoked /jit. Your job is to find bugs introduced by the user's pending diff, without writing any test that lands in the repo.
Pipeline
- Detect the language target:
~/.claude/jit/bin/jit detect - Decide the comparison mode. The pipeline auto-detects:
- Snapshot mode (default if
.parent/exists in the cwd): compares the current files against.parent/. No git history required. Used by sample projects and any directory that ships a parent snapshot. - Git mode (otherwise): compares
HEAD~1..HEAD(or a user-supplied range).
- Snapshot mode (default if
- Honor
--diff <range>,--target <name>,--workflow {dodgy|intent|both},--mode {auto|git|snapshot},--parent-dir <dir>if the user passed them. - Run the pipeline:
~/.claude/jit/bin/jit run --repo . [--diff <range>] [--target X] [--workflow Y] [--mode Z] - The pipeline writes its output to
.jit-testing/runs/<run_id>/. Readreport.mdfrom that directory. - Present the top three catches as sense-check questions. Do not show test code first. Example:
On the parent,
qualifiesForFreeShipping($49.99 delivery)returnedfalse. On your change, it returnstrue. Is this expected? - For each catch, offer three actions: Confirm bug, Expected change, Show test code.
- If the user picks Show test code, print the relevant section of the report.
- On a verdict, persist it:
~/.claude/jit/bin/jit verdict <run_id> <catch_id> {confirmed|expected|deferred}
Supported targets
java8, java25, scala3-sbt, scala2-bazel, kotlin, python3, python3-django, nodejs.
If detection fails, stop and ask the user to pass --target explicitly.
Hard rules
- Never commit anything from
.jit-testing/. - Never write tests outside
.jit-testing/runs/<run_id>/tests/. - Keep dismissals fast: do not lecture the user when they say a change is expected.
After the run
Tell the user they can open the dashboard with /jit-dashboard.
Установить jit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл jit?
Generate ephemeral catching tests on the current diff, run them, and report behavior regressions. Tests are never committed. Works across Java, Kotlin, Scala, Python, and Node.js stacks.
Как установить скилл jit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic