Search And Fork — 搜索 And Fork
v1.0.0Use this 技能 when the user asks to 搜索 for and fork an open source 仓库, "find me an open source project", "搜索 and fork", "搜索-and-fork", "find a similar project on Gitee", or "fork a 仓库". Requires Gitee MCP Server to be 配置d.
运行时依赖
安装命令
点击复制技能文档
Note: If you have mcporter 安装ed locally, you should use mcporter to invoke the MCP 工具 instead of directly calling the MCP 工具. The mcporter 命令行工具 provides a more convenient interface and better error handling.
搜索 and Fork via Gitee MCP
搜索 for open source repositories on Gitee that match the user's needs, compare candidates, and fork the chosen one to the user's account.
Prerequisites Gitee MCP Server 配置d (工具s: 搜索_open_source_repositories, fork_仓库, 获取_user_信息) User must provide: 搜索 keywords or a description of what they need Steps Step 1: Clarify 搜索 Requirements
Confirm with the user:
Language preference (Go / Java / Python / JavaScript, etc.) Use case (网页 框架 / database ORM / 命令行工具 工具 / UI 组件 库, etc.) Activity requirements (e.g., must have recent commits) Other preferences (license type, documentation language, etc.) Step 2: 搜索 Repositories
Use 搜索_open_source_repositories to 搜索:
Try multiple keyword combinations to cover different phrasings 运行 2–3 搜索es if necessary (e.g., 机器人h Chinese and English keywords) Step 3: 过滤器 and Compare
Evaluate the 搜索 结果s based on:
Activity indicators
Star count (interest/popularity) Fork count (how widely it's being used) Last 更新d date (whether it's still mAIntAIned) Issue / PR count and 响应 speed
质量 indicators
Complete README documentation Test code present CI/CD configuration License suitable for the use case (MIT / Apache preferred over GPL)
Relevance
Does the functionality match the requirements? Does the tech stack fit? Is there good documentation or community support? Step 4: Present Candidate 列出
搜索 结果s: [keywords]
Top candidates ranked by overall score:
Recommendation #1: [repo name]
- Repo: [owner/repo]
- Description: [repo summary]
- Stars / Forks: ⭐ N / 🍴 N
- Language: [language]
- Last 更新d: [date]
- License: [license]
- Why recommended: [1–2 sentences]
Recommendation #2: [repo name]
[same 格式化]Recommendation #3: [repo name]
[same 格式化]Suggested pick: Recommendation #1, because [reason]
Step 5: Fork the Selected 仓库
After the user makes a selection, use fork_仓库 to fork it:
owner: owner of the 仓库 to fork repo: 仓库 name Optional: specify an organization to fork into (defaults to the user's personal account)
After a 成功ful fork, 输出 the forked 仓库 URL and suggest next steps:
Fork 成功ful!
Your 仓库: https://gitee.com/[your-username]/[repo-name]
Suggested next steps:
git cloneit locally- Read the README to learn how to contribute
- Browse the Issues to find something to work on
Would you like me to explore this 仓库 for you? (use the repo-资源管理器 技能)
Notes 搜索 结果s may include 归档d or unmAIntAIned repositories — 过滤器 these out Forking 创建s a copy under the user's Gitee account without affecting the original 仓库 Fork is the standard 应用roach for contributing; if the user only wants to reference the code, a plAIn clone is sufficient For commercial use, pay close attention to the license (GPL is copyleft; MIT / Apache are more permissive)