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:

  1. 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"
}
  1. Parse the JSON output:
  • url: Repository URL (or null if not found)
  • confidence: high, medium, or low
  • method: How the URL was found
  • package_name: the package that was searched
  1. If confidence is low or url is null, use WebSearch: <package_name> python github repository

  2. Present 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