Command Palette

Search for a command to run...

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

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от 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

  1. Detect the language target:
    ~/.claude/jit/bin/jit detect
    
  2. 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).
  3. Honor --diff <range>, --target <name>, --workflow {dodgy|intent|both}, --mode {auto|git|snapshot}, --parent-dir <dir> if the user passed them.
  4. Run the pipeline:
    ~/.claude/jit/bin/jit run --repo . [--diff <range>] [--target X] [--workflow Y] [--mode Z]
    
  5. The pipeline writes its output to .jit-testing/runs/<run_id>/. Read report.md from that directory.
  6. Present the top three catches as sense-check questions. Do not show test code first. Example:

    On the parent, qualifiesForFreeShipping($49.99 delivery) returned false. On your change, it returns true. Is this expected?

  7. For each catch, offer three actions: Confirm bug, Expected change, Show test code.
  8. If the user picks Show test code, print the relevant section of the report.
  9. 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

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

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

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

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

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

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

Вложенные файлы

README.mdbin/jitcommands/jit-dashboard.mddashboard/__init__.pydashboard/app.jsdashboard/index.htmldashboard/server.pydashboard/style.cssdesign-doc.mdinstall.shjit-dashboard-1.pngjit-dashboard-2.pnglib/__init__.pylib/detect.pylib/pipeline.pylib/rubfake.pylib/runners/__init__.pylib/runners/base.pylib/runners/java25.pylib/runners/java8.pylib/runners/kotlin.pylib/runners/nodejs.pylib/runners/python3.pylib/runners/python3_django.pylib/runners/scala2_bazel.pylib/runners/scala3_sbt.pylib/storage.pysamples/java-shipping/.parent/INTENTsamples/java-shipping/.parent/src/main/java/com/example/Order.javasamples/java-shipping/.parent/src/main/java/com/example/ShippingPolicy.javasamples/java-shipping/README.mdsamples/java-shipping/pom.xmlsamples/java-shipping/setup-git.shsamples/java-shipping/src/main/java/com/example/Order.javasamples/java-shipping/src/main/java/com/example/ShippingPolicy.javasamples/kotlin-discount/.parent/INTENTsamples/kotlin-discount/.parent/src/main/kotlin/example/Discount.ktsamples/kotlin-discount/README.mdsamples/kotlin-discount/build.gradle.ktssamples/kotlin-discount/setup-git.sh

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить jit с