Audits BMAD source files for file-reference convention violations using parallel Haiku subagents. Use when users request an 'audit file references' for a skill, workflow, or task.
Ships in bmad-utility-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Audit new-format BMAD source files for file-reference convention violations using parallel Haiku subagents.
In new-format BMAD workflow and task files (src/bmm/, src/core/, src/utility/), every file path reference must use one of these valid forms:
{project-root}/_bmad/path/to/file.ext — canonical form, always correct{installed_path}/relative/path — valid in new-format step files (always defined by workflow.md before any step is reached){nextStepFile}, {workflowFile}, {{mustache}}, {output_folder}, {communication_language}, etc. — skip these, they are substituted at runtimeFlag any reference that uses:
./step-NN.md or ../something.md — relative pathsstep-NN.md — bare filename with no path prefixsteps/step-NN.md — bare steps-relative path (missing {project-root}/_bmad/... prefix)`_bmad/core/tasks/help.md` — bare _bmad/ path (missing {project-root}/)/Users/..., /home/..., C:\... — absolute system pathsReferences inside fenced code blocks ( ```) are examples — skip them.
Old-format files in src/bmm/workflows/4-implementation/ use {installed_path} by design within the XML calling chain — exclude that directory entirely.
Run this command to get the file list:
find src/bmm src/core src/utility -type f \( -name "*.md" -o -name "*.yaml" \) | grep -v "4-implementation" | sort
Divide the resulting file paths into batches of roughly 20 files each.
For each batch, spawn a subagent (subagent_type: "Explore", model: "haiku") with this prompt (fill in the actual file paths):
Read each of these files (use the Read tool on each): [list the file paths from this batch]
For each file, identify every line that contains a file path reference that violates the convention described below. Skip references inside fenced code blocks. Skip template variables (anything containing
{that isn't{project-root}or{installed_path}).Valid references:
{project-root}/_bmad/...,{installed_path}/..., template variables. Flag: bare filenames (step-NN.md),./or../relative paths, baresteps/paths, bare_bmad/paths (without{project-root}/), absolute system paths.Return findings as a list:
path/to/file.md:LINE_NUMBER | VIOLATION_TYPE | offending textIf a file has no violations, include it as:
path/to/file.md | cleanEnd your response with a single line:
FILES CHECKED: Nwhere N is the exact number of files you read.
Collect all findings from all subagents.
Self-check before reporting: Count the total number of files returned by the find command. Sum the FILES CHECKED: N values across all subagent responses. If the totals do not match, identify which files are missing and re-run subagents for those files before proceeding. Do not produce the final report until all files are accounted for.
Output a final report:
file:line — offending textWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/bmad-utility-skills:bmad-os-audit-file-refsfrom bmad-utility-skills
npx claudepluginhub bmad-code-org/bmad-utility-skills --plugin bmad-utility-skills10 skills in this plugin
/bmad-os-changelogAnalyzes changes since last release and drafts them directly into the project's CHANGELOG.md. Use when users requests 'update the changelog' or 'prepare changelog release notes'/bmad-os-changelog-socialGenerate social media announcements for Discord, Twitter/X, Facebook, and LinkedIn from the latest changelog entry. Use when user asks to 'create release announcement' or 'create social posts' or share changelog updates./bmad-os-diataxisCreate, update, fix, or refine documentation using Diataxis framework and BMad Method style guide. Use when user asks to 'create a doc', 'update docs', 'fix docs style', 'refine docs', or 'improve docs writing'./bmad-os-editorial-review-translationReview translated documentation for content fidelity — detect injected, off-topic, or unauthorized content by comparing against the English source. Use when reviewing translation PRs or translated docs./bmad-os-findings-triageOrchestrate HITL triage of review findings using parallel agents. Use when the user says 'triage these findings' or 'run findings triage' or has a batch of review findings to process./bmad-os-gh-triageAnalyze all github issues. Use when the user says 'triage the github issues' or 'analyze open github issues'.