---
name: gc-audit
description: Periodic end-to-end verification of the GuruConnect codebase and CI/CD infrastructure. Runs 6 parallel audit passes: (1) API/route & surface inventory, (2) Rust code quality & standards, (3) TypeScript/dashboard quality, (4) protocol & wire-format integrity (proto <-> prost <-> manual TS decode), (5) security & remote-session integrity, (6) docs/roadmap reconciliation. A 7th sequential pass audits CI/CD pipeline health (Gitea Actions workflows, runner registration, clippy/audit gates, deploy host). Produces a timestamped audit report and updates the living docs (FEATURE_ROADMAP.md, TECHNICAL_DEBT.md). Takes 10-20 minutes. Invoke explicitly only — no auto-trigger. Use /gc-audit for a full audit. Optional arg: --pass=<name> to run a single pass (api, rust, ts, protocol, security, docs, pipeline). The docs pass reconciles FEATURE_ROADMAP.md, TECHNICAL_DEBT.md, the docs/specs/SPEC-*.md, and the specs/*/plan.md task markers against the code; quality passes check code against the granular .claude/standards/ files.
---

**Grok skill.** This maps to the shared skill in `.claude/skills/gc-audit/SKILL.md`.

Read `.claude/skills/gc-audit/SKILL.md` (use GrepAI via `search_tool` + `use_tool` (grepai__grepai_search) first for context per GrepAI-first rule in CLAUDE.md, .grok/README.md and .grok/skills/context/SKILL.md; `read_file` only when full content needed) and follow it, adapting for Grok tools (run_terminal_command for the audit script, spawn_subagent for parallel passes if useful, MCP search/use_tool for grepai during code audits).

The full audit process, passes, reporting, and updates to living docs are in the source `.claude/skills/gc-audit/SKILL.md`.

Invoke explicitly with /gc-audit or the skill. Use --pass for single passes. This is for GuruConnect.

See also: .grok/skills/rmm-audit/SKILL.md for the RMM counterpart.
