/adacore:alirefrom adacore
Manages Ada projects with Alire: install, create, add dependencies, build, run, and set up tests.
Ships in adacore. 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.
Check whether alr is available:
alr --version 2>/dev/null || ~/.local/bin/alr --version 2>/dev/null
If Alire is NOT installed, ask the user if they would like you to install Alire for them.
If the user says "no", direct the user to visit "https://alire.ada.dev/" and stop.
If the user says "yes", follow the instructions in installing-alire to install Alire.
Note: alr has comprehensive built-in help. At any point, alr --help lists all available subcommands and alr --help` gives full usage details. Consult these whenever the reference files don't fully address the situation.
| Alire Command | Description | Reference |
|---|---|---|
| — | Install Alire | installation.md |
alr search | Search for crates in the index | alire-search.md |
alr toolchain | Inspect or pin compiler toolchains (optional — alr init/alr build auto-install default toolchain on first use) | alire-toolchain.md |
alr get | Fetch a crate from the index | alire-get.md |
alr with | Add a dependency | alire-with.md |
alr pin | Pin a dependency to a local path or Git repo | alire-pin.md |
alr install | Install a binary-tool crate to a shared prefix | alire-install.md |
alr build | Build the project | alire-build.md |
alr run | Run the project | alire-run.md |
alr exec | Execute a command in the project environment | alire-exec.md |
alr printenv | Print environment variables | alire-printenv.md |
| — | Set up tests for a crate (AUnit, GNATtest) | testing.md |
| — | Cross-compile for Raspberry Pi Pico | raspberry-pi-pico.md |
| — | Cross-compile for Zephyr (Arm / RISC-V) | zephyr.md |
Commands Not in the Reference Chart
If the user requests an alr workflow not covered above:
alr --help to confirm the subcommand existsalr <subcommand> --help to read its full usagereferences/alire-build.md (opens in a new tab)references/alire-exec.md (opens in a new tab)references/alire-get.md (opens in a new tab)references/alire-init.md (opens in a new tab)references/alire-install.md (opens in a new tab)references/alire-pin.md (opens in a new tab)references/alire-printenv.md (opens in a new tab)references/alire-run.md (opens in a new tab)references/alire-search.md (opens in a new tab)references/alire-toolchain.md (opens in a new tab)references/alire-with.md (opens in a new tab)references/installation.md (opens in a new tab)references/raspberry-pi-pico.md (opens in a new tab)references/testing.md (opens in a new tab)references/zephyr.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/gnatdocThis skill should be used when the user wants to "generate API documentation", "generate Ada documentation", "run gnatdoc", "document an Ada package", "annotate Ada code with GNATdoc tags", "use @param/@return/@field/@enum/@exception/@exclude tags", "produce HTML/ODF/RST/XML docs for Ada code", or is otherwise working with GNATdoc to extract documentation from Ada sources./gnatfuzzThis skill should be used when the user wants to "fuzz Ada code", "run gnatfuzz", "generate a fuzzing harness", "investigate a fuzz crash", "write a fuzzing wrapper for an unsupported parameter type", "generate or minimize a corpus", or is otherwise running a fuzzing campaign on an Ada/SPARK project. Covers running gnatfuzz, designing fuzzable subprograms, managing corpora, and reading fuzzing outputs and crash files./gnatproveUse before writing, changing or proving SPARK (Ada) code, and whenever running GNATprove. Lists SPARK and GNATprove features newer than most training data (SPARK Pro 26-27 / FSF 16-17, such as 'At, 'Loop_Index, Modifies, Program_Exit, Exit_Cases, assertion levels, finally and continue, proof manifests), GNATprove results that look like success but prove nothing, design-shaping restrictions, and how to find the SPARK User's Guide for the installed release./gnattestThis skill should be used when the user wants to "generate unit tests", "run gnattest", "create test skeletons", "build a test harness", "write AUnit tests", "add tests to Ada code", "run a testing campaign", or is otherwise working with GNATtest for Ada unit testing.npx claudepluginhub adacore/skills --plugin adacoreOther plugins' skills for the same job