Knowledge of documentation platforms and fetching strategies. Use when adding new documentation sources, determining fetch strategy for a docs site, detecting doc frameworks, or configuring the docs registry.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fรผgen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prรผfen und installieren.
Knowledge of documentation platforms and fetching strategies. Use when adding new documentation sources, determining fetch strategy for a docs site, detecting doc frameworks, or configuring the docs registry.
Documentation Sources Skill
Understand documentation platforms and how to efficiently fetch content from each. Supports 20+ platforms and frameworks.
Variables
Variable
Default
Description
PREFER_LLMSTXT
true
Check for llms.txt before other strategies
PREFER_GITHUB
true
Prefer raw GitHub over web crawling
BROWSER_FALLBACK
true
Use browser automation when curl fails
DEFAULT_STRATEGY
web_crawl
Fallback when detection fails
Instructions
MANDATORY - Follow the Workflow steps below when adding or analyzing documentation sources.
Always check for AI-native signals first (llms.txt)
Prefer raw content over rendered HTML
Use browser automation only when necessary
Red Flags - STOP and Reconsider
If you're about to:
Web crawl a site without checking for llms.txt first
Use browser automation without trying curl first
Add a source without detecting the documentation framework
Skip GitHub raw access when repo is available
STOP -> Read the appropriate cookbook file -> Follow detection order -> Then proceed
Quick Decision Tree
What documentation are you adding?
โ
โโ Has /llms.txt? โโโโโโโโโโโโโโโโโโโโโโโบ llmstxt-strategy.md
โ
โโ GitHub repo available?
โ โโ Has docs.yml/mint.json/mkdocs.yml? โบ github-strategy.md
โ
โโ Has /openapi.json or /asyncapi.yaml? โโบ openapi-strategy.md
โ
โโ Has /sitemap.xml? โโโโโโโโโโโโโโโโโโโโบ sitemap-strategy.md
โ
โโ Curl returns <1KB? (JS-rendered) โโโโโบ browser-strategy.md
โ
โโ Nothing else works? โโโโโโโโโโโโโโโโโโบ sitemap-strategy.md (crawl mode)
Workflow
Identify the documentation URL
CHECKPOINT: Check for AI-native signals (llms.txt, ai.txt)
Check if GitHub repo is available
Detect documentation framework from config files
Select appropriate strategy from cookbook
CHECKPOINT: Test fetch with curl before using browser