/nexa-claude-audit:infra-auditfrom nexa-claude-audit
Generates a dated infrastructure audit report for any repository, documenting IaC definitions, environments, secrets, and local dev setup. Must be invoked explicitly via /infra-audit.
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.
/infra-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: infra-audit.
Title: Infrastructure Audit.
Search for Infrastructure as Code and container definitions:
*.tf, *.tofu, *.tfvars), Pulumi (Pulumi.*), AWS CDK (cdk.json),
CloudFormation and SAM (template.yaml, *.cfn.*), Bicep (*.bicep);charts/, Chart.yaml), Kubernetes manifests (k8s/, kubernetes/, manifests/),
Kustomize (kustomization.yaml);Dockerfile*, docker-compose*.yml, compose*.yml;vercel.json, netlify.toml, serverless.yml, fly.toml,
render.yaml, app.yaml, Procfile;infra/, deploy/, ops/, ansible/.For each definition, record the tool, the environments it targets (workspaces, overlays,
*.tfvars, values files), and the main resources it creates.
List the environment files and profiles (.env.example, .env.*, config/<env>.*,
application-<profile>.*) and how an environment is selected (an env var such as NODE_ENV,
APP_ENV, a CLI flag, a profile name).
List the names of the secrets and where each is referenced: env var names, secret manager keys,
Kubernetes Secret names, CI secret names in infrastructure files. Never copy a value. When a
committed file seems to contain a real secret (a key, a token, a password that is not a
placeholder), report it as a gap with the file and the key name only.
List what a developer runs locally: Compose files, Testcontainers usage, dev containers
(.devcontainer/), seed and setup scripts, Makefile or Taskfile targets.
Use this template after the contract header, ## Summary, and ## Gaps. Gaps include, for
example, files that seem to hold a real secret, environments with no definition, and secrets that
are referenced but not documented in an example env file.
## Infrastructure definitions
| Tool | Folder or file | Environments | Main resources |
|------|----------------|--------------|----------------|
## Environments and configuration
| Environment | Files | How it is selected |
|-------------|-------|--------------------|
## Secret references
| Secret name | Kind | Referenced in |
|-------------|------|---------------|
## Local development infrastructure
| Item | File | What it starts or prepares |
|------|------|----------------------------|
Confirm the contract checklist, then:
## Gaps, with the file and the key name only.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 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.
/cicd-auditWrites a dated CI/CD audit report for the current repository: the CI/CD system and local gates, a table of every pipeline with its triggers, jobs, test categories, and deploy target, a Mermaid flowchart of the main pipeline, the quality gates, and the gaps. Works on any repository and any CI system (GitHub Actions, GitLab CI, Jenkins, CircleCI, Azure Pipelines, Bitbucket, and others). Writes only docs/audit/cicd-audit/cicd-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /cicd-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.
/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.
npx claudepluginhub nexadevapp/nexa-claude-skills-marketplace --plugin nexa-claude-auditOther plugins' skills for the same job