← 返回
AI智能 中文

Docs Feeder

Automatically fetches comprehensive project documentation from built-in registries or URLs to assist AI agents in debugging and learning.
自动从内置注册表或 URL 获取全面的项目文档,以协助 AI 代理进行调试与学习。
zerone0x
AI智能 clawhub v1.0.0 1 版本 99917.8 Key: 无需
★ 0
Stars
📥 1,215
下载
💾 36
安装
1
版本
#latest

概述

Docs Feeder

Auto-fetch project documentation and feed it to your AI agent for debugging and learning.

Triggers

  • docs feed
  • fetch docs

How It Works

  1. Registry Lookup — 50+ built-in projects (React, Next.js, Hono, Prisma, Anthropic, etc.)
  2. Fetch Priority:
    • /llms-full.txt → Full LLM-friendly docs
    • /llms.txt → Compact version
    • GitHub README → Fallback
  3. Smart Discovery — Unknown projects try common patterns (docs.xxx.com, xxx.dev)
  4. Size Warning — Alerts when docs exceed 500KB

Usage

# By project name (auto-lookup)
node fetch-docs.js nextjs

# By URL (direct fetch)
node fetch-docs.js https://docs.anthropic.com

# Raw content only (no metadata header)
node fetch-docs.js react --raw

# Save to file
node fetch-docs.js prisma --save

# List all supported projects
node fetch-docs.js --list

Built-in Registry

50+ projects including: React, Next.js, Vue, Svelte, Astro, Hono, Express, Fastify, NestJS, Prisma, Drizzle, tRPC, Zod, Tailwind CSS, shadcn/ui, TypeScript, Vite, Bun, Deno, Playwright, Vitest, Supabase, Stripe, Clerk, Anthropic, OpenAI, LangChain, Docker, Kubernetes, Terraform, Rust, Go, Python, FastAPI, Django, and more.

Edit docs-registry.json to add your own projects.

Registry Format

{
  "myproject": {
    "url": "https://myproject.dev",
    "llms": "/llms-full.txt",
    "github": "org/repo",
    "local": "/path/to/local/docs"
  }
}

Workflow

Fetch docs, then describe your problem:

→ node fetch-docs.js nextjs
→ [docs loaded into context]

"I'm getting a hydration mismatch error with App Router..."
→ [AI gives solution based on complete documentation]

Why This Works

Most modern doc sites ship /llms.txt or /llms-full.txt — a single file with the entire knowledge base formatted for LLMs. Instead of searching + reading + understanding docs manually, dump the whole thing into context and let the AI cross-reference.

Requirements

  • Node.js (no external dependencies)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 08:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,352 📥 317,844
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,606
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,058 📥 797,143