julia-bench/SKILL.md
Benchmark Julia code with BenchmarkTools.jl and AirspeedVelocity.jl. Use when running quick benchmarks, writing benchmark suites, comparing results, or setting up benchmark CI.
npx skillsauth add krastanov/juliallmagentskills julia-benchInstall 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 Julia benchmarking work. Pick the workflow first, then open only the matching reference file.
references/quick-patterns.mdreferences/suite-patterns.mdreferences/suite-example.mdreferences/comparison.mdreferences/ci.mdusing BenchmarkTools
v = rand(1000)
@btime sum($v)
@btime sort!(x) setup=(x=copy($v))
julia -tauto --project=benchmark -e 'include("benchmark/benchmarks.jl"); run(SUITE)'
julia -tauto --project=benchmark -e 'include("benchmark/benchmarks.jl"); tune!(SUITE); run(SUITE)'
$ interpolation in BenchmarkTools unless you deliberately want to time
global lookup.setup= and usually evals=1 for mutating benchmarks.julia-perf - performance diagnosis and optimization before benchmarkingjulia-package-dev - package workflows around benchmark environmentsdevelopment
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.
development
Parse and write TOML in Julia using the TOML standard library (TOML.jl), including parse/tryparse APIs, ParserError handling, Parser reuse, and TOML.print serialization options. Use this skill when reading or generating TOML config files such as Project.toml, Manifest snippets, or other TOML-based settings.
development
Implement and debug Julia multithreading with Threads.@threads, Threads.@spawn, threadpools, locks, atomics, and race-avoidance patterns. Use this skill when parallelizing CPU work, configuring Julia thread counts, fixing data races, or handling thread-specific caveats such as task migration.