/nexa-claude-audit:cicd-auditfrom nexa-claude-audit
Audits a repository's CI/CD setup: detects pipeline files, maps triggers/jobs/deploy targets, identifies quality gates and gaps, and writes a dated report with a Mermaid flowchart.
Ships in nexa-claude-audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/cicd-audit.Read and follow ${CLAUDE_PLUGIN_ROOT}/shared/AUDIT_CONTRACT.md: establish the report context,
detect the stack, and select the report path. Skill name: cicd-audit. Title: CI/CD Audit.
Search for pipeline definitions: .github/workflows/, .gitlab-ci.yml, .circleci/,
Jenkinsfile, azure-pipelines.yml, bitbucket-pipelines.yml, .buildkite/, .drone.yml,
.travis.yml, cloudbuild.yaml, .tekton/, argocd/, and release tools (.goreleaser.yml,
.releaserc*, release-please-config.json).
Also list the local gates: .husky/, lefthook.yml, .pre-commit-config.yaml, hook installers,
and Makefile CI targets.
When no pipeline exists, write Not found in each section, list the places searched, and still
report the local gates.
For each pipeline file, record the triggers (push, pull request, schedule, manual, tags), the jobs,
their order (needs, stages, dependsOn), and the deploy target.
Detect the test categories that each job runs from its commands and the scripts they call
(npm run test:e2e, go test -tags=integration, pytest -m smoke). Use the /qa-audit
categories: unit, integration, E2E, misc, and the smoke marker. Detect them yourself; do not read
a QA audit report.
Also detect the test categories that exist in the repository (runner configs, test folders, test scripts), so that you can report the ones that no pipeline runs.
List the checks that can block a merge or a deploy: lint, format, tests, coverage thresholds,
security scans, and required approvals when the repository shows them (CODEOWNERS, environment
protection in the workflow files, branch rules in config files).
Use this template after the contract header, ## Summary, and ## Gaps. The ## Gaps list holds:
## CI/CD system
| System | Files |
|--------|-------|
### Local gates
| Tool | File | Checks |
|------|------|--------|
## Pipelines
| Pipeline file | Triggers | Jobs | Test categories run | Deploy target |
|---------------|----------|------|---------------------|---------------|
## Main pipeline flow
(A Mermaid `flowchart LR` of the pipeline that runs on the main branch or on pull requests:
the jobs, their order, and the gates between them. Add a `Sources:` line.)
## Quality gates
| Gate | Kind | Pipeline or file | Blocks |
|------|------|------------------|--------|
## Pipeline secrets
| Secret name | Used in |
|-------------|---------|
Confirm the contract checklist, then:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ci-cd-audit, pipeline-analysis, devops-audit, repository-audit
npx claudepluginhub nexadevapp/nexa-claude-skills-marketplace --plugin nexa-claude-audit8 skills in this plugin
/architecture-auditWrites a dated architecture audit report for the current repository: links to the existing architecture documents, diagrams, and ADRs; the dependencies found in the implementation; C4 context, container, and component diagrams, sequence diagrams, and entity relationship diagrams in Mermaid, drawn from the code; a 4+1 view coverage map; and a trace of the non-functional requirements. Works on any repository and any tech stack. Writes only docs/audit/architecture-audit/architecture-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /architecture-audit — never inferred from user messages.
/code-metrics-auditWrites a dated code metrics audit report for the current repository: cyclomatic complexity, duplicated code percentage, coupling between objects (CBO), and depth of inheritance tree (DIT), each with a pass / warn / fail status against a fixed threshold. Static analysis only; runs no tests and no builds. Works on any repository and any tech stack. Writes only docs/audit/code-metrics-audit/code-metrics-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /code-metrics-audit — never inferred from user messages.
/infra-auditWrites a dated infrastructure audit report for the current repository: where and how the infrastructure is defined (Terraform, Pulumi, CDK, Helm, Kubernetes, Dockerfiles, Compose, serverless configs), the environments and how one is selected, the secret references (names only), and the local development infrastructure. Works on any repository and any tech stack. Writes only docs/audit/infra-audit/infra-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /infra-audit — never inferred from user messages.
/mutation-auditWrites a dated mutation audit report for the current repository: a serial unit test run, a time-boxed mutation testing run on the core business logic first, and a second unit test run, with the mutation score against a fixed threshold. Runs one test process at a time, in a temporary git worktree, so the working tree does not change. Works on any repository and any tech stack. Writes only docs/audit/mutation-audit/mutation-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /mutation-audit — never inferred from user messages.
/qa-auditWrites a dated QA audit report for the current repository: an inventory of every automated test, each put in exactly one category (unit, integration, E2E, misc), plus the explicitly tagged smoke tests and the skipped or disabled tests. Works on any repository and any tech stack. Writes only docs/audit/qa-audit/qa-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /qa-audit — never inferred from user messages.
/requirements-traceability-auditWrites a dated requirements traceability audit report for the current repository: the use case catalog, a matrix of which tests are linked to which use case by an explicit ID, candidate links, the gaps, and the external references (Jira keys, issue numbers, URLs) found in the repository. Works on any repository and any tech stack. Writes only docs/audit/requirements-traceability-audit/requirements-traceability-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /requirements-traceability-audit — never inferred from user messages.
Other plugins' skills for the same job