julia-package-dev/SKILL.md
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.
npx skillsauth add krastanov/juliallmagentskills julia-package-devInstall 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 package-oriented Julia work: bootstrapping a package, local environments, multi-package workspaces, extensions, and Pkg apps.
using Pkg
Pkg.activate("./dev")
Pkg.develop(path="./MyPackage.jl")
using MyPackage
Prefer environments over mutating the global default environment.
ENV["JULIA_PKG_SERVER_REGISTRY_PREFERENCE"] = "eager" before Pkg
operations in local or CI sessions in this workspace. Use this by default
when recent registrations may matter; otherwise just-registered packages can
appear to be missing and create false resolution failures.Pkg.test(...) over directly executing test/runtests.jl when
validating a package checkout. Treat direct test/runtests.jl execution as
a runner-debugging path, not the default validation path.Manifest.toml directly. Treat every manifest as
generated state owned by Pkg.Pkg.update() and
Pkg.resolve() in the relevant environment first. If recurrent issues
remain, delete the relevant Manifest.toml file and regenerate it with
Pkg.instantiate().Project.toml when needed, but change dependencies and compat entries
only through Pkg APIs such as Pkg.add, Pkg.develop, Pkg.rm,
Pkg.free, and Pkg.compat.Pkg.develop(path=...) the local dependency checkouts already
present, preferably on their current master/main.references/pkg-commands.mdreferences/debugging.mdreferences/multipackage-git-workflow.mdreferences/extension-patterns.mdreferences/extension-testing.mdreferences/weakdephelpers.mdreferences/pkg-app-patterns.mdusing Pkg
Pkg.activate("quantum-dev")
Pkg.develop(path="./QuantumInterface.jl")
Pkg.develop(path="./QuantumSavory.jl")
julia-tests for test execution and organization.julia-docs for docs setup and doctests.julia-comonicon when you need a richer CLI than Pkg apps provide.julia-testsjulia-docsjulia-scratchdevelopment
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.