AgentSkillsCN

ask-repo

借助生成的实战教程,轻松学习任意 GitHub 仓库的使用方法。本地克隆仓库,以代码片段为基础生成 Markdown 格式的详细说明,并在 Cursor 中直接跳转至指定行。当用户在 GitHub URL 上提出疑问:“X 是如何实现的?”“请解释……这段代码”“分析一下这个仓库”时,即可触发此功能。

SKILL.md
--- frontmatter
name: ask-repo
description: Learn from any GitHub repo with generated walkthroughs. Clones repos locally, creates markdown explanations with code snippets, and opens in Cursor at specific lines. Triggers on GitHub URLs with questions, "how does X implement...", "explain the code in...", "analyze this repo".

ask-repo

DO NOT analyze the repo yourself. ONLY run this command:

bash
/Users/francoislaberge/conductor/workspaces/.agents/cebu-v1/skills/ask-repo/scripts/ask-repo.sh "<github-url>" "<question>"

This script handles everything: cloning, analysis, saving walkthrough, and Cursor commands.

You MUST use the Bash tool to run the script above. Do not read files or write code yourself.