92
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill jmagly/aiwg --skill doc-splitter- SKILL.md8.1 KB
Overview
This skill splits very large documentation sites into focused sub-skills and optionally creates an intelligent router to direct queries. It is designed for massive doc collections (10k+ pages) where single-skill scale or navigation becomes impractical. The goal is predictable, auditable splits with safety checks and retryable recovery steps.
How this skill works
It first estimates total page count and analyzes natural category boundaries from the documentation structure. You choose a split strategy (category, size, router, or hybrid) and the skill generates sub-skill configurations, scrapes sub-sites in parallel, and produces an optional router that maps queries to the right sub-skill. Checkpoints and recovery protocols capture progress and enable targeted retries on failures.
When to use it
- Documentation exceeds ~10,000 pages and single-skill performance degrades
- Site has clear topical sections that can become independent skills
- You need deterministic routing for user queries across many topics
- Preparing documentation for multi-agent or microservice workflows
- When you require repeatable split plans and checkpointed progress
Best practices
- Run a full size estimation before any split and confirm category detection
- Prefer router + category strategy for 10k–30k+ pages to preserve UX
- Ask the user when category boundaries or target sizes are unclear — never guess
- Use URL patterns and a catch-all category to avoid orphan pages
- Validate sub-skill coverage and run a small user routing test before production
Example use cases
- Splitting a 32k-page engine manual into scripting, 2D, 3D, physics, and networking sub-skills
- Creating a router for a cloud provider docs site so queries route to compute, storage, or networking agents
- Uniformly partitioning an API reference into size-limited sub-skills for parallel scraping
- Recovering and re-splitting a problematic category after detection of overlapping URL patterns
- Generating sub-skill configs for staged scraping and CI-driven validation
FAQ
The skill will escalate and ask for user guidance; do not proceed without clarifying boundaries or selecting a hybrid strategy.
How are orphan pages handled?
Add a catch-all category or refine URL patterns; recovery steps include detecting orphans and retrying affected categories.
When should I use size-based splits instead of categories?
Use size-based splits when topical divisions are weak and you need uniform sub-skill sizes for parallel processing.