rustqual-workspace
Skill1 starsChanged 57 days agoMITView on GitHub
rustqual guidance for Rust workspaces with multiple crates (lib + binary, lib + CLI, multi-crate workspace). Use when rustqual findings don't make sense in a workspace context — DEAD_CODE on pub API, TQ_UNTESTED on CLI dispatch, score mismatch between workspace-level and per-crate scans, or ORPHAN_SUPPRESSION after adding qual:allow(dry). Triggers on: "rustqual workspace", "dead code false positive", "cross-crate", "lib and binary crate", "qual:allow dry not working", "ORPHAN_SUPPRESSION", or any rustqual scenario involving pub API used across crate boundaries.
In this repository78 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-ledger-applySkill
- godmode:crs-ledger-diffSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Read the file named in a row before doing the task in its right column.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
rustqual-workspace
Workspace-specific guidance for rustqual. rustqual operates per-crate — it cannot trace cross-crate call graphs. This creates predictable false positives in workspaces that require configuration rather than code changes.
For full rustqual reference (finding codes, CLI flags, config schema, quality loop),
see the rustqual skill. This skill covers only the workspace-specific patterns.
Reference Files
Read the file named in a row before doing the task in its right column. These files are not loaded automatically.
| File | Read before |
references/workspace-toml-examples.md | writing a rustqual.toml for a lib+binary, multi-crate, cfg-gated, or integration-test workspace |
references/workspace-toml-template.md | creating or editing the workspace-level rustqual.toml or a per-crate override |
references/pattern-dead-code-pub-api.md | a DEAD_CODE finding on a pub function used by another crate |
references/pattern-tq-untested-cli-dispatch.md | a TQ_UNTESTED finding on main, run, or a CLI dispatch function |
references/pattern-score-mismatch.md | comparing a workspace score against per-crate scores, or saving a baseline |
references/pattern-lib-untested.md | a TQ_UNTESTED finding on a function in a library crate |
references/triage-decision-tree.md | a finding's fix is not clear from its code location alone |
helpers/triage.nu | running per-crate triage: nu helpers/triage.nu [--crate <path>] [--json] |
helpers/triage.nu runs rustqual on each crate, annotates findings with recommended
actions (fix vs. config vs. suppress), and groups output by action type.
The Core Limitation
rustqual analyzes one crate at a time. It cannot see:
- Functions in
lib-cratecalled only bybinary-crate - Functions called by integration tests in
tests/ - Functions called by other workspace members
This produces structural false positives that are correct findings within a single crate but wrong in the workspace context.
Symptom index
| Finding or symptom | Read |
DEAD_CODE (testonly) on a pub function | references/pattern-dead-code-pub-api.md |
ORPHAN_SUPPRESSION after qual:allow(dry) | references/pattern-dead-code-pub-api.md |
TQ_UNTESTED on main, run, dispatch_* in a binary | references/pattern-tq-untested-cli-dispatch.md |
| Workspace score does not match per-crate scores | references/pattern-score-mismatch.md |
TQ_UNTESTED on a lib function | references/pattern-lib-untested.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

