core-fix-skill-docs
Internal maintenance support for checking and fixing generated Rust skill documentation references. Use only when explicitly invoked by /fix-skill-docs.
By actionbook · 1,333 installs
npx skills add actionbook/rust-skills --skill core-fix-skill-docs
Source repository · Upstream listing
Fix Skill Documentation
Version: 2.1.0 Last Updated: 2025 01 27
Check and fix missing reference files in dynamic skills.
Usage
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
Execution Mode Detection
CRITICAL: Check if agent infrastructure is available.
This skill can run in two modes:
Agent Mode : Uses background agents for documentation fetching
Inline Mode : Executes directly using agent browser CLI or WebFetch
Agent Mode (Plugin Install)
When agent infrastructure is available, use background agents for fetching:
Instructions
1. Scan Skills Directory
2. Parse SKILL.md for References
Extract referenced files from Documentation section:
3. Check File Existence
4. Report Status
5. Fix Missing Files (Agent Mode)
Launch background agent to fetch documentation:
Inline Mode (Skills only Install)
When agent infrastructure is NOT available, execute directly:
Step 1: Scan Skills Directory
Step 2: Parse SKILL.md for References
Read SKILL.md and extract all ./references/ .md patterns:
Step 3: Check File Existence
Step 4: Report Status
Output format:
Step 5: Fix Missing Files (Inline)
For each missing file:
Using agent browser CLI:
Using WebFetch fallback:
Then write the content:
Step 6: Update SKILL.md (if remove invalid)
If remove invalid flag is set and file cannot be fetched:
Tool Priority
1. agent browser CLI Primary tool for fetching documentation
2. WebFetch Fallback if agent browser unavailable
3. Edit SKILL.md For removing invalid references ( remove invalid only)
Examples
Check All Skills ( check only)
Fix Specific Crate
Remove Invalid References
Error Handling
Error Cause Solution
Agent not available Skills only install Use inline mode
Skills directory empty No skills installed Run /sync crate skills first
docs.rs unavailable Network issue Retry or use remove invalid
Permission denied Directory issue Check ~/.claude/skills/ permissions
Invalid SKILL.md format Corrupted skill Re generate skill