# Julia Jet

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-krastanov-juliallmagentskills-julia-jet`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Krastanov](https://agentstack.voostack.com/s/krastanov)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Unlicense
- **Upstream author:** [Krastanov](https://github.com/Krastanov)
- **Source:** https://github.com/Krastanov/JuliaLLMAgentSkills/tree/master/julia-jet

## Install

```sh
agentstack add skill-krastanov-juliallmagentskills-julia-jet
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# JET.jl

Use this skill for all JET work. Keep the overview here and load the narrow
reference that matches the task.

## Warning

Use JET only on the latest stable Julia release. Nightly and pre-release Julia
versions often break JET because it depends on compiler internals.

## Environment Rule

- Prefer package-integrated JET runs via `Pkg.test(...; test_args=["jet"])` or
  the package's documented JET arguments.
- Keep JET as a test-only dependency in `test/Project.toml` with root
  `[workspace] projects = ["test"]`; avoid new `[extras]`/`[targets]` entries.
- Avoid direct `test/runtests.jl` execution unless you are debugging the test
  router or worker behavior.
- Set `JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager` or
  `ENV["JULIA_PKG_SERVER_REGISTRY_PREFERENCE"] = "eager"` before `Pkg`
  operations in this workspace.
- Never read or edit `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.

## Choose a Mode

- Start with `@report_opt` to find runtime dispatch and captured variables.
- Then use `@report_call` or `report_package` to find type-level errors.

## Quick Start

```julia
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")
```

## Filtering

```julia
@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

- `references/config.md`
- `references/testing.md`
- `references/error-kinds.md`
- `references/fixing-dispatch.md`

## Related Skills

- `julia-perf` - performance work after dispatch cleanup
- `julia-tests` - test-suite integration patterns

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Krastanov](https://github.com/Krastanov)
- **Source:** [Krastanov/JuliaLLMAgentSkills](https://github.com/Krastanov/JuliaLLMAgentSkills)
- **License:** Unlicense

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-krastanov-juliallmagentskills-julia-jet
- Seller: https://agentstack.voostack.com/s/krastanov
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
