/cloud-devops:auditfrom cloud-devops
Fast quality gate that detects project stack, runs static analysis, checks cross-layer consistency, and auto-fixes issues. Run between pipeline phases, before commits, or after feature batches.
Ships in cloud-devops. 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.
None: SKILL.md is the whole skill.
You are a fast domain consistency auditor. Do NOT ask the user questions.
Detect the project stack, validate, fix, and report. This skill is designed to
run quickly between pipeline phases as a quality gate — it is lighter than
/analyze but catches the same critical issues. Run this aggressively: between
phases, before deploys, after refactors, before PRs.
TARGET: $ARGUMENTS
If no arguments provided, audit the entire project in the current working directory.
Detect the project stack by checking for marker files. A project may use multiple stacks (e.g., Python backend + React frontend). Detect ALL that apply:
| Stack | Marker Files |
|---|---|
| Flutter/Dart | pubspec.yaml |
| React / Next.js | package.json with react/next deps |
| Node.js / Express | package.json with express/fastify/nest deps |
| Python | pyproject.toml, setup.py, requirements.txt, Pipfile |
| Go | go.mod |
| Rust | Cargo.toml |
| Java / Spring | pom.xml, build.gradle |
| Ruby on Rails | Gemfile with rails dep |
Also detect infrastructure:
| Infra | Marker Files |
|---|---|
| Firebase | firebase.json, firestore.rules |
| Docker | Dockerfile, docker-compose.yml |
| Terraform | *.tf files |
| Serverless | serverless.yml, sam-template.yaml |
| GraphQL | *.graphql, schema.graphql, *.gql |
| gRPC / Protobuf | *.proto files |
Record detected stacks — all subsequent phases adapt to what was found.
Run every automated check available FOR THE DETECTED STACKS:
FLUTTER (if detected):
flutter analyze — record errors and warnings.dart fix --apply to auto-fix.flutter analyze to confirm.dart:io imports in web-reachable code.REACT / NEXT.JS (if detected):
npx tsc --noEmit if TypeScript.npm run lint or npx eslint .).next build errors if Next.js.NODE.JS / EXPRESS (if detected):
npx tsc --noEmit or the project's type-check command.PYTHON (if detected):
ruff check . or flake8 or pylint (whichever is configured).mypy . or pyright if type checking is configured.ruff format --check . or black --check . if formatter is configured.GO (if detected):
go vet ./...go build ./... (compile check).golangci-lint run if available.RUST (if detected):
cargo checkcargo clippy -- -D warnings if clippy is available.JAVA / SPRING (if detected):
./mvnw compile or ./gradlew compileJava (compile check).RUBY ON RAILS (if detected):
bundle exec rubocop if configured.bin/rails db:migrate:status to check pending migrations.TESTS (all stacks):
Fix all static analysis errors. Commit: "fix(audit): static analysis cleanup" If clean, skip commit.
Run a TARGETED subset of the /analyze skill's checks yourself — do NOT invoke
/analyze directly. Unlike full /analyze, this phase checks only the CRITICAL
consistency paths — what actually breaks at runtime.
Adapt checks to the detected stack. Focus areas:
UNIVERSAL (all stacks):
.env.example or config docs.FRONTEND ↔ BACKEND (if both detected):
SERVERLESS / CLOUD FUNCTIONS (if detected):
NAVIGATION / ROUTING (if frontend detected):
CONFIG PROPAGATION:
Scope: Full project, but only CRITICAL paths. Depth: Quick checks — flag issues but don't deep-dive every layer.
Flag issues as:
Fix all Critical and Warning issues found in Phase 2. For each fix:
Commit all fixes: "fix(audit): cross-layer consistency fixes"
If fixes introduce new issues, fix those too (max 2 rounds).
After completing fixes, re-validate your work:
STOP when:
IF STILL FAILING after 3 iterations:
Keep the output concise. This is a gate check, not a deep analysis.
Stack detected: [list detected stacks and infra]
| Layer Pair | Checked | Critical | Warning | Info | Fixed |
|---|---|---|---|---|---|
| Model ↔ Service/Controller | N | N | N | N | N |
| API Contract ↔ Client Calls | N | N | N | N | N |
| Frontend ↔ Backend Types | N | N | N | N | N |
| Auth / Security Rules ↔ Code | N | N | N | N | N |
| Routes / Navigation | N | N | N | N | N |
| Config / Env Propagation | N | N | N | N | N |
| Schema / Migration Sync | N | N | N | N | N |
(Omit rows that don't apply to the detected stack.)
[Brief list of what was fixed, with file references]
[Info-level items not auto-fixed]
PASS: Zero critical and zero warning issues. Safe to proceed. FAIL: N critical / N warning issues remain. List them.
NEXT STEPS:
After PASS:
/iterate to build the next feature."After FAIL:
/audit again."/analyze for a deeper investigation of the failing areas."After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /audit — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
quality-gate, static-analysis, code-quality, pre-commit, ci-pipeline
npx claudepluginhub skillmds/skillmd --plugin cloud-devops24 skills in this plugin
/04-securityDify 安全和部署 SKILLDify 安全实践和部署运维完整指南,涵盖SSRF防护、代码沙箱、Docker/Kubernetes部署、监控告警和故障恢复/adpRedpanda's Agentic Data Plane: governance infrastructure for building, running, and governing AI agents and MCP servers, plus a proxying AI Gateway for LLM providers, operated via `rpk ai` and the ADP API. Use when creating or managing AI agents (managed or self-managed) via `rpk ai agent` or `AgentRegistryService`; configuring MCP servers (remote or managed catalog, code mode, auth); setting up LLM providers or querying models via `rpk ai llm`/`rpk ai model` or the AI Gateway proxy; or configuring budgets, guardrails, or Cedar access-control policies through the governance APIs. Also covers reading agent transcripts and spending insights, and wiring OAuth clients or providers to the aigw Authorization Server. For the separate rpk cloud mcp control-plane MCP server, see `/redpanda:rpk-cloud`./agent-recallPersistent compounding memory for AI agents. 5 default MCP tools: session_start, session_end, remember, recall, check. Full surface (18 tools) available with --full flag. Two-verb model: inhale (session_start) and exhale (session_end). Correction-first memory with decision trail tracking, watch_for warnings, palace rooms with salience scoring, cross-project insight matching, same-day journal merging, ambient recall hooks. Local markdown only. Zero cloud, zero telemetry, Obsidian-compatible. Optional Supabase backend: when configured via `ar setup supabase`, recall() uses pgvector cosine similarity on OpenAI/Voyage embeddings instead of keyword search — same API, semantic understanding. Gracefully degrades to local search if not configured.Other plugins' skills for the same job