/lang-julia:julia-developmentfrom lang-julia
Guides Julia package development using a warm REPL session with Revise for incremental reloading and TestItemRunner for isolated per-edit verification.
Ships in lang-julia. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Work on a warm Julia session and verify each edit as you make it. The cost of a fresh process is time-to-first-execution paid once per session, so keep one alive and check every change against it. An agent that verifies per step writes better Julia: genuinely non-allocating where asked, and more likely to get the task right first time.
Start one session and reuse it.
Under Claude Code the AgentREPL.jl plugin gives a warm MCP session
over STDIO, with no open port.
Its eval tool is synchronous, so a call returns when evaluation
finishes.
A PostToolUse hook nudges you to reload after editing a .jl file.
Point the session at the project with activate, then instantiate.
Redefining state or types Revise cannot reload means restarting the
worker with reset.
Call the revise tool after editing a .jl file; session state is
kept.
Struct and type edits now reload on Julia 1.12+ with Revise 3.16+ and
revise_structs = true, but objects built before the edit keep the
old type, so a session holding such state is still stale.
Still needs a fresh worker:
Write tests as @testitem "name" begin ... end.
Each item runs in a fresh module, so runs stay isolated even in a
shared session.
Run using TestItemRunner once, then filter to what you changed:
# by file
@run_package_tests filter=ti->contains(ti.filename, "foo.jl")
# by name
@run_package_tests filter=ti->contains(ti.name, "edge")
# by tag
@run_package_tests filter=ti->!(:slow in ti.tags)
Run the narrowest filter that covers the change while iterating. Run the full suite on a fresh session before finishing.
Run most work on the warm session. Fall back to a fresh process for:
Use Pkg.update() rather than editing Project.toml by hand.
You can Pkg.add then using in a live session, but restart the
worker afterwards if the new package changes what is already loaded.
Format with JuliaFormatter, usually through a pre-commit hook.
Keep Aqua.jl tests in test/ for package-quality checks.
Follow the project style: 80-character lines, no trailing
whitespace, type-stable code.
Check type stability with @code_warntype and watch for Any.
Use DocStringExtensions templates, and mind template expansion:
@doc "..." (regular string) lets templates expand@doc raw"..." does not expand templates; use only without them@doc """...""" and escape
backslashes (\\int, not \int)@doc "
$(TYPEDSIGNATURES)
Brief description.
# Fields
$(TYPEDFIELDS)
"
struct MyType
"Field description"
field::Int
end
Keep interface docstrings to a line or two and cross-reference
related methods with a See also: [`other`](@ref) line rather than
repeating content.
Use it when developing, testing, documenting, or profiling Julia
packages.
Project-specific architecture and domain knowledge belong in the
project CLAUDE.md, not here.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub seabbs/skills --plugin lang-julia