본문으로 건너뛰기
cccskills
무료GitHub에 공개

bmad-os-audit-file-refs

Audit BMAD source files for file-reference convention violations using parallel Haiku subagents. Use when users requests an "audit file references" for a skill, workflow or task.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

audit-file-refs

Audit new-format BMAD source files for file-reference convention violations using parallel Haiku subagents.

Convention

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)
  • Template/runtime variables: {nextStepFile}, {workflowFile}, {{mustache}}, {output_folder}, {communication_language}, etc. — skip these, they are substituted at runtime

Flag any reference that uses:

  • ./step-NN.md or ../something.md — relative paths
  • step-NN.md — bare filename with no path prefix
  • steps/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 paths

References 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.

Steps

  1. 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
    
  2. Divide the resulting file paths into batches of roughly 20 files each.

  3. 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, bare steps/ paths, bare _bmad/ paths (without {project-root}/), absolute system paths.

    Return findings as a list: path/to/file.md:LINE_NUMBER | VIOLATION_TYPE | offending text

    If a file has no violations, include it as: path/to/file.md | clean

    End your response with a single line: FILES CHECKED: N where N is the exact number of files you read.

  4. Collect all findings from all subagents.

  5. 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.

  6. Output a final report:

    • Group findings by violation type
    • List each finding as file:line — offending text
    • Show total count of violations and number of affected files
    • If nothing found, say "All files conform to the convention."

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Analyzes 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-code-org/bmad-utility-skills82026년 9월 25일 업데이트

Generate 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-code-org/bmad-utility-skills82026년 9월 25일 업데이트

Create, 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-code-org/bmad-utility-skills82026년 9월 25일 업데이트

Review 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-code-org/bmad-utility-skills82026년 9월 25일 업데이트

Orchestrate 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-code-org/bmad-utility-skills82026년 9월 25일 업데이트

Analyze all github issues. Use when the user says 'triage the github issues' or 'analyze open github issues'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bmad-code-org/bmad-utility-skills82026년 9월 25일 업데이트

bmad-code-org의 스킬 모두 보기

이 스킬의 문제 신고