技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
opensrc【数据与研究】Fetch npm package source code for implementation analysis. Use when types/docs aren't enough and you need to understand HOW a library works internally.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: opensrc description: Fetch npm package source code for implementation analysis. Use when types/docs aren't enough and you need to understand HOW a library works internally. allowed-tools:
Fetch npm package source code locally when you need to understand implementation details.
# Fetch package(s)
npx opensrc <package>
npx opensrc ai zod @anthropic-ai/sdk
# Check what's fetched
cat opensrc/sources.json
# Clean up when done
rm -rf opensrc/<package>
# 1. Fetch
npx opensrc ai
# 2. Check structure (many are monorepos)
ls opensrc/ai/packages/
# 3. Find what you need
grep -r "functionName" opensrc/ai/src/
# 4. Read the implementation
# (use Read tool)
# 5. Clean up
rm -rf opensrc/ai
sources.json first - don't re-fetch what's already therepackages/ directory for subpackages| Package | Structure |
|---|---|
ai | Monorepo: packages/anthropic/, packages/openai/, etc. |
@anthropic-ai/sdk | Single package: src/ |
zod | Single package: src/types/ |