jmagly/aiwg/doc-splitter
Claude Code and agent skill by jmagly/aiwg
- community
Checking that the SKILL.md file is still in the repository.
Split large documentation (10K+ pages) into focused sub-skills with intelligent routing. Use for massive doc sites like Godot, AWS, or MSDN.
Install
npx vskill@latest install jmagly/aiwg/doc-splitterSKILL.md
Documentation Splitter Skill
Purpose
Single responsibility: Split large documentation sites into multiple focused sub-skills with an optional router skill for intelligent navigation. (BP-4)
Grounding Checkpoint (Archetype 1 Mitigation)
Before executing, VERIFY:
- [ ] Total page count is known (run estimation first)
- [ ] Documentation categories are identifiable
- [ ] Target skill size determined (default: 5,000 pages per skill)
- [ ] Router strategy selected (category, size, or hybrid)
DO NOT split without understanding documentation structure.
Uncertainty Escalation (Archetype 2 Mitigation)
ASK USER instead of guessing when:
- Category boundaries unclear
- Optimal skill size uncertain for target use case
- Cross-references between sections complicate splitting
- Router vs flat structure decision needed
NEVER arbitrarily split - seek user guidance on boundaries.
Context Scope (Archetype 3 Mitigation)
| Context Type | Included | Excluded | |
|---|---|---|---|
| RELEVANT | Doc structure, categories, page counts | Actual page content | |
| PERIPHERAL | Similar large doc examples | Other documentation | |
| DISTRACTOR | Content quality concerns | Individual page issues |
Size Guidelines
| Documentation Size | Recommendation | Strategy | |
|---|---|---|---|
| < 5,000 pages | One skill | No splitting | |
| 5,000 - 10,000 pages | Consider splitting | Category-based | |
| 10,000 - 30,000 pages | Recommended | Router + Categories | |
| 30,000+ pages | Strongly recommended | Router + Categories |
Workflow Steps
Step 1: Estimate Documentation Size (Grounding)
Step 2: Analyze Category Structure
Step 3: Choose Split Strategy
| Strategy | Best For | Description | |
|---|---|---|---|
category | Clear topic divisions | Split by documentation sections | |
size | Uniform distribution | Split every N pages | |
router | User navigation | Hub skill + specialized sub-skills | |
hybrid | Complex docs | Categories + size limits per category |
Step 4: Execute Split
Option A: With skill-seekers
Option B: Manual split configuration
Step 5: Scrape Sub-Skills
Step 6: Generate Router Skill
Step 7: Validate Split Results
Recovery Protocol (Archetype 4 Mitigation)
On error:
- PAUSE - Note which sub-skill failed
- DIAGNOSE - Check error type:
Category overlapβ Refine URL patternsUneven splitβ Adjust page limitsOrphan pagesβ Add catch-all categoryRouter incompleteβ Regenerate after all sub-skills done
- ADAPT - Modify split configuration
- RETRY - Re-split affected category (max 3 attempts)
- ESCALATE - Present split preview, ask user for boundary adjustments
Checkpoint Support
State saved to: .aiwg/working/checkpoints/doc-splitter/
Output Structure
After splitting large documentation:
Router Skill Structure
The generated router skill:
Troubleshooting
| Issue | Diagnosis | Solution | |
|---|---|---|---|
| Uneven splits | Category size varies | Use hybrid strategy with max_pages | |
| Orphan pages | URL patterns incomplete | Add catch-all or refine patterns | |
| Router confusion | Overlapping keywords | Make routing rules more specific | |
| Too many skills | Over-segmented | Merge related categories |
References
- Skill Seekers Large Documentation: https://github.com/jmagly/Skill_Seekers/blob/main/docs/LARGE_DOCUMENTATION.md
- REF-001: Production-Grade Agentic Workflows (BP-4, BP-9 KISS)
- REF-002: LLM Failure Modes (Archetype 3 context filtering, Archetype 4 recovery)
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagentic/code/addons/doc-intelligence/skills/doc-splitter/SKILL.md
Popularity
- Repository stars
- 96
- Repository forks
- 12
- Repository npm downloads, 7 days
- 2,424
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jmagly/aiwg/doc-splitter)