source-finder
通过分析PyPI元数据、项目URL和GitHub、GitLab、Bitbucket等代码托管平台,定位Python包的源代码仓库。提供具有置信度级别的确定性结果。
📖 中文导读:通过分析PyPI元数据、项目URL和GitHub、GitLab、Bitbucket等代码托管平台,定位Python包的源代码仓库。提供具有置信度级别的确定性结果。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: source-finder description: Locate source code repositories for Python packages by analyzing PyPI metadata, project URLs, and code hosting platforms like GitHub, GitLab, and Bitbucket. Provides deterministic results with confidence levels. allowed-tools: [Bash, WebSearch, WebFetch]
Source Finder
Locates source code repositories for Python packages with confidence scoring.
Usage
To find a source repository for a given package:
- Run the finder script, for example:
# Find repository
$ ./scripts/finder.py requests
# Output structure:
{
"url": "https://github.com/psf/requests",
"confidence": "high",
"method": "pypi_metadata_project_urls.Source",
"package_name": "requests"
}
- Parse the JSON output:
url: Repository URL (ornullif not found)confidence:high,medium, orlowmethod: How the URL was foundpackage_name: the package that was searched
If confidence is
loworurlisnull, use WebSearch:<package_name> python github repositoryPresent results with confidence level clearly indicated
Output Format
As a result, provide structured output including:
- Repository URL
- Confidence level (high/medium/low)
- Method used to find the repository
- Additional context or warnings