# Cargo Mutants Workspace

> Cargo Mutants Workspace Skill

- Skill: `d-o-hub/cargo-mutants-workspace` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add d-o-hub/cargo-mutants-workspace`
- Raw SKILL.md: https://api.skillmd.com/api/skills/d-o-hub/cargo-mutants-workspace/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: d-o-hub (https://skillmd.com/u/d-o-hub)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/d-o-hub/cargo-mutants-workspace

---

# Cargo Mutants Workspace Skill

## Context
In a Cargo workspace, when running `cargo-mutants` targeting a specific crate (via `--package`), path parameters given to `--file` options must be relative to the workspace root, not relative to the specific crate directory itself.

## Guidelines
- Always prefix targeted file globs with the sub-crate directory relative to the workspace root.
  - *Bad*: `--file 'src/reward/**/*.rs'`
  - *Good*: `--file 'memory-core/src/reward/**/*.rs'`
- Ensure to verify that targeted files actually exist using an explicit sanity check or file-counting guard before running `cargo mutants`.

