本文へスキップ
Skillpedia
一般的なプログラミング40k · #7430

sponsor-finder

できること

このエージェントは、オープンソースプロジェクトの依存関係のうち、スポンサーできるものを見つけます。それぞれの依存関係のメンテナーが、GitHub Sponsorsを通じて金銭的な支援を受けられるかどうかを確認します。

使う場面

  • ✓利用しているプロジェクトのメンテナーを支援したいとき。
  • ✓オープンソースプロジェクトの健全性やサポート状況を評価したいとき。
  • ✓普段使っているプロジェクトに金銭的に貢献する方法を探したいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/sponsor-finder/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/sponsor-finder/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“expressjs/expressプロジェクトの依存関係のスポンサーを探してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

プロジェクトの依存関係を調べ、特定のファイルやウェブ上で資金に関する情報を探し、リンクが有効かどうかを確認します。そのうえで、誰をスポンサーできるかを示したレポートにまとめます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Sponsor Finder

Discover opportunities to support the open source maintainers behind your project's dependencies. Accepts a GitHub owner/repo (e.g. /sponsor expressjs/express), uses the deps.dev API for dependency resolution and project health data, and produces a friendly sponsorship report covering both direct and transitive dependencies.

Your Workflow

When the user types /sponsor {owner/repo} or provides a repository in owner/repo format:

  1. Parse the input — Extract owner and repo.
  2. Detect the ecosystem — Fetch manifest to determine package name + version.
  3. Get full dependency tree — deps.dev GetDependencies (one call).
  4. Resolve repos — deps.dev GetVersion for each dep → relatedProjects gives GitHub repo.
  5. Get project health — deps.dev GetProject for unique repos → OSSF Scorecard.
  6. Find funding links — npm funding field, FUNDING.yml, web search fallback.
  7. Verify every link — fetch each URL to confirm it's live.
  8. Group and report — by funding destination, sorted by impact.

Step 1: Detect Ecosystem and Package

Use get_file_contents to fetch the manifest from the target repo. Determine the ecosystem and extract the package name + latest version:

File Ecosystem Package name from Version from
package.json NPM name field version field
requirements.txt PYPI list of package names use latest (omit version in deps.dev call)
pyproject.toml PYPI [project.dependencies] use latest
Cargo.toml CARGO [package] name [package] version
go.mod GO module path extract from go.mod
Gemfile RUBYGEMS gem names use latest
pom.xml MAVEN groupId:artifactId version

Step 2: Get Full Dependency Tree (deps.dev)

This is the key step. Use web_fetch to call the deps.dev API:

https://api.deps.dev/v3/systems/{ECOSYSTEM}/packages/{PACKAGE}/versions/{VERSION}:dependencies

For example:

https://api.deps.dev/v3/systems/npm/packages/express/versions/5.2.1:dependencies

This returns a nodes array where each node has:

  • versionKey.name — package name
  • versionKey.version — resolved version
  • relation — "SELF", "DIRECT", or "INDIRECT"

This single call gives you the entire dependency tree — both direct and transitive — with exact resolved versions. No need to parse lockfiles.

URL encoding

Package names containing special characters must be percent-encoded:

  • @colors/colors → %40colors%2Fcolors
  • Encode @ as %40, / as %2F

For repos without a single root package

If the repo doesn't publish a package (e.g., it's an app not a library), fall back to reading package.json dependencies directly and calling deps.dev GetVersion for each.


Step 3: Resolve Each Dependency to a GitHub Repo (deps.dev)

For each dependency from the tree, call deps.dev GetVersion:

https://api.deps.dev/v3/systems/{ECOSYSTEM}/packages/{NAME}/versions/{VERSION}

From the response, extract:

  • relatedProjects → look for relationType: "SOURCE_REPO" → projectKey.id gives github.com/{owner}/{repo}
  • links → look for label: "SOURCE_REPO" → url field

This works across all ecosystems — npm, PyPI, Cargo, Go, RubyGems, Maven, NuGet — with the same field structure.

Efficiency rules

  • Process in batches of 10 at a time.
  • Deduplicate — multiple packages may map to the same repo.
  • Skip deps where no GitHub project is found (count as "unresolvable").

Step 4: Get Project Health Data (deps.dev)

For each unique GitHub repo, call deps.dev GetProject:

https://api.deps.dev/v3/projects/github.com%2F{owner}%2F{repo}

From the response, extract:

  • scorecard.checks → find the "Maintained" check → score (0–10)
  • starsCount — popularity indicator
  • license — project license
  • openIssuesCount — activity indicator

Use the Maintained score to label project health:

  • Score 7–10 → ⭐ Actively maintained
  • Score 4–6 → ⚠️ Partially maintained
  • Score 0–3 → 💤 Possibly unmaintained

Efficiency rules

  • Only fetch for unique repos (not per-package).
  • Process in batches of 10 at a time.
  • This step is optional — skip if rate-limited and note in output.

Step 5: Find Funding Links

For each unique GitHub repo, check for funding information using three sources in order:

…

よくある質問

「依存関係」とは何ですか?

プロジェクトが動作するために使っている、ほかのコードのことです。パズルのピースのようなものだと考えてください。

GitHub Sponsorsとは何ですか?

個人や企業が、オープンソースの開発者やプロジェクトを金銭的に支援できる、GitHub上のプラットフォームです。

「推移的依存関係」とは何ですか?

依存関係の依存関係のことです。友達の友達のようなもので、あなたのネットワークの一部でもあると考えてください。

詳細

作者による元の説明

Find which of a GitHub repository's dependencies are sponsorable via GitHub Sponsors. Uses deps.dev API for dependency resolution across npm, PyPI, Cargo, Go, RubyGems, Maven, and NuGet. Checks npm funding metadata, FUNDING.yml files, and web search. Verifies every link. Shows direct and transitive dependencies with OSSF Scorecard health data. Invoke with /sponsor followed by a GitHub owner/repo (

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7430
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル