From rust-skills
Checks and fixes missing reference files in dynamic skills by parsing SKILL.md Documentation sections, verifying references/, and generating from docs.rs via agent-browser.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rust-skills:core-fix-skill-docs [crate_name] [--check-only][crate_name] [--check-only]general-purposeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check and fix missing reference files in dynamic skills.
Check and fix missing reference files in dynamic skills.
/fix-skill-docs [crate_name] [--check-only] [--remove-invalid]
Arguments:
crate_name: Specific crate to check (optional, defaults to all)--check-only: Only report issues, don't fix--remove-invalid: Remove invalid references instead of creating files# If crate_name provided
skill_dir=~/.claude/skills/{crate_name}
# Otherwise scan all
for dir in ~/.claude/skills/*/; do
# Process each skill
done
Extract referenced files from Documentation section:
## Documentation
- `./references/file1.md` - Description
if [ ! -f "{skill_dir}/references/{filename}" ]; then
echo "MISSING: {filename}"
fi
=== {crate_name} ===
SKILL.md: ✅
references/:
- sync.md: ✅
- runtime.md: ❌ MISSING
Action needed: 1 file missing
--check-only: Only report, don't fix.
--remove-invalid: Update SKILL.md to remove invalid references.
Default: Generate missing files using agent-browser:
agent-browser "Navigate to docs.rs/{crate_name}/latest/{crate_name}/{module}/
Extract documentation for {topic}. Save as markdown."
Ensure Documentation section matches actual files.
# Check all skills
/fix-skill-docs --check-only
# Fix specific crate
/fix-skill-docs tokio
# Remove invalid references
/fix-skill-docs tokio --remove-invalid
npx claudepluginhub zhangweiii/rust-skills --plugin rust-skills3plugins reuse this skill
First indexed Jul 14, 2026
Checks and fixes missing reference documentation files for Rust skill SKILL.md entries. Invoked via /fix-skill-docs.
Repairs broken skill frontmatter (missing delimiters, empty descriptions, missing version) and prunes broken symlinks, empty directories, and orphaned skill copies. Dry-run preview by default; apply with --apply or --prune.
Internal development tool that validates all SKILL.md and agent .md files against the Claude Code spec. Checks frontmatter completeness, field validity, allowed-tools presence, line count, hardcoded paths, and description quality. Use when the user says "lint skills", "validate skills", "check skill quality", "run the linter", "are my skills valid", or before shipping changes to the skills repo.