スキル一覧に戻る
krmcbride

code-examples

by krmcbride

Claude Code plugin marketplace

2🍴 0📅 2026年1月3日
GitHubで見るManusで実行

SKILL.md


name: code-examples description: Find real-world code examples across millions of GitHub repositories. Use when the user wants to see how others implement something, find usage patterns, or discover code examples in the wild.

Code Examples

Find real-world code examples across millions of public GitHub repositories using grep.app.

When to activate:

  • User wants to see real-world code examples
  • User asks "how do others implement X?"
  • User wants to find usage patterns for a library/API
  • User needs production code examples (not docs)

API endpoint:

curl -s "https://grep.app/api/search?q={query}&page=1" | jq '.hits.hits[:5]'

Parameters:

ParameterDescription
qSearch query (required)
pagePage number for pagination
regexptrue for regex search
casetrue for case-sensitive
f.langLanguage filter (capitalized, e.g., TypeScript, Go, Python)
f.repo.patternFilter by repository pattern
f.path.patternFilter by file path pattern

Examples:

Search for useEffect usage in TypeScript:

curl -s "https://grep.app/api/search?q=useEffect&f.lang=TypeScript&page=1" | jq '.hits.hits[:3]'

Search for Go error handling patterns:

curl -s "https://grep.app/api/search?q=if%20err%20!=%20nil&f.lang=Go&page=1" | jq '.hits.hits[:3]'

Search within a specific repo:

curl -s "https://grep.app/api/search?q=createContext&f.repo.pattern=facebook/react&page=1" | jq '.hits.hits[:3]'

Response format:

  • hits.hits[] - Array of search results
  • Each hit contains: repo.raw (repo name), path.raw (file path), content.snippet (code snippet)

Note: Returns max 1000 results. For documentation, use the documentation-lookup skill instead.

スコア

総合スコア

55/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

0/5
タグ

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

0/5

レビュー

💬

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