skills/intellij-line-debugging/exports/claude/SKILL.md
Turn complex execution paths into line-by-line IntelliJ IDEA debugging flows with serial tutorial entrypoints, smallest-real-input reruns, exact breakpoint order, and deliberate stepping into editable local dependencies.
npx skillsauth add balandongiv/agent-skillbook intellij-line-debuggingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user wants to understand execution step by step inside IntelliJ IDEA or PyCharm. The goal is not only to "make debugging possible," but to make the path easy to follow from a real input through the real production call order, with minimal branching, minimal hidden cache skips, clear breakpoint placement, and deliberate stepping into repo-local editable dependencies when the library code is part of the question.
Prefer the smallest real input that still exercises the real behavior. If the bug or question depends on real file layout, sampling, annotations, feature selection, model configuration, or merge logic, use a small real scope instead of replacing the workflow with synthetic stand-ins.
If the production entrypoint is too parallel, too broad, or too cache-heavy, create a thin debug harness near the production module. The harness should call the same underlying functions in the same order, but with:
jobs=1 or equivalent serial executionforce or cache-bypass settings when neededDo not create alternate business logic just for debugging.
Reduce the debug scope until a human can keep the whole run in working memory. That usually means:
Caching, background workers, and discovery across many files make step-through debugging harder. When the user wants line-by-line debugging, prefer:
jobs=1--force or equivalent when cache reuse would skip the code pathstop_after or stage gates to stop before later stepsDo not just say "debug this file." Tell the user the exact order of breakpoints or "step into" points, starting from the first file read and continuing through the important transforms, library calls, merges, and writes.
If the user wants to see what happens inside third-party code, point them to the exact call sites where they should use Step Into. Also tell them what IntelliJ setting may block library stepping.
If the runtime uses a local editable package, treat that package as part of the debuggable codebase. Tell the user:
If the bug lives in the editable dependency, prefer fixing it at the dependency source instead of piling on project-local workarounds.
If you add a helper such as debug_<stage>_sequence.py, keep it:
tutorials/ or another clearly human-facing learning/debug folder when the helper is meant to be opened and debugged directly in the IDEtutorials/Pick one real unit of execution:
Use the smallest representative scope that still reproduces the behavior or teaches the execution path.
Use one of these, in order:
jobs=1Only refactor when the existing path is too hard to follow directly.
If you add a debug helper, make its sequence match production:
The helper should explain the production code, not replace it.
A good debug helper usually exposes or hardcodes a small settings block with:
force or cache-bypass behaviorstop_after gate such as resolve, load, extract, merge, or writeMake sure the user can run the path directly in IntelliJ IDEA or PyCharm with:
If library stepping matters, remind the user to disable settings that skip library scripts.
Breakpoints should usually follow this order:
Also call out which breakpoints are best for "inspect state" versus "step into library code."
At each breakpoint, tell the user what to inspect:
If the helper teaches the execution path or is likely to help again, keep it in the repo and document when to use it. If it is truly one-off, remove it before finishing.
jobs=1 when the user wants line-by-line debugging.--force or equivalent when cache reuse would skip important code.tutorials/ or an equally obvious IDE-facing folder.tutorials/.jobs=1.tools
One-sentence description of what this skill does and when to use it.
tools
One-sentence description of what this skill does and when to use it.
documentation
Review per-subject performance to identify likely outliers, distinguish bad data from difficult but valid cases, and document whether subject exclusion is justified before any filtered rerun.
documentation
Review per-subject performance to identify likely outliers, distinguish bad data from difficult but valid cases, and document whether subject exclusion is justified before any filtered rerun.