mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +00:00
Creates sponsor.prompt.md so users can type /sponsor in VS Code Copilot Chat to scan their project's dependencies for funding. Also works with /sponsor owner/repo for any remote repo. References the sponsor-finder skill for the full workflow.
2.7 KiB
2.7 KiB
name, description
| name | description |
|---|---|
| Sponsor Finder | Find which of your dependencies accept GitHub Sponsors. Scans direct and transitive dependencies, resolves source repos, checks funding metadata, and verifies every link. Usage: /sponsor owner/repo |
💜 Sponsor Finder
Scan a GitHub repository's dependencies and find which ones accept sponsorship via GitHub Sponsors, Open Collective, or other platforms.
What to do
The user will provide a repository in owner/repo format (or you can detect it from the current workspace).
Follow the sponsor-finder skill instructions to:
- Detect the ecosystem — fetch
package.json,requirements.txt,Cargo.toml,go.mod,Gemfile, orpom.xmlfrom the repo. - Get the full dependency tree — call
https://api.deps.dev/v3/systems/{ECOSYSTEM}/packages/{PACKAGE}/versions/{VERSION}:dependenciesto get all direct + transitive deps in one call. - Resolve each dep to a GitHub repo — call deps.dev
GetVersionfor each dep, extractrelatedProjectswithrelationType: "SOURCE_REPO". - Get project health — call deps.dev
GetProjectfor unique repos to get OSSF Scorecard data. - Find funding links — check npm
fundingfield,.github/FUNDING.yml, and web search fallback. - Verify every link — fetch each funding URL to confirm it's live. Never show unverified links.
- Group by funding destination — show maintainers sorted by how many deps they cover.
Output format
Produce a report with:
- Summary — total deps, resolved count, sponsorable count, % coverage
- Verified Funding Links table — dependency, repo, funding platform, direct vs transitive (✅/⛓️), how verified
- Funding Destinations table — grouped by maintainer/org, dep count, health score, sponsor link
- No Verified Funding Found — top unfunded direct deps with reasons
- Actionable summary — "Sponsoring just N people/orgs covers all M funded deps"
Key rules
- Never present unverified links. Fetch every URL before showing it.
- Never guess from training data. Always check live — funding pages change.
- Use 💜 GitHub Sponsors, 🟠 Open Collective, ☕ Ko-fi, 🔗 Other.
- Use ✅ for direct deps, ⛓️ for transitive.
- Use ⭐ Maintained (7+), ⚠️ Partial (4-6), 💤 Low (0-3) for health scores.
If no repo is provided
If the user just types /sponsor without specifying a repo:
- Check if there's a
package.json,Cargo.toml,go.mod, etc. in the current workspace. - If found, extract the package name and run the scan on it.
- If not found, ask the user: "Which repository would you like to scan? Provide an
owner/repo(e.g.,expressjs/express)."