julia-jet/SKILL.md
Analyze Julia code with JET.jl for type errors, undefined references, and optimization failures. Use this skill when setting up or running JET analysis on Julia packages.
npx skillsauth add krastanov/juliallmagentskills julia-jetInstall 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 for all JET work. Keep the overview here and load the narrow reference that matches the task.
Use JET only on the latest stable Julia release. Nightly and pre-release Julia versions often break JET because it depends on compiler internals.
Pkg.test(...; test_args=["jet"]) or
the package's documented JET arguments.test/Project.toml with root
[workspace] projects = ["test"]; avoid new [extras]/[targets] entries.test/runtests.jl execution unless you are debugging the test
router or worker behavior.JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager or
ENV["JULIA_PKG_SERVER_REGISTRY_PREFERENCE"] = "eager" before Pkg
operations in this workspace.Manifest.toml directly. If a JET failure appears after
dependency churn, run Pkg.update() and Pkg.resolve() in the relevant
package and JET environments first. If recurrent issues remain, delete the
relevant Manifest.toml file and regenerate it with Pkg.instantiate()
before blaming the analyzed code.@report_opt to find runtime dispatch and captured variables.@report_call or report_package to find type-level errors.using JET
@report_opt sum(Any[1, 2, 3])
@report_call sum("julia")
using MyPackage
report_package(MyPackage; target_modules=[MyPackage])
report_file("my_script.jl")
@report_opt target_modules=(MyPackage,) my_function(args...)
Read JET stack traces from the bottom up: the bottom frame is the actual problem site.
references/config.mdreferences/testing.mdreferences/error-kinds.mdreferences/fixing-dispatch.mdjulia-perf - performance work after dispatch cleanupjulia-tests - test-suite integration patternstesting
Run and write Julia tests with Test.jl, TestItemRunner.jl, and ParallelTestRunner.jl. Use when organizing test suites, choosing a test runner, or filtering package tests.
tools
Create and develop Julia packages in local environments, including package bootstrapping, multi-package workspaces, package extensions, and Pkg apps. Use when starting a package or managing package environments, dependencies, structure, and related development workflows.
development
Fix trailing whitespace and ensure files end with newlines. Use this skill when preparing code for commit or when whitespace issues are detected.
development
Parse and write YAML in Julia with YAML.jl, including load/load_file/load_all APIs, dictionary type customization, anchors/aliases behavior, and write/write_file emission. Use this skill when reading YAML configs, converting YAML to Julia structures, or generating YAML outputs from Julia data.