dbc-oduffy/coordinator-claude/code-health

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

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

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

Night-shift code review: apply findings, track.

Install

npx vskill@latest install dbc-oduffy/coordinator-claude/code-health

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/code-health.

Code Health — Night Shift Commit Review

The "night shift colleague." Queries today's completion entries to identify surfaces that saw recorded work, dispatches a Sonnet reviewer with --problems-only, applies findings inline, defers complex findings to the debt backlog, updates the health ledger, writes a morning-ready summary. Results wait at the next workstream-start.

Announce at start: "I'm using /code-health to review recent commits."

Run on every committed day, regardless of commit count. A small commit count is exactly when a review gets skipped and exactly where the adjacent-path regression hides. The only valid skip: zero completion entries today AND zero fallback commits (see Failure Modes).

Step 1: Identify Surfaces

Invoke through the .exe launcher by absolute path via the PowerShell call operator (Shape W). Ladder and shapes: ${CLAUDE_PLUGIN_ROOT}/snippets/resolve-coordinator-bin.md.

& "$env:COORDINATOR_SETTINGS_HOME\bin\query-completions.exe" --where "created=<YYYY-MM-DD>" --format json

Extract file paths / subsystem names from title, description, files. No entries for today: read state/health-ledger.md's Last daily check: date, fall back to git log --since="<last-check-date>" --oneline --stat, update the timestamp, report the fallback, continue with the commit-based scope.

Step 2: Diff Scope

coordinator-invoke review.freeze_diff '{"range":"HEAD","worktree":true,"slice_id":"<id>","paths":[<Step 1 paths>]}' (a directory prefix if Step 1 yielded a subsystem name; "range":"<last-check-commit>..HEAD", no worktree, on the fallback path). Summarize which files/systems changed — this drives the reviewer's vocabulary/emphasis in Step 3, not reviewer selection.

Step 3: Dispatch the Reviewer

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

Always the Sonnet coordinator:code-reviewer, never a persona — personas are Opus-only, reserved for the weekly arch pass; a finding that genuinely needs one gets flagged for /workweek-complete Step 7.5. Tell it what to weight by dominant change type (UE idioms / component-token-reuse-accessibility / numeric-correctness / coupling-and-interface-seams) — vocabulary only, never identity.

First register the reviewed file list: review-findings-ledger targets --add for Step 1's surfaces. Then dispatch unattended: coordinator:code-reviewer, UNNAMED, run_in_background: true, --problems-only. Its sidecar is spawn-provisioned (arrives as sidecar_path: in its brief) — no EM pre-scaffold. Read the returned DONE: <sidecar-path> | verdict: <OK|WARN|BLOCKED> | findings: <N> and pass the path to Step 4.

Step 4: Reviewer Applies Findings

The reviewer applies and verifies its ledger — inline fixes and annotations against its own sidecar, review-findings-ledger verify passing before it reports done. Findings needing 3+ interacting files or new abstractions go to Step 5 instead. No findings: skip to Step 6.

Step 4.5: Commenting Lint Sweep

Non-blocking, alongside the reviewer dispatch, never a gate: & "$env:COORDINATOR_SETTINGS_HOME\bin\coordinator-invoke.exe" ci.run_commenting_sweep '{"repo_root":"<repo-root>"}'. Without paths it scopes to files changed against the default branch plus untracked files — the nightly size, never the whole tree. Its findings file to the debt backlog the way Step 5 files a reviewer finding, source: daily-health/commenting-sweep/{date}. No findings: skip. Reporting only.

Audit-cadence (whole-repo) form, for /architecture-audit or a periodic full sweep only: ... ci.run_commenting_sweep '{"repo_root":"<repo-root>","paths":[<every tracked path from "git ls-files">]}'.

Step 5: Debt Backlog

& "$env:COORDINATOR_SETTINGS_HOME\bin\coordinator-queue-append.exe" --schema debt-backlog

One YAML file per finding under state/debt-backlog/. Required: title, body (block scalar: observation, structural gap, context), source: daily-health/code-reviewer/{date}, risk, proposed_action, status: open, created. Stage each: git add state/debt-backlog/<date>-<slug>.yaml.

Step 6: Health Ledger

Create state/health-ledger.md from template if absent (header Last daily check:/Last full audit:/Next rotation target:, then a ## System Index table: System | Grade | Status | Last Audited | Open P0/P1/P2 | Lines | Notes). Update Last daily check to today. If findings changed a grade, update that row; a system touched but rowless gets grade ?.

The ledger is the single source of truth for grades — /architecture-audit also writes here. Read the existing grade before changing it; don't downgrade a just-upgraded system absent new P0/P1s.

<!-- engine-gap: field=health_ledger.grade_from_findings producer=unknown memo=engine-gap-markers-name-a-memo-that-was-never-filed.md --> Grading anchors, status-trigger definitions, and the reviewer-emphasis-by-change-type mapping have no engine producer yet — apply the calibration in the wiki page for this skill.

Step 7: Health Summary

& "$env:COORDINATOR_SETTINGS_HOME\bin\coordinator-doc-new.exe" --type health-status --title "Health Summary"

Via Edit, fill health: (HEALTHY|WATCH|ACTION|CRITICAL), summary: (one-line), and body sections ## Systems Graded, ## Findings Summary, ## Action Items for Next Session. Worked example: wiki.

Step 8: Commit

Commit per snippets/scoped-commit-route.md, subject daily-code-health: review of surfaces from completion entries [date], pathspec exactly state/health-ledger.md and state/health/<YYYY-MM-DD>-health-summary.md. Nothing else this run touched. Post-commit hook pushes automatically.

Failure Modes

SituationAction
No health ledger on first runCreate from template, use last 24h as scope
No completion entries for today, or query-completions not foundFall back to git log --since=<last-check> scope; report fallback
No new commits since last check (fallback path)Update timestamp, report, exit — no dispatch
Reviewer returns no findingsSkip Steps 4-5, go to Step 6
Debt backlog doesn't existCreate from template first
Complex finding can't be fixed inlineDebt backlog, with severity and effort estimate
Git commands fail (no commits, detached HEAD)Report the error and stop

Grinder defaults

Contract: a finding is the row. script-first triage: Step 1's completion query, Step 2's frozen diff and Step 4.5's commenting sweep settle scope and lint findings before the reviewer sees a row. default budget: one Sonnet code-reviewer dispatch per run, the EM's stated cap on the pass. 25/50/75% checkpoints: the EM reads the reviewer's ledger against those marks of that cap. scoped commit per green row: each applied finding commits on its own pathspec; Step 8 carries only the ledger and summary.

Relationship to Other Commands

Cost: 1 Sonnet code-reviewer dispatch, no persona. /workday-complete is the primary trigger. /workstream-start's cockpit snapshot surfaces state/health/*.md next session. pipelines/daily-code-health/PIPELINE.md is the pipeline definition this executes.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

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

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/code-health/badge)](https://verified-skill.com/skills/dbc-oduffy/coordinator-claude/code-health)

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