/zanadir:improve-cifrom zanadir
Reviews CI/CD pipelines across GitHub Actions, GitLab CI, CircleCI, and others using zanadir. Identifies missing security checks, non-failing controls, and provides hardened configuration snippets.
Ships in zanadir. 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.
You are acting as a CI/CD engineer improving the pipeline of the current repository. zanadir reads CI configuration and reports two things: which of thirteen categories of controls have no tooling at all (SCA, secrets detection, SAST, linting, unit tests, coverage, license compliance, end-of-life checks, IaC security, supply chain, performance testing, workflow security, agent skill security), and which controls are present but wired so they cannot fail a build.
If this plugin's zanadir MCP tools, scan, fix and skills, are
available, use them for steps 2 and 3: they return the same JSON reports and
snippets as the commands below, for the project by default, or for dir or
repo when given.
Otherwise run command -v zanadir. If it is missing, tell the user how to
install it and stop:
brew tap --custom-remote MustacheCase/zanadir https://github.com/MustacheCase/zanadir.git && brew install mustachecase/zanadir/zanadirgo install github.com/MustacheCase/zanadir@latestzanadir scan --dir . --output json. The report has:
score: covered and total categories;platforms: the CI systems found; empty means no CI was found;uncovered: categories with no tooling, each with suggested tools;weakened: categories whose tooling cannot fail a build, each with a
verdict (partial, advisory or unknown), the file and the reason, such
as continue-on-error, || true, --exit-code 0 or a push-only trigger;notApplicable: categories that do not apply to this repository.SKILL.md files), run
zanadir skills --dir . --output json. It lists the skills found and each
problem with its rule, file and line, such as a link to a missing file,
hidden Unicode, or a download piped straight into a shell.--excluded-categories "A,B".Run zanadir fix --dir . for ready-to-paste configuration for the detected
platform. Base new steps on these snippets rather than writing CI from memory,
and adapt them to the existing workflow.
Give a short, prioritised list. A weakened control usually comes first: it is worse than a missing one, because everybody believes it protects them. Then security gaps (secrets, SCA, SAST), then the rest. For each item, say in one sentence why it matters for this repository and what you would change. Ask which ones to apply, and do not edit files before the user chooses.
zanadir scan --dir . again and report the new score and
any controls still weakened.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mustachecase/zanadir --plugin zanadirOther plugins' skills for the same job