fetch_repo_info
Fetches GitHub repository metadata, README, language stats, recent commits, dependency files, and contributor data via the GitHub REST API to prepare repo information for resume project analysis.
Instructions
通过 GitHub REST API 抓取仓库元数据、README、语言占比、近期 commit、依赖文件与贡献者统计。
什么时候该调用
用户给出 GitHub 仓库 URL(或 owner/repo)后调用。输出的 RepoInfo 供
analyze_repo_for_resume 使用。若已知用户的 GitHub login,一并传入
github_username,以便 contributor_stats 直接带上该用户的占比。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_url | Yes | ||
| github_username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||