dbc-oduffy/coordinator-claude/architecture-audit

Claude Code and agent skill by dbc-oduffy/coordinator-claude

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Rotational arch audit: score systems, audit the top. No code edits.

Install

npx vskill@latest install dbc-oduffy/coordinator-claude/architecture-audit

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as dbc-oduffy/coordinator-claude/architecture-audit.

Architecture Audit — Rotational System Audit

Selects the highest-priority system from the health ledger, dispatches domain reviewers, and packages findings as spinoff candidates — the audit never edits code. Updates the ledger's Last targeted audit clock and the atlas metadata.

Run when /workstream-start surfaces a stale targeted audit (check-arch-audit-staleness), or on PM request. $ARGUMENTS names a system directly, skipping Step 1.


Step 1: Select Rotation Target

No state/health-ledger.md and no docs/architecture/systems-index.md → stop: run /architecture-survey first. $ARGUMENTS provided → skip to Step 2 with that system. Otherwise select the highest-priority system in the ledger — selection signals and worked calibration: wiki (no engine scorer exists yet). Report: _"Rotation target: [system]. Rationale: [why]."_

<!-- engine-gap: field=rotation.target producer=unknown memo=2026-08-27-claude-klabauter-em-doe-unmarked-obligations-and-four-lost-markers.md -->


Step 2: Review Existing Debt

Read state/debt-backlog/*.yaml (or bin/query-records --type debt --status open) for the target system; present open items to the PM before/alongside the audit (full pipeline, not inline).

Step 2.5: Load Atlas Context

docs/architecture/systems/{target-system}.md exists → include it in the reviewer dispatch as background context. Absent → reviewer discovers from scratch.

Step 2.75: Emit Ground-Truth File-Enumeration Artifact

cartography file_index --target-root <system-dirs> → write the index field to state/audits/{run-id}/ground-truth-files.txt, commit it. Pass the path in every analysis-agent prompt; the Opus reviewer diffs any "fabricated"/"non-existent" claim against it before issuing a verdict.

Out of scope: cross-repo targets (a host↔addon boundary or any target spanning two repos): audit once per repo and link the two audit records, naming the boundary in each.


Step 3: Dispatch System Review

Check the target's live file count (not the atlas count — systems grow); small systems get a direct Opus domain-reviewer dispatch, larger ones need Haiku→Sonnet pre-digestion first or the reviewer overloads. Threshold, dispatch procedure, prompt sources, and multi-reviewer criteria: wiki.

Do not ask whether to dispatch — invoking this skill IS the request for it; it dissolves no
gate this skill's body names.

<!-- engine-gap: field=dispatch.review_tier producer=unknown memo=2026-08-27-claude-klabauter-em-doe-unmarked-obligations-and-four-lost-markers.md -->

<!-- Pre-digestion uses the shared templates in ${CLAUDE_PLUGIN_ROOT}/pipelines/deep-architecture-survey/agent-prompts.md; the Phase-2 (Audit) H2 anchors (## System Narrative, ## Information Flow Diagram, ## Boundary Catalog, ## Health Grade, ## Summary) must stay verbatim there. Engine extraction and Workflow dispatch deliberately do not apply (wiki). -->


Step 3.6: Scaffold the Canonical Audit Record

coordinator-doc-new --type audit-record --system <target> writes docs/architecture/audit-records/<YYYY-MM-DD>-<target>.md; the reviewer fills the skeleton in-place via mode: auto. Reviewer prompt must cover: populate frontmatter (grade, health_status, run_id, reviewer), write the ### Diagram (ASCII) section, fill every prose section without flattening grade-rationale/ambition-check content. The three historical audit records (2026-05-28-coordinator-runtime.md et al.) are frozen; never retrofit them.


Step 4: Package Findings as Spinoff Candidates (never edits code)

Disposition is EM judgment down a ladder:

  • Trivial, tradeoff-free, non-structural → EM dispatches an executor immediately, no PM gate.

A finding touching a module boundary, interface, or cross-system surface is never eligible — always a spinoff candidate.

  • Mid-size cluster → one bundled spinoff candidate, not N singles or one bloated plan.
  • Large/structural → standalone spinoff candidate, or escalate to /plan; scaffold a DR first

for an architectural decision: coordinator-doc-new --type decision --title "<title>" --out docs/decisions/DR-<NNN>-<slug>.md.

The PM-gate applies only to the grouped/standalone path: surface Candidate spinoff: <slug> — <topic>. Authorize? and block. No debt-backlog auto-write.


Step 6: Update Health Ledger

Update the system's row (grade, status, audit date, open-issue counts), the `Last targeted audit` date only (never Last full audit), and Next rotation target if present. Stage, do not commit (git add state/health-ledger.md) until the Step 6.5 gate PASSes.

<!-- engine-gap: field=rotation.next_target producer=unknown memo=2026-08-27-claude-klabauter-em-doe-unmarked-obligations-and-four-lost-markers.md -->


Step 6.5: Update Atlas Page (Pre-Commit Gate)

No atlas page for the target → skip entirely. Otherwise pick a branch:

  • Branch A (refresh inline): edit the atlas body for findings, bump both last_mapped and

last_attested, set grade/health_status, stage alongside the ledger.

  • Branch B (assert current): zero body diff, bump last_attested only, stage, and the

close-out commit message must contain atlas-current-as-of: <YYYY-MM-DD>.

Run verify-arch-audit-atlas-refresh <AUDIT_DATE> <TARGET_SYSTEM> [<COMMIT_MSG_FILE>] before git commit. PASS branch=A|B → git commit -m "<subject>" -- state/health-ledger.md <atlas-page-path>. FAIL → do not commit; amend per your branch, re-stage, re-run. Anti-scope and branch mechanics: wiki.


Step 6.75: Triage Scratch Files

Large-systems path used → rm -rf tasks/scratch/weekly-architecture-audit/{run-id}/.


Step 7: Report

Precondition: the canonical audit record at docs/architecture/audit-records/<date>-<system>.md exists with populated frontmatter and a ### Diagram (ASCII) section, committed with the atlas + ledger close-out, and the Step 6.5 gate returned PASS — on FAIL, fix per that step. Chat report ≠ on-disk record (FAIL text: wiki).

Print ## Architecture Audit Complete with: System; Reviewer(s) (+ second-angle reviewer or "none — single angle sufficed"); Previous grade | New grade; Findings N total (X → immediate executor, Y → spinoff candidate(s) surfaced to PM, Z → escalated to /plan); Spinoff candidates surfaced; Next rotation target.

Notes

Failure modes, cost, and relation to /architecture-survey, /review//review-code, and pipelines/weekly-architecture-audit/PIPELINE.md: wiki.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
5
Repository forks
2
7-day trend score
9

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks
  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dbc-oduffy/coordinator-claude/architecture-audit/badge)](https://verified-skill.com/skills/dbc-oduffy/coordinator-claude/architecture-audit)

Something wrong with this skill or its page? Tell us.