/workflow:rust-repo-doctorfrom workflow
Use only when the user explicitly invokes `rust-repo-doctor`; never auto-load. Audits Rust repositories and their machine-local development wiring across one or more checkout roots. Checks each repo's declared build, Clippy, test, and formatting gates; Boardkit boards and skill deployment; wiki-kit docks and rendered skills; rust-holes and typed-holes; Git/upstream state; entry files; and project-local overrides. Produces one status table and a separate list of changes required in other repositories.
Ships in workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run this skill only when the user names it. It is a read-only audit unless the user includes fix-local in the invocation.
Use checkout roots supplied by the user. With no roots, use the current Git
repository and existing ~/dev and ~/workspace directories. Do not scan the
whole home directory. Skip .git, target, .venv, node_modules, vendor,
and cache trees.
Inventory:
Cargo.toml..boardkit/manifest.toml, boardkit.toml,
and boardkit boards --json.wiki.toml and
.wiki/manifest.toml.Deduplicate by resolved Git root. Never treat a worktree as a second project, but report its branch separately when it is part of the requested roots.
AGENTS.md; if absent, read CLAUDE.md. Then read the
build/test section of its README and its CI, Makefile, justfile, or
pre-commit configuration. Repository commands override generic commands.git fetch --prune may run when network access is available because an
unfetched "up to date" claim is not useful. Record auth or network failure
as BLOCKED, not as repository failure.NOT RUN with the exact prerequisite.FAIL, BLOCKED, WARN,
NOT RUN, and N/A distinct.For every repo, report:
AGENTS.md, CLAUDE.md, and GEMINI.md shims;.claude/settings*.json plugin disables; and.agents/skills or .claude/skills that shadow global skills.Do not call a dirty tree unsafe by itself. Name each pre-existing path and keep it separate from failures introduced by a check.
Run the repo's declared commands exactly, including its pinned toolchain,
features, --locked, and lint allowances. Cover these columns when the repo
provides them:
If no gate is documented, use this conservative baseline and label it
fallback, not repository policy:
cargo fmt --check
cargo build --locked --all-targets
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked
Do not repair source failures during the audit. Capture the shortest useful failure signature and the command that reproduced it.
Locate Boardkit from BOARDKIT_HOME, a sibling checkout, or a path the user
supplied. Fail loud if more than one candidate disagrees.
For every resolved board:
export BOARDKIT_HOME=/resolved/path/to/boardkit
uv run --project "$BOARDKIT_HOME" boardkit check
uv run --project "$BOARDKIT_HOME" boardkit doctor
Also run boardkit boards --json where a family manifest exists. Report the
resolved board root, unreachable external rows, errors, warnings, and skips.
A doctor exit zero with warnings is PASS (warnings), never clean.
Verify both Boardkit skills, board-hygiene and delegating-work:
~/.agents/skills/.manifest.boardkit copies byte-match source; andboard@boardkit is installed and enabled when the Claude CLI is present.Search for project-local copies with the same names. A local copy wins in that repo, so compare it with source and label deliberate forks separately from stale shadows.
A complete result requires:
bin/check passing;typed-holes skill present in agent-skills;~/.agents/skills/typed-holes copy matching source; andrust plugin copy matching source when Claude is installed.The seeded-defect script documents a BSD sed assumption. On GNU/Linux, test
it in a temporary copy with only sed -i '' changed to sed -i; never patch
the checkout just to run the probe. Report the native portability issue and
the translated result separately.
Wiki-kit skills are project-scoped before a deployment's adoption gate. Do
not require or install garden, handoff, morning, or session-feedback
globally.
For the kit checkout, run its declared Ruff and pytest gates. For each wiki,
run wiki-doctor.py. For each consumer dock, run wiki-dock.py status and
verify .wiki/rendered-skills.json against the rendered files.
A consumer intended for Claude and Agent Skills tools needs all four skills
under both .claude/skills and .agents/skills. Compare rendered content with
the current kit after substituting the recorded kit path. Report legacy or
pre-adoption deployments; never migrate them during an audit.
When agent-skills is present:
bin/check-skills and bin/check-install;.manifest.my-skills with its source tree;Version equality is not content equality. Compare files even when the plugin manager says a version is current.
Only when the user explicitly includes fix-local:
agent-skills/bin/install-skills;Never use this mode to edit tracked files, migrate a wiki, rewrite prose, change dependency versions, or cross a board gate. Put those items in the external-changes list.
Start with this table, one row per repo or separate board home:
| Repository | Git | Build | Clippy/lint | Tests/live | Boardkit | Wiki-kit | Rust-holes | Doctor | Verdict |
|---|
Use 100% only when all expected source and installed files were counted and
byte-compared. Follow the table with:
none.End with one verdict: SAFE, SAFE WITH WARNINGS, or NOT SAFE. A build pass
does not override a Clippy, test, board-doctor, or deployment failure.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/codex-cliDrive the codex CLI from an external harness (Claude Code, OpenCode, a
script) for a second-model read. Use when the user says "codex review",
"second opinion via codex", "adversarial review", "drive codex", "codex
exec", or names codex as the reviewer for a diff, plan, or card.
Contains the sandboxed invocation, caller-owned deadlines, the prompt
contract that makes a review gradeable, the validity rule for a
delegated review, and the staging recipe for material outside the
working repo. Pins no model on purpose. Where a repo ships a
review-tooling document, that document decides which role codex serves.
/collaborating-with-antigravityDelegate plan, prose, spec, architecture, product, and marketing review to the Google Antigravity (agy) CLI, through the agy MCP tools from Claude Code or a JSON-bridge script from other harnesses. Also covers sandboxed execution in a worktree and long agent loops that should not block the main conversation. Not for code review, which goes to the opencode CLI reviewers or the codex CLI. agy spend is budget-gated, so get explicit user approval once per session before dispatching.Other plugins' skills for the same job
/gate-probesUse before git commit, gh pr create, or when the user says "ready to commit",
"review this diff", "check before I push", or "run the gates". Also use when
the user says "ensure proper gates", "verifiable checks", "ready for
implementation", "plan with gates", or "scope this change". Run these
universal gates before language-specific review skills (python-review,
rust-review). Checks scope control, duplication, reviewability, verification,
and residual risks.
npx claudepluginhub shearerbeard/agent-skills --plugin workflow