기술 문서 생성기: 모든 문서 URL을 Claude Skill로 변환

hackernews | | 📦 오픈소스
#claude #review
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

MCP 서버인 'Skill Doc Generator'는 API나 라이브러리 등 문서 URL을 입력하면 AI 에이전트가 해당 페이지를 크롤링해 Claude Code 스킬 파일(.md)로 변환합니다. 별도의 API 키 없이 fetch_doc_page와 save_skill 두 가지 도구를 제공하며, Node.js 18 이상 환경과 호환되는 개발 도구에서 npm으로 직접 설치해 사용할 수 있습니다.

본문

MCP server that turns any documentation URL into a Claude Code skill file. Point it at API docs, a framework's docs, or any library reference — the AI agent crawls the relevant pages and generates a ready-to-use .md skill file. No API key required. The server exposes two primitive tools. The AI agent (Claude Code, Cursor, Windsurf, or any MCP-compatible IDE) does all the reasoning: fetch_doc_page(url) — Fetches a documentation page, strips navigation/scripts/styles, and returns clean text content plus all same-domain links found on the page.save_skill(content, skill_name, output_dir?) — Writes the generated skill markdown file to disk. The agent decides which pages to crawl, synthesizes the content into a skill, and saves it. No external AI API calls happen inside the server itself. Requires Node.js 18+. No cloning needed — install directly from npm. Claude Code (global — works across all projects): claude mcp add --transport stdio --scope user skill-doc-generator npx skill-doc-generator Other agentic IDEs — add to your MCP config: { "mcpServers": { "skill-doc-generator": { "command": "npx", "args": ["skill-doc-generator"] } } } Cursor: .cursor/mcp.json · Windsurf:~/.codeium/windsurf/mcp_config.json · VS Code (Copilot):.vscode/mcp.json If you prefer a permanent global install: npm install -g skill-doc-generator claude mcp add --transport stdio --scope user skill-doc-generator skill-doc-generator Once the server is registered, just ask your agent: Generate a skill from https://laravel.com/docs/13.x/eloquent Create a Claude Code skill from the Stripe API docs: https://stripe.com/docs/api Build a skill from https://docs.python.org/3/library/asyncio.html and save it to ./skills The agent will: - Fetch the initial page and inspect available links - Decide which additional pages are worth crawling (quickstart, API reference, key concepts) - Generate the skill .md with frontmatter, key concepts, common operations, patterns, and quick reference - Save it to ~/.claude/skills/ by default (or ask you where to save it) The generated file follows the Claude Code skill format: --- name: laravel-eloquent description: Use when working with Laravel Eloquent ORM — models, relationships, queries, scopes --- # Laravel Eloquent ...actionable instructions for the agent... Saved files are immediately usable as Claude Code skills. - Node.js 18+ - An MCP-compatible agentic IDE (Claude Code, Cursor, Windsurf, etc.) - No API keys needed src/ index.ts — stdio MCP server entry point tools/ generate-skill.ts — fetch_doc_page and save_skill tools + HTML helpers

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →