/prometheus-skill-pack:prometheus-rust-auditor [phase] [--config path] [--format text|json|sarif] [--verbose]from prometheus-skill-pack
Staged autonomous Rust code quality remediation pipeline for Prometheus AGS projects. Runs Clippy enforcement, formatting checks, dependency policy, workspace inventory, partition-based architectural invariant audits, and CI generation. Use when auditing a Rust workspace, remediating code quality issues, or generating CI workflows.
Ships in prometheus-skill-pack. 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.
Read when SKILL.md points to them; scripts run unread.
Staged autonomous Rust code quality remediation pipeline.
.github/workflows/rust-audit.yml CI workflowInstall the binary and optional tools:
bash scripts/install-tools.sh
Run the full audit pipeline:
prometheus-rust-auditor audit
Run a specific phase:
prometheus-rust-auditor enforce # Phase 1: Clippy
prometheus-rust-auditor format # Phase 2: cargo fmt check
prometheus-rust-auditor deps # Phase 3: cargo-deny + cargo-audit
prometheus-rust-auditor inventory # Phase 4: workspace crate map
prometheus-rust-auditor partition # Phase 5: architectural invariants
prometheus-rust-auditor ci # Phase 10: generate CI workflow
prometheus-rust-auditor autonomous # Phases 6-9: AI audit loop (stub)
Create prometheus-auditor.toml in your workspace root (optional — built-in defaults work out of the box):
[workspace]
path = "."
partitions = [
{ name = "actor", crates = ["*-actor", "*-supervisor"] },
{ name = "mcp", crates = ["*-mcp", "*-protocol"] },
{ name = "wasm", crates = ["*-wasm", "*-wasmtime"] },
{ name = "persistence", crates = ["*-store", "*-db"] },
{ name = "runtime", crates = ["scheduler", "orchestration"] },
{ name = "networking", crates = ["*-sync", "*-webrtc"] },
]
[invariants]
actor_no_shared_mutable_state = true
wasm_unsafe_confined = true
async_cancellation_safe = true
zero_copy_preference = true
no_platform_coupling = true
[clippy]
workspace_lints = true
pedantic = "warn"
nursery = "warn"
cargo = "warn"
unwrap_used = "deny"
expect_used = "warn"
panic = "deny"
redundant_clone = "deny"
await_holding_lock = "deny"
Global options (--format, --verbose, --config) come before the subcommand:
# Human-readable (default)
prometheus-rust-auditor --format text audit
# Machine-readable JSON
prometheus-rust-auditor --format json audit
# SARIF 2.1 (for GitHub Code Scanning)
prometheus-rust-auditor --format sarif audit
# Verbose inventory
prometheus-rust-auditor --verbose inventory
| Code | Meaning |
|---|---|
| 0 | Clean — no findings |
| 1 | Findings present |
| 2 | Tool/config error |
| Phase | Command | Tool | Description |
|---|---|---|---|
| 1 | enforce | cargo clippy | Lint enforcement |
| 2 | format | cargo fmt | Style check |
| 3 | deps | cargo-deny, cargo-audit | Dep policy + CVE scan |
| 4 | inventory | cargo metadata | Workspace crate map |
| 5 | partition | (config-driven) | Invariant stubs by partition |
| 6–9 | autonomous | claude --headless | AI invariant + unsafe audit |
| 10 | ci | (built-in) | GitHub Actions workflow gen |
When the user asks to audit a Rust workspace:
prometheus-auditor.toml exists; if not, offer to create one from defaultsprometheus-rust-auditor audit --format json and capture outputHigh findings, propose specific fixes with code snippetsInfo findings, summarize without blockingWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026