sponsor-finder
Skill này làm gì
Agent này tìm các phụ thuộc của một dự án mã nguồn mở có thể được tài trợ. Nó kiểm tra xem những người duy trì các phụ thuộc đó có nhận được hỗ trợ tài chính qua GitHub Sponsors hay không.
Khi nào nên dùng
- ✓Khi bạn đang dùng một dự án và muốn hỗ trợ người duy trì nó.
- ✓Khi đánh giá sức khỏe và mức hỗ trợ của một dự án mã nguồn mở.
- ✓Khi tìm cách đóng góp tài chính cho các dự án bạn dùng.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/sponsor-finder/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm nhà tài trợ cho các phụ thuộc của dự án expressjs/express”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Nó kiểm tra các phụ thuộc của dự án, tìm thông tin tài trợ trong các tệp cụ thể và trên web, rồi kiểm tra xem các liên kết có hoạt động không. Sau đó, nó tổng hợp một báo cáo cho biết ai có thể được tài trợ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
- Parse the input — Extract
ownerandrepo. - Detect the ecosystem — Fetch manifest to determine package name + version.
- Get full dependency tree — deps.dev
GetDependencies(one call). - Resolve repos — deps.dev
GetVersionfor each dep →relatedProjectsgives GitHub repo. - Get project health — deps.dev
GetProjectfor unique repos → OSSF Scorecard. - Find funding links — npm
fundingfield, FUNDING.yml, web search fallback. - Verify every link — fetch each URL to confirm it's live.
- 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 nameversionKey.version— resolved versionrelation—"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 forrelationType: "SOURCE_REPO"→projectKey.idgivesgithub.com/{owner}/{repo}links→ look forlabel: "SOURCE_REPO"→urlfield
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 indicatorlicense— project licenseopenIssuesCount— 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:
…
Câu hỏi thường gặp
“Dependencies” là gì?
Đây là các đoạn mã khác mà dự án dùng để hoạt động, giống như các mảnh ghép của một bức tranh xếp hình.
GitHub Sponsors là gì?
Đây là nền tảng trên GitHub, nơi cá nhân và công ty có thể hỗ trợ tài chính cho các nhà phát triển và dự án mã nguồn mở.
“Transitive dependencies” (phụ thuộc bắc cầu) là gì?
Đây là các phụ thuộc của phụ thuộc. Hãy nghĩ về chúng như bạn bè của bạn bè: họ cũng là một phần trong mạng lưới của bạn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7430
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.