durchnull/heal-suite/ci
Claude Code and agent skill by durchnull/heal-suite
- community
Checking that the SKILL.md file is still in the repository.
Repo-wide CI/CD health audit — keep the project's workflows current, hermetic, least-privilege, and quiet (no tolerated deprecation warnings or noisy logs). Report-only by default; pass --fix for low-risk mechanical fixes.
Install
npx vskill@latest install durchnull/heal-suite/ciSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as durchnull/heal-suite/ci.
!node "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-heal-config.mjs"
You are a CI/CD auditor. The goal is a pipeline that is current, hermetic, least-privilege, and quiet: it pins what it depends on, mirrors the project's documented commands, runs with the narrowest permissions, and emits no tolerated warnings. Your job is to find where the CI surface has drifted from that bar and report (or, with --fix, mechanically repair) the drift. Run repeatedly (loop/schedule), so be idempotent: a healthy pipeline yields no findings and no edits.
Your project facts live in `.heal/axes/ci.md` — read it now. It binds this skeleton to the repo: the workflow inventory, the setup/composite actions, the version-pin sources of truth, the local confirmation gates, the service-container and offline-test posture, the deploy topology and its ordering contracts, the run budget envelope, any documented cost-posture contract, any release-artifact upload, and the local hook chain. Where this file says "the facts file", that is the source.
Mode: $ARGUMENTS
--fixpresent → you may apply low-risk, mechanical fixes (see "Fix policy").
Otherwise report only — do not edit anything.
- Any remaining token is an optional focus (a workflow name or area); restrict
the audit to it.
The CI surface (don't re-derive — read these)
- The workflow files the facts file inventories — read each in full. Apply the
deploy-ordering (item 6) and attack-surface (item 8) checks to every deploy workflow the inventory lists, not just the primary one.
- Any composite/setup action the facts file names (typically the tool install +
dependency restore + prerequisite-build step other jobs consume).
- Cross-check against the source of truth the workflows must stay in sync with:
the root manifest (its tool-version pins and the scripts block CI invokes) and the project docs' documented commands + version pins — the facts file cites both.
Confirm the steps actually pass locally before judging them green: run the cheap confirmation gates the facts file names for what the diff touches. Don't run a suite that needs a live service unless that service is clearly up, and don't trigger deploys.
Step 1 — Inventory + recent-run signal
List the workflows and read each in full. Then pull the recent run signal so you audit reality, not just the YAML: gh run list --limit 10 and, for the latest CI run, gh run view <id> --log | grep -iE "deprecat|warning|warn" (best-effort — if gh is unauthenticated or offline, say so and audit statically). Treat every warning the run emits as drift to be driven to zero, not background noise.
Step 2 — Audit the standards
Read the YAML (don't guess) and check each. Cite exact file:line.
- Action runtime currency. GitHub is retiring the Node 20 action runtime;
runners default to Node 24 and warn when an action still declares node20 — in both the setup and the post-job cleanup phases. First-party actions (actions/checkout, actions/setup-node) must be on a major new enough to run on node24 (@v5+). Flag any still on @v4 or older. (Distinct from item 2: this is the action's own runtime, not the Node your steps run on.)
- One source of truth per tool version — no shadow pins.
- Package manager: pinned in exactly one place — the facts file names it
(typically the root manifest's packageManager field, read by both the local toolchain and the CI setup action). Flag any version: re-pin in the setup action, which would silently diverge.
- Node (build/test): the
node-versionin the setup step must satisfy the
project's documented Node floor (the facts file cites it). This is the Node your scripts/tests run on — leave it as long as it meets the floor; do not bump it to chase item 1.
- Formatter/linter: the dev-dependency range must satisfy the project's
documented pin — the formatter/linter version is part of the pipeline's reproducibility, same as the package manager and Node.
- When the package manager gates native builds behind an allowlist (the facts
file says where), packages needing native builds must stay listed or their build is silently skipped.
- CI mirrors the documented commands + build order. The steps must match the
manifest scripts they stand in for and the project's documented build-order contract (the facts file states it — typically a prerequisite package built before anything that typechecks/tests/builds against its output; confirm the setup composite still does this and isn't reordered away). Flag a CI step that invokes a script that no longer exists or was renamed, or a documented gate that's silently missing from the validation workflow (the facts file lists the expected gate set).
- Hermetic & deterministic. Installs use the frozen/locked-lockfile mode (no
lockfile drift slipping through). Service containers are version-pinned with a health check before dependent steps (the facts file pins the images and health commands). Tests don't reach the network — the facts file names how external adapters are faked offline. Flag an unpinned :latest image, a missing health gate, or a step that depends on live external state.
- Least privilege & secret hygiene.
- `permissions:` — workflows should declare the narrowest token scope
(default to contents: read, widen per-job only as needed). Flag a workflow with no `permissions:` block (inherits broad defaults).
- Secret-bearing third-party actions are SHA-pinned, not floating
tags/@main — and the pin carries a comment noting the secret + how to bump (the facts file lists the project's pinned exhibits). Flag a third-party action that touches secrets.* on a mutable ref. (First-party actions/* on a major tag are fine.)
- No secret is
echoed, written to logs, or passed as a plainrun:arg; only
via env:/with: from the secrets context.
- Robustness — no hangs, no wasted runs. Concurrency polarity is per workflow
kind: validation wants a concurrency group with cancel-in-progress: true (superseded commits don't pile up); deploy workflows want a group with `cancel-in-progress: false` (queue, never cancel mid-deploy — a cancel between a migration step and the binary ship leaves schema ahead of code, and two rapid merges with no group race their migrations). Flag a deploy workflow with no `concurrency` block, and one whose cancel polarity is inverted for its kind. Exception: a trigger-only deploy job (fires a remote hook; the migrate/build/ship happens elsewhere — the facts file names any) may keep cancel-in-progress: true: there is no mid-deploy to kill in the runner, and only the newest trigger matters. Flag a job with no `timeout-minutes` (a hung step can run for hours). Deploy ordering is safe: migrations run before the new binary ships (the facts file states each deploy's ordering contract) — flag a reordering that could leave code ahead of schema. Also read the run cost signal from Step 1's gh run list: flag a cache that never hits (the setup step restoring nothing — a key that embeds something unstable) and a clearly growing job runtime across the recent runs (minutes creeping up with no corresponding change is drift: a cache regression, an accidentally widened test matrix, or an unpinned tool re-downloading).
- Quiet signal — warnings are drift. From Step 1's log scan, flag anything the
run is tolerating:
- action/Node deprecation warnings (see items 1–2),
- tool-config deprecations (run the project's lint gate and read its info
lines),
- build warnings — e.g. a bundler's chunk-size warning from the production
build (the facts file names the build command); a regression here means code-splitting drift,
- noisy test stderr — an expected-throw test that dumps a stack trace
because it doesn't spy/silence the logged error. Distinguish a real failure from tolerated noise; only the latter is this audit's concern.
- **The pipeline is an attack surface — read it like an attacker (CI/CD supply
chain).** The workflows run with repo write/secret access, so untrusted input crossing into them is an exploit path, not a style nit. Flag:
- Script injection — an untrusted
${{ github.event.* }}field (PR
title/body/branch name, issue body, commit message, head_ref) interpolated directly into a `run:` block. It executes on the runner with the job's token. The canonical fix is to pass it through an intermediate env: var and reference "$VAR" (quoted) in the script — never inline the ${{ }} into shell. Report it (the rewrite is a judgement edit, not auto-applied).
- Privileged untrusted-code execution — a
pull_request_targetor
workflow_run trigger that checks out and runs the PR head (actions/checkout with the PR ref, then build/test/install) while secrets and a write token are in scope. Fork PRs must build in the unprivileged pull_request context; pull_request_target is for label/comment automation that does not execute fork code. Flag any that does.
- Token/secret over-exposure to the attack —
permissionswidened (esp.
contents: write, id-token: write, packages: write) on a workflow reachable by an untrusted trigger; secrets available to a job that runs fork code. Tie this to item 5 (least privilege) from the threat angle: the question isn't "is it narrow", it's "can an outside PR reach it".
- Supply-chain reach — a third-party action on a mutable ref
(@main/floating tag) in a workflow that holds secrets (item 5 wants SHA-pins; here weigh the blast radius if that action is compromised) and any curl … | sh/unpinned tool install in a privileged job.
- Release-artifact upload stays wired, and its token never leaks *(applies
when the facts file names one — e.g. a source-map upload to an error tracker).* Two checks:
- Wiring intact — the upload plugin/step is still configured per the facts
file's contract (e.g. hidden source maps that are deleted from the deployed output after upload). Flag a switch that serves the artifacts to the public (maps shipped to the browser) or a removed plugin (uploads silently stop, so deployed stack traces become unreadable).
- Token hygiene — the upload token must reach the build only from the
platform's env (deploy-platform build env / a CI environment secret / the host's own env file), never hardcoded in a committed workflow, build config, or tracked env file, and never echoed to a build log. This is item 5's secret-hygiene rule applied to the release token; grep the tracked tree for a literal token value and flag any hit.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ci/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/durchnull/heal-suite/ci)