Loading...
Loading...
Compare original and translation side by side
.md.md| Browser URL | LLM-friendly URL |
|---|---|
| |
| |
| 浏览器URL | LLM友好URL |
|---|---|
| |
| |
| Resource | URL | Use Case |
|---|---|---|
| Single page | Add | Fetch specific documentation |
| Page index | | Find all available pages |
| Full docs | | Search across all docs (filter by keyword first) |
| 资源 | URL | 适用场景 |
|---|---|---|
| 单页文档 | 在任意文档URL后添加 | 获取特定文档内容 |
| 页面索引 | | 查找所有可用页面 |
| 完整文档 | | 跨所有文档搜索(先按关键词过滤) |
WebFetch: https://docs.getdbt.com/docs/path/to/page.md.mdWebFetch: https://docs.getdbt.com/docs/path/to/page.md.mdllms.txtWebFetch: https://docs.getdbt.com/llms.txt
Prompt: "Find pages related to [topic]. Return the URLs."llms.txtWebFetch: https://docs.getdbt.com/llms.txt
Prompt: "Find pages related to [topic]. Return the URLs."~/.claude/skills/fetch-dbt-docs/search-dbt-docs.sh <keyword>~/.claude/skills/fetch-dbt-docs/search-dbt-docs.sh <keyword>
Then fetch individual pages with `.md` URLs.
然后使用带`.md`的URL获取单个页面。| Mistake | Fix |
|---|---|
Fetching HTML URL without | Always append |
| Searching llms-full.txt first | Search llms.txt index first, only use full docs if no results |
| Loading llms-full.txt entirely | Use the search script to filter, then fetch individual pages |
| Guessing page paths | Use llms.txt index to find correct paths |
| 常见错误 | 解决方法 |
|---|---|
获取未追加 | 始终在dbt文档URL后追加 |
| 优先搜索llms-full.txt | 先搜索llms.txt索引,仅在无结果时再使用完整文档搜索 |
| 完整加载llms-full.txt | 使用搜索脚本过滤内容,再获取单个页面 |
| 猜测页面路径 | 使用llms.txt索引查找正确路径 |