julia-perf/SKILL.md
Optimize Julia code for performance. Use this skill when diagnosing slow code, reducing allocations, fixing type instabilities, or applying performance best practices.
npx skillsauth add krastanov/juliallmagentskills julia-perfInstall 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.
Diagnose and fix performance issues in Julia code following the official Performance Tips.
@code_warntype on hot functions.@time/@btime to find unexpected allocations.using BenchmarkTools, Profile
# Step 1: Measure
@btime my_function($args)
# Step 2: Check type stability
@code_warntype my_function(args)
# Step 3: Profile
@profile my_function(args)
Profile.print(noisefloor=2.0)
# Step 4: Track allocations
julia --track-allocation=user -e 'using MyPkg; my_function(args); Profile.clear_malloc_data(); my_function(args)'
const or pass as arguments.! functions to reuse buffers.@. or dot syntax to avoid temporaries.julia-jet - JET.jl static analysis overviewjulia-bench - Quick benchmarks, suites, and benchmark CItesting
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
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.
development
Fix trailing whitespace and ensure files end with newlines. Use this skill when preparing code for commit or when whitespace issues are detected.