Repo Analyzer
Use when the user mentions "分析项目"、"分析仓库"、"分析 GitHub"、"项目分析"、"源码分析"、"架构分析"、"代码分析"、"学习这个项目"、"研究这个框架"、"看看这个库怎么实现的"、"对比两个项目"、"项目评测"、"框架评测
Install
/plugin marketplace add yzddmr6/repo-analyzerThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add yzddmr6/repo-analyzer --skill repo-analyzergit clone --depth 1 https://github.com/yzddmr6/repo-analyzer.git /tmp/repo-analyzer
mkdir -p ~/.claude/skills
cp -r /tmp/repo-analyzer/skills/repo-analyzer ~/.claude/skills/repo-analyzerPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Git 项目深度分析技能
深度分析开源项目并生成专业架构报告。报告是有深度洞察的技术研究,读完后读者能理解业务问题、掌握架构设计、产生自己的思考。
## When to Use
- 分析开源项目的架构和设计
- 对比两个同类项目的设计差异
- 深入研究一个框架或库的实现思路
## When NOT to Use
- 简单的代码问题或调试
- 单文件分析或代码审查
- 不涉及架构层面的代码修改
## 输出语言
默认中文。如果用户使用其他语言提问,则跟随用户语言。
## 核心原则
### 1. 业务视角优先
从"这个项目解决什么问题"出发,不是"这个文件里有什么函数"。
| 不要 | 要 |
|------|-----|
| `handleRequest(ctx)` 函数接收一个 Context 参数... | 请求进来后,系统会经过鉴权、限流、路由分发三个阶段... |
| `interface MessageQueue { push(); pop() }` | 模块间通过消息队列解耦,生产者只管投递,消费者按优先级拉取 |
### 2. 抽象层次把控:不贴代码,讲设计
默认在设计模式和架构层面描述,**非必要情况下不贴原始代码**。重点突出流程、逻辑、设计思想,用架构图(Mermaid)、流程图、表格来表达,而非代码片段。只有设计特别精妙、项目自创独特概念、或实现是核心卖点时才展示代码,且必须先用自然语言解释。
### 3. 全局关联
每个局部分析都必须连接到项目整体设计哲学——这是区分"代码说明书"和"架构分析"的关键。详见 [analysis-guide.md](references/analysis-guide.md) 的全局关联章节。
### 4. 启发性写作
目标是让读者**学到东西、产生思考**,而不是获得一份代码说明书。像资深工程师在白板前讲解——有观点、有推理、有对比。详见 [analysis-guide.md](references/analysis-guide.md) 的启发性写作章节。
### 5. 深度洞察:Why > What(强制)
每个设计决策必须解释动机、权衡、替代方案代价。描述"是什么"只是起点,解释"为什么"才是分析的价值所在。每个核心模块和整体架构都要回答:
- **为什么这样设计?** 不只是"用了什么模式",而是"为什么适合这个场景"
- **如果不这样会怎样?** 替代方案的代价
- **与业界最佳实践的差距?** 领先之处和改进空间
- **如果让你重新设计?** 展示更深层理解
- **系统性设计哲学?** 贯穿整个项目的风格(如"约定优于配置"、"零成本抽象")
示例:
> ❌ 路由系统采用了中间件模式,支持链式调用。
>
> ✅ 路由系统选择了洋葱模型而非线性管道。线性管道实现更简单,但洋葱模型让每个中间件都能同时处理请求和响应阶段——这对日志、计时、错误恢复至关重要。Express 当年选择线性模型,后来不得不用各种 hack 处理响应后逻辑,Koa 吸取教训才转向洋葱模型。如果让我重新设计,我会考虑加入中间件依赖声明,让框架自动排序——这是 Fastify 的做法,能避免顺序导致的隐蔽 bug。
### 补充要求
- **代码为准** — 一切结论有代码依据,标注 `文件路径` 或 `文件路径:行号范围`,禁止模糊表述
- **有温度** — 像资深工程师给新同事做 onboarding,加入主观评价和建议,避免 AI 味套话Details
- Skill name
repo-analyzer- Repository
- yzddmr6/repo-analyzer
- Path
skills/repo-analyzer/SKILL.md- License
- MIT
- Repo updated
- 27 April 2026
FAQ
What does the Repo Analyzer skill do?
Use when the user mentions "分析项目"、"分析仓库"、"分析 GitHub"、"项目分析"、"源码分析"、"架构分析"、"代码分析"、"学习这个项目"、"研究这个框架"、"看看这个库怎么实现的"、"对比两个项目"、"项目评测"、"框架评测
How do I install the Repo Analyzer skill?
Claude Code plugin: /plugin marketplace add yzddmr6/repo-analyzer. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Repo Analyzer popular?
It lives in yzddmr6/repo-analyzer, which has 505 GitHub stars and 76 forks.
Related skills
Utility Pm Changelog Curator
819product-on-purpose/pm-skills
Draft CHANGELOG entries from git log via the pm-changelog-curator sub-agent, applying the repo hygiene rules (describe what changed, public paths only, no attribution trailers). Returns a layered draft with a status summary for maintainer review; refuses a dirty working tree unless --committed-only is passed. Use when banking unreleased changes or preparing a release.
Stakeholder Update
1.6kmohitagw15856/pm-claude-skills
Crear actualizaciones ejecutivas concisas para stakeholders usando el framework BLUF (Bottom Line Up Front). Usa cuando te pidan escribir una actualización de estado, reporte de progreso, comunicación de proyecto o briefing ejecutivo para liderazgo o stakeholders. Produce una actualización encabezada por BLUF con estado, métricas clave, riesgos, hitos próximos y decisiones necesarias — legible en menos de 2 minutos.
Utility Pm Release Conductor
819product-on-purpose/pm-skills
Walk the guided 6-gate release runbook (G0 readiness, G1 adversarial review, G2 version bump and CHANGELOG, G2.5 commit and re-verify, G3 tag and push, G4 post-tag hygiene) via the pm-release-conductor sub-agent. Refuses gate bypasses and tags only the re-verified SHA. Use when cutting a pm-skills release.
Release Notes From Git Log
1.6kmohitagw15856/pm-claude-skills
Turn a git log into user-facing release notes grouped by feature and fix. Use when asked for release notes from this git log, a changelog entry from these commits, or to turn commits into release notes. Produces a grouped changelog with one line per change and a short headline.
Changelog Generator
1.2kborghei/Claude-Skills
Generate changelogs and release notes from Conventional Commits with semver bump detection, Keep a Changelog formatting, and monorepo scopes. Use when preparing releases, enforcing commit standards, or automating release notes.
Qbr Deck
1.6kmohitagw15856/pm-claude-skills
Construye la estructura y narrativa de una presentación de Quarterly Business Review (QBR) para una cuenta de cliente. Utiliza cuando te pidan preparar un QBR, una reunión de revisión de negocio, revisión ejecutiva, o check-in trimestral con un cliente. Produce una estructura QBR diapositiva por diapositiva con puntos de conversación, revisión de métricas, narrativa de valor y próximos pasos mutuos.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.