with one click
audit-code
Review and fix any scope, round after round until a dry round
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Review and fix any scope, round after round until a dry round
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Review dimension for naming, idiom, comment debt, and AI tells against the codified per-language and prose standards. Invoked by reviewer agents over one module shard.
Recipe for writing C in the runtime, module placement and the ownership and control-flow discipline. Invoked by writer agents when a C unit is dispatched.
Recipe for writing Clojure, Functional Core / Imperative Shell at the function level (namespaces by domain), native wrappers, and the boundary discipline. Invoked when writing Clojure for the project.
Recipe for writing Elixir, pure functions in modules as the core and GenServer plus OTP as the shell, supervision trees, and NIF discipline for the C and Zig edge. Invoked when writing Elixir for the project.
Recipe for any English the agent produces in this project, commits, comments, docstrings, ADRs, design docs, skill bodies, changelog, error messages, project guides. Optimizes for terse, humanized prose with no em dashes and no AI tells. Invoke for any prose-writing activity.
Recipe for writing Zig, native bodies and edge wrappers, the allocator and lifetime discipline, and the hot-path rules. Invoked when writing or editing any Zig source.
| name | audit-code |
| description | Review and fix any scope, round after round until a dry round |
| disable-model-invocation | true |
Role: the audit loop. Reviews and fixes existing code at any scope, running review rounds until a round finds nothing new, then offers the stack to land.
~/.agentic-sdk/<project>/project.edn exists with :lanes, :dimensions-active,
and :spine. At least one module has landed; there is code to audit.
The per-round procedure is run-review-round; this skill is the loop
around it. The topology and conflict rules are in
skills/shared/references/worktree-model.md.
jj new, then jj describe -m "Refactor: Audit <scope>". Hold the scope (a module, a list of
modules, or a theme) in context; the rest of the run cites it. A
long audit may keep a minimal, gitignored resume checkpoint under
~/.agentic-sdk/<project>/runs/<slug>/ recording what is done (rounds
completed, findings still open); never committed, never the
hand-off medium.CHANGELOG: lines from each round summary). Offer the stack to
land; advancing main is the maintainer's call, never autonomous.Reads only the one-line returns of gather-module-context and each review-round-runner dispatch, never their findings dumps, diffs, or reasoning. The per-round detail lives in the round-runner's context, thrown away when it returns. Holds the scope, the shard briefs, and the round summary lines. An audit fixes what reviews find inside the scope; out-of-scope findings ride back in the round summaries, reported not chased, input to a future audit. The final land waits for the maintainer. Atoms dispatched: gather-module-context (once per shard), review-round-runner (run-review-round), write-commit and write-changelog at the land.
A rounds table (one line per round), the fix counts by level, the escalations, and the stack head ready for the maintainer to land.