/aa-jl:developing-julia-rust-bindingsfrom aa-jl
Guides implementing or debugging Julia bindings to Rust libraries using RustCall.jl or native ABI. Covers memory ownership, Julia dispatch, reproducible builds, and isolating upstream failures.
Ships in aa-jl. 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.
Read when SKILL.md points to them.
Build idiomatic Julia APIs backed by Rust operations, with explicit ownership and evidence that failures belong to the correct layer. Follow the package's existing Julia development and test conventions.
Inspect the Rust public API, actual dependency revision and enabled Cargo features, Julia wrapper, build script, and binding mechanism before selecting an implementation. For RustCall.jl, check the installed version and its generated API. For a native ABI, verify symbol names, integer widths, scalar representations, and buffer contracts.
Map Rust capabilities to Julia/Base/LinearAlgebra methods by category. Distinguish native implementation, Julia fallback, partial support, and missing support. Keep reproducible inventory snapshots separate from the evolving implementation mapping. Record limitations and verified revisions rather than calling a category complete because one entry point works.
Read references/colmat.md when working on Colmat.jl. It describes Colmat-specific examples and how to check them against the current checkout.
Prefer native operations and standard Julia dispatch on package-owned types. Avoid method piracy. Define +, *, \, svd, and similar interfaces only with clear return types, mutation rules, promotion, and errors. Keep decomposition reconstruction conventions explicit, especially complex adjoints.
Use small independent fixtures or a standalone Rust program to avoid comparing a wrapper against itself. Cover all advertised scalar types and representative empty, rectangular, complex, aliasing, and closed-owner cases. For binary loaders, exercise source mutation, garbage collection, nonnative byte order, unaligned input, malformed lengths, and preservation of NaN payloads/signed zeros where promised.
Run focused tests while developing, then the package's canonical julia --project -e 'using Pkg; Pkg.test()' and relevant executable examples. Reuse an active test session and read its failure log before restarting. Report actual assertions/files and runtime versions only from completed runs. Run the repository's formatting and native checks appropriate to the change.
Read references/upstream-reports.md when a dependency may be faulty. First reproduce the failure without Julia to distinguish Rust library defects from RustCall and wrapper defects. Check whether the caller satisfied the Rust API's preconditions before attributing an upstream panic.
For a confirmed RustCall binding defect, isolate the generated code or call signature in an executable Julia/Rust reproducer. Include a concrete proposed correction if the evidence supports one.
Keep workarounds in the wrapper or its native adapter; preserve dependency checkouts for reproducibility. Recheck whether the current upstream revision still contains the fault. Retain an executable reproducer and link any report in the project's implementation notes.
Post an upstream report only when the user has authorized it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub atelierarith/atelier-arith-julia-development-skills --plugin aa-jl14 skills in this plugin
/auditing-julia-package-practicesUse when you review an existing or in-progress Julia package against this repository's development practices and want prioritized, evidence-based findings and concrete remediation suggestions/creating-julia-appUse when you create a CLI written in Julia packages or MCP servers/debugging-juliaUse when Julia code errors, throws an exception, produces wrong results, or crashes and you need to find the cause from the command line: capturing and reading stack traces, locating the failing method with @which/@code_warntype/@code_typed, finding potential runtime errors with JET.jl, and narrowing to a minimal reproduction/developing-julia-packageUse when you implement or edit code inside an existing Julia package: module/`include` layout, multiple dispatch, type annotations and stability, formatting, and docstrings/documenting-julia-packageUse when you add, build, or publish documentation for a Julia package with Documenter.jl: the `docs/` layout, `docs/Project.toml`, `makedocs`/`deploydocs`, `@docs` and docstring blocks, doctests, and GitHub Pages deployment/finding-latest-julia-versionUse when you need the latest stable JuliaLang version number (e.g., to fill `VERSION=` in an install script) instead of hard-coding a value