スキル一覧に戻る
andreasasprou

opensrc

by andreasasprou

Claude Code plugins: Oracle (GPT-5.2 advisor), Safety Net (block destructive commands), opensrc (package source explorer)

8🍴 3📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


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:

  • Bash
  • Read
  • Glob
  • Grep

opensrc

Fetch npm package source code locally when you need to understand implementation details.

When to Use

  • Debugging unexpected library behavior
  • Understanding internal patterns before extending a library
  • Types/docs are insufficient

Commands

# 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>

Exploration Pattern

# 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

Tips

  • Check sources.json first - don't re-fetch what's already there
  • Target specific files - don't read entire packages
  • Monorepos: Check packages/ directory for subpackages
  • Clean up - source code takes disk space, remove when done

Common Packages

PackageStructure
aiMonorepo: packages/anthropic/, packages/openai/, etc.
@anthropic-ai/sdkSingle package: src/
zodSingle package: src/types/

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です