greglas75/zuvo/ci-audit

Claude Code and agent skill by greglas75/zuvo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

CI/CD pipeline audit for speed, cost, reliability, and security. 10 dimensions (CI1-CI10): caching, parallelism, conditional execution, artifacts, secret handling, action pinning, timeouts, Docker optimization, test integration, and pipeline speed. Primary support: GitHub Actions. Detection-level: GitLab CI, CircleCI. Switches: zuvo:ci-audit full | [path] | --speed-only | --security-only

Install

npx vskill@latest install greglas75/zuvo/ci-audit

SKILL.md

The same SKILL.md was published earlier as greglas75/zuvo/ci-audit.

zuvo:ci-audit

Audit CI/CD pipelines for wasted time, insecure practices, and reliability gaps. Single-pass execution, no sub-agents needed.

Primary support: GitHub Actions (full coverage of all 10 dimensions). Detection-level: GitLab CI, CircleCI (adapted patterns, unsupported checks scored as N/A).

When to use: After changing CI workflows, when pipelines are slow, before release hardening, when CI costs are high, quarterly optimization. When NOT to use: Application security (/security-audit), test quality (/test-audit), test runner config (/tests-performance).

Mandatory File Loading

Read every file below before starting. Print the checklist.

CORE FILES LOADED:
1. ../../shared/includes/codesift-setup.md -- [READ | MISSING -> STOP]
2. ../../shared/includes/env-compat.md -- [READ | MISSING -> STOP]
3. ../../shared/includes/run-logger.md -- [READ | MISSING -> STOP]
4. ../../shared/includes/retrospective.md -- [READ | MISSING -> STOP]

If any file is MISSING, STOP. Do not proceed from memory.


Argument Parsing

TokenBehavior
_(empty)_ or fullAll 10 dimensions, auto-detect CI config
[path]Audit specific workflow file or CI config directory
--speed-onlyCI1, CI7, CI9, CI10 only -- focus on pipeline duration
--security-onlyCI5, CI6 only -- focus on secret handling and action pinning

Safety Gate

This audit is read-only. The only write target is zuvo/audits/.

FORBIDDEN:

  • Modifying any workflow or pipeline file
  • Running CI pipelines or triggering builds
  • Modifying secrets or environment variables
  • Installing CI plugins or actions

MANDATORY TOOL CALLS — CI Audit Validity Gate

INVALID if any tool below is skipped. "DEFERRED", "N/A" NOT valid reasons.

ToolTriggerSkip allowed?
get_file_treeAlwaysNO — locate .github/workflows/, .gitlab-ci.yml, .circleci/
search_textAlwaysNO — YAML scan: cache hits, action versions, secrets refs
search_patternsAlwaysNO — CI5 secret leaks, CI6 unpinned actions, CI3 missing if
scan_secretsAlwaysNO — CI5 hardcoded credentials in workflow YAML
audit_scanAlwaysNO — compound check

Forbidden: same as above (DEFERRED, codesift unavailable when deferred, retrospective skipped — all REJECTED).

POSTAMBLE: report on disk → retro appended → ~/.zuvo/append-runlog exit 0. Every CI finding needs path/to/file.ext:LINE (verify-audit gate).

Mandatory-tools-acknowledgment: I will run get_file_tree + search_text + search_patterns + scan_secrets + audit_scan for this CI audit. Every CI finding will cite a `path/to/file.ext:LINE` resolving in the current tree.

Use the deterministic preload helper FIRST. Run ~/.zuvo/compute-preload ci-audit "$PWD". Math gate enforced.


Phase 0: Detect and Scope

0.1 Platform Detection

Detect the CI platform and set scan targets.

SignalPlatform
.github/workflows/*.yml or uses: patternGitHub Actions
.gitlab-ci.yml or stages: / include: patternGitLab CI
.circleci/config.yml or orbs: / jobs: patternCircleCI

If a [path] argument is provided:

  • File: scan that file, detect platform from content
  • Directory: find CI config within, detect platform

If no argument: auto-detect from project root.

If no CI config found: report error and suggest checking file locations.

0.2 Workflow Inventory

List all CI workflows/jobs with their trigger events.

Print:

CI PIPELINE INVENTORY
------------------------------------
Platform: [GitHub Actions / GitLab CI / CircleCI]
Scope: [auto-detected / user-specified path]
Workflows: [N]
Total jobs: [N]
Docker builds: [Y/N]
------------------------------------

Phase 1: Dimension Analysis (CI1-CI10)

Single-pass inline execution. No sub-agents required.

CI1: Caching Strategy -- Weight 15, Max 15
CheckGoodBadSeverity
Dependency cacheCache configured for package managerNo caching, full install every runHIGH
Cache key includes lockfile hashKey derived from lockfile content (hashFiles)Static key or no keyMEDIUM
Build cacheTurbo/nx cache, Docker layer cacheRebuild from scratch every runHIGH
Cache restore fallbackFallback keys for partial cache hitsCache miss = full rebuildLOW

What to search for:

  • GitHub Actions: actions/cache, setup-node with cache:, hashFiles, restore-keys
  • GitLab CI: cache: sections, key: with $CI_COMMIT or lockfile reference
  • CircleCI: save_cache / restore_cache, checksum

Score 0-15 based on coverage.

CI2: Parallelism and Job Structure -- Weight 12, Max 12

Dispatch follows ../../shared/includes/execution-policy.md through env-compat. Reuse existing authorization within that policy; session restrictions take precedence. Run each required gate and report its actual independence or an unmet requirement.

CheckGoodBadSeverity
Independent jobs in parallelJobs without dependencies run simultaneouslyEverything sequentialHIGH
Matrix strategyMulti-version/platform via matrixDuplicated jobs per versionMEDIUM
Fan-out/fan-inParallel test shards with final mergeSingle monolithic test jobMEDIUM

What to search for:

  • needs: / dependencies: / requires: chains
  • strategy: / matrix: / parallel: blocks
CI3: Conditional Execution -- Weight 8, Max 8
CheckGoodBadSeverity
Path filtersTriggers filtered by changed filesEvery push triggers every workflowHIGH
Skip conditionsDraft PRs and skip labels handledDraft PRs run full pipelineMEDIUM
Reusable workflowsShared logic via templatesCopy-paste across workflowsMEDIUM
Concurrency controlCancel stale runs on new pushDuplicate runs pile upMEDIUM

What to search for:

  • paths: / paths-ignore:, only: / except: / rules:, filters:
  • if: conditions, workflow_call (reusable)
  • concurrency: with cancel-in-progress, interruptible:
CI4: Artifact Management -- Weight 5, Max 5
CheckGoodBadSeverity
Selective uploadsOnly needed artifacts uploadedEverything uploadedMEDIUM
Retention policyShort retention days configuredDefault retention (90 days)LOW
Download scopeJobs download only what they needAll artifacts pulled into every jobLOW
CI5: Secret Handling -- Weight 12, Max 12, Critical Gate
CheckGoodBadSeverity
Secret accessSecrets referenced via env: blockSecrets interpolated directly in run: scriptsHIGH
Environment scopingSecrets scoped to environment (prod/staging)All secrets available to all jobsMEDIUM
OIDC usageKeyless auth where possible (cloud providers)Long-lived credentialsMEDIUM
PermissionsMinimal permissions: declaredDefault write-all permissionsHIGH
Hardcoded secretsZero hardcoded secretsSecrets in workflow YAMLCRITICAL

Critical gate: hardcoded secrets or secrets likely logged → triggers FAIL. The gate fires on that FINDING; a CI5 score of 0 also fires it but is not required.

Verification: For each secret reference found, read the surrounding step to check whether it is set via env: block (safe) or inlined in run: script (can leak to logs).

CI6: Action Pinning -- Weight 10, Max 10, Critical Gate

GitHub Actions only. GitLab CI / CircleCI: score N/A.

CheckGoodBadSeverity
SHA pinningAll actions pinned to commit SHAActions pinned to @main or @masterCRITICAL
Trusted sourcesOnly actions/* namespace or verified publishersUnknown third-party actionsHIGH
DependabotDependabot configured for github-actions updatesNo automated update mechanismMEDIUM
Tag pinningFirst-party actions at @vN (acceptable)Third-party at @vN (risky)MEDIUM

Critical gate: unverified actions from unknown sources → triggers FAIL. The gate fires on that FINDING; a CI6 score of 0 also fires it but is not required.

CI7: Timeout and Resource Config -- Weight 8, Max 8
CheckGoodBadSeverity
Job timeoutsEvery job has timeout-minutesNo timeouts, stuck jobs run until cancelledHIGH
Runner sizingAppropriate runner labels for workloadOversized runners for simple tasksMEDIUM
Resource limitsSelf-hosted runners have resource constraintsSelf-hosted without limitsMEDIUM
CI8: Docker Optimization -- Weight 8, Max 8, N/A if no Docker
CheckGoodBadSeverity
Multi-stage buildsSeparate build and runtime stagesSingle-stage with build tools in prod imageHIGH
.dockerignoreExists with meaningful exclusionsMissing or emptyHIGH
Base image pinningSpecific version tag or digestFROM node:latestHIGH
Layer caching in CIcache-from / cache-to configuredFull rebuild on every pushMEDIUM
CI9: Test Integration -- Weight 12, Max 12, Critical Gate
CheckGoodBadSeverity
Tests in pipelineTest command runs in CINo tests in CI at allCRITICAL
Coverage gateThreshold enforced, build fails below minimumCoverage reported but not gatedHIGH
Lint/typecheck separationLint and typecheck run as separate early stepsMixed into test step or absentMEDIUM
Test shardingLarge suites split across parallel runnersSingle long-running test jobMEDIUM

Coverage gate detection: Finding codecov or coveralls alone is NOT a gate -- it is just reporting. A gate requires a threshold that fails the build (e.g., --coverageThreshold, fail_under, Codecov threshold in config).

Critical gate: no tests in CI → triggers FAIL. The gate fires on that FINDING; a CI9 score of 0 also fires it but is not required.

CI10: Pipeline Speed -- Weight 10, Max 10

Evaluated from workflow structure analysis, not by running pipelines.

CheckGoodBadSeverity
Critical path depth<= 3 sequential jobs> 5 sequential job chainHIGH
Repeated installsShared setup step, cached depsnpm install in every jobHIGH
Trigger scopeHeavy jobs only on merge to mainEverything runs on every pushMEDIUM
Stale cancellationcancel-in-progress: trueDuplicate runs stack upMEDIUM

Critical path estimation: Trace the longest chain of needs: dependencies. Each link adds one sequential step.


Phase 2: Scoring

CI1 = [0-15] Caching Strategy
CI2 = [0-12] Parallelism
CI3 = [0-8] Conditional Execution
CI4 = [0-5] Artifact Management
CI5 = [0-12] Secret Handling (critical gate)
CI6 = [0-10] Action Pinning (critical gate, N/A if not GHA)
CI7 = [0-8] Timeout & Resources
CI8 = [0-8] Docker Optimization (N/A if no Docker)
CI9 = [0-12] Test Integration (critical gate)
CI10 = [0-10] Pipeline Speed

N/A handling: CI6 = N/A if not GitHub Actions. CI8 = N/A if no Docker. Excluded from both score and max.

Score = sum / applicable_max x 100

Critical gates — any ONE of these findings triggers FAIL, whatever the numeric score:

GateFires on
CI5any hardcoded secret in a workflow, or a secret reaching the log
CI6any unverified/unpinned action from an unknown source (GitHub Actions only; N/A elsewhere)
CI9no tests run in CI

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

Popularity

Repository stars
8
7-day trend score
11

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/greglas75/zuvo/ci-audit/badge)](https://verified-skill.com/skills/greglas75/zuvo/ci-audit)

Something wrong with this skill or its page? Tell us.