ソース情報
- リポジトリ
- justcyl/my-skills
- ソースの最終更新活動
- 2026年4月12日 15:26
- 検出された SKILL.md の言語
- 中国語
- スター
- 0
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SOC 職業分類に基づく
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/justcyl/my-skills --skill external-repoコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
使用 Kapibala 的 OpenAI 兼容图片接口生成/编辑位图图片,默认模型 gpt-image-2。当需要生成图片、编辑已有图片、或批量生成候选图供挑选时触发。触发词:"生成图片""画一张""image generation""edit this image""gpt-image-2""批量出图"。
Add, collect, design, audit, and integrate SVG elements into editable diagrams.net/draw.io scientific figures. Use when the user asks to supplement a draw.io diagram with SVG icons, mechanisms, biological objects, model components, pathway symbols, instruments, graphical abstract elements, or publication-style vector assets. Every execution must first ask the user to choose the SVG source mode: network search or self-designed SVG. For network mode, search for multiple relevant SVG candidates for later user selection, record sources and license notes, and fall back to self-designed SVG for concepts with no suitable result. For self-design mode, create restrained, editable, Nature-style SVGs from simple vector primitives. Use with .drawio, SVG, diagrams.net, 科研流程图, 论文示意图, SVG补图, 图标补充, and draw.io配图.
Two-stage workflow for publication-style scientific schematics: generate or use a raster reference with imagegen/PNG/JPG/WebP, then trace it into an editable diagrams.net/draw.io file using research-drawio-skill. Use for Nature-style scientific illustrations, graphical abstracts, model or mechanism schematics, biomedical workflows, AI architecture figures, and paper-style visual drafts that should become editable .drawio source. For complex recognizable elements, author or select dedicated SVG glyphs and compare rendered SVGs against reference crops before inserting them, instead of assembling those elements from draw.io primitives. Enforces a minimum three-round strict pixel-level export/compare/fix loop for close raster-to-draw.io tracing tasks. Use with imagegen, draw.io, diagrams.net, scientific illustration, graphical abstract, paper schematic, figure tracing, SVG glyph tracing, and drawio redraw requests.
| name | external-repo |
| description | 研究和探索外部 GitHub 仓库。当需要了解开源项目的架构、API、代码实现或文档时使用。支持 gh CLI、浅克隆两种策略,模型自主选择。 |
研究任意公开 GitHub 仓库的架构、API、代码实现和文档。两种策略可灵活组合。
| 策略 | 适用场景 | 工具 |
|---|---|---|
| gh CLI | 特定文件查看、README、元数据 | gh api + jq |
| 本地浅克隆 | 小仓库全面搜索、跨文件 grep、gh CLI 不足时 | extract_repo.py |
根据以下信号自主判断,可组合使用多种策略:
| 信号 | 推荐策略 |
|---|---|
| 需要快速了解仓库概况或文档结构 | gh CLI |
| 需要查看特定文件内容或最近提交 | gh CLI |
| 小仓库 + 需要跨多个文件搜索代码模式 | 本地浅克隆 |
| 需要 grep / ast-grep / fd 搜索 | 本地浅克隆 |
| gh CLI 信息不足,需要更深入分析 | 本地浅克隆 |
适用于任何有权限访问的 GitHub 仓库。核心命令如下,更多命令见 gh API 速查。
获取仓库概览:
gh api repos/owner/repo | jq '{description, language, topics, stars: .stargazers_count, default_branch}'
获取 README:
gh api repos/owner/repo/readme --jq '.content' | base64 -d
获取文件树(递归):
gh api "repos/owner/repo/git/trees/main?recursive=1" | \
jq -r '.tree[] | select(.type == "blob") | .path' | head -100
读取特定文件:
gh api repos/owner/repo/contents/path/to/file --jq '.content' | base64 -d
查看最近提交:
gh api repos/owner/repo/commits --jq '.[0:5] | .[] | "\(.sha[0:7]) \(.commit.message | split("\n")[0])"'
适用于小型仓库或需要深度搜索的场景。
uv run external-repo/scripts/extract_repo.py <github-url-or-owner/repo>
支持多种 URL 格式:
uv run external-repo/scripts/extract_repo.py vercel/next.js
uv run external-repo/scripts/extract_repo.py https://github.com/vercel/next.js
uv run external-repo/scripts/extract_repo.py https://github.com/vercel/next.js/tree/canary
| 参数 | 说明 |
|---|---|
repo | GitHub URL 或 owner/repo 简写 |
--branch, -b | 指定分支(默认:仓库默认分支) |
--output-dir, -o | 输出目录(默认:/tmp/external-repos) |
--list | 列出已下载的仓库 |
--cleanup NAME | 清理指定仓库 |
--cleanup-all | 清理所有已下载仓库 |
--dry-run | 仅显示操作计划,不执行 |
# 进入克隆目录后可用本地工具搜索
fd -e py # 查找所有 Python 文件
ast-grep --lang ts -p '$PATTERN' # 搜索 TS 代码结构
/tmp/external-repos/,重启后可能丢失--cleanup 释放空间gh auth login)