← 返回公开榜单
re

yzddmr6/repo-analyzer

AI coding agent skill for deep architectural analysis of open-source projects | 开源项目深度架构分析,一句话生成专业级分析报告

本周新增
—
近 3 周倍数
—
距上次推送
214 天
距上次发布
—
许可证
—

星标增长

每根柱子是这个周期记录下来的 star 增长:优先取逐个 stargazer 到达时间分桶的到达数,还没被 stargazer 扫描覆盖的仓库改用该周期的 star 净增;两个写者都没记录的周期画成虚线空档,而不是当成 0。柱高按各自窗口的峰值归一,两张图不共用坐标轴。指向任意一根柱子, tooltip 里是该周期的九项指标:当前值与周期内的净增。

还没有日粒度数据。每次采集会补齐最近 90 天,下一次采集后这里才会有曲线。

证据时间轴

这个项目还没有记录到异动、发布或许可证变化。

README
The document stored for this repository, with its Chinese translation when one has been produced

Repo Analyzer

An AI coding agent skill for deep architectural analysis of open-source projects. Generates professional-grade architecture reports with design insights, trade-off analysis, and Mermaid diagrams.

Compatible with Claude Code, Codex, OpenClaw, and any AI coding agent that supports the skills format.

中文文档

Related Articles

Quick Install

npx (Recommended)

npx skills add yzddmr6/repo-analyzer

Plugin Marketplace

/plugin marketplace add yzddmr6/repo-analyzer
/plugin install repo-analyzer@repo-analyzer

Manual (Git Clone)

# macOS / Linux
git clone https://github.com/yzddmr6/repo-analyzer.git ~/.claude/skills/repo-analyzer

# Windows
git clone https://github.com/yzddmr6/repo-analyzer.git %USERPROFILE%\.claude\skills\repo-analyzer

Features

  • Architecture-level analysis — Focuses on why things are designed the way they are, not just what the code does
  • Adaptive report structure — No fixed template; chapters are designed based on each project's unique characteristics
  • Parallel subagent analysis — Spawns multiple agents to analyze core modules concurrently for large codebases
  • Competitive positioning — Compares design philosophy and technical trade-offs against similar projects
  • Mermaid diagrams — Architecture overviews, data flows, and per-module sequence diagrams throughout the report
  • Interactive workflow — Asks targeted questions based on project traits before diving into analysis

Usage

Simply ask Claude Code to analyze a project:

分析项目 https://github.com/astral-sh/ruff
分析一下 ollama/ollama 这个仓库的架构
对比分析 express 和 fastify

The skill also accepts owner/repo shorthand, full GitHub/GitLab/Gitee URLs, or local paths.

Trigger Keywords

The skill activates automatically when you mention:

分析项目 分析仓库 分析 GitHub 项目分析 源码分析 架构分析 代码分析 学习这个项目 研究这个框架 看看这个库怎么实现的 对比两个项目 项目评测 框架评测

Note: The skill outputs reports in Chinese by default. If you ask in another language, it follows your language.

Analysis Modes

After scanning the codebase, the skill asks you to choose a depth level:

ModeCore Module CoverageSecondary CoverageBest For
Quick>= 30%>= 10%Getting a high-level overview
Standard (default)>= 60%>= 30%Regular architecture analysis
Deep>= 90%>= 60%Studying every design decision

How It Works

  1. Clone & Scan — Clones the repo (or uses a local path), counts effective lines of code by module
  2. External Research — Web searches for reviews, comparisons, and architecture discussions; crawls the official website
  3. Adaptive Q&A — Generates targeted questions based on project characteristics, not a fixed checklist
  4. Dynamic Report Structure — Designs chapter layout based on your answers and project traits
  5. Parallel Deep Analysis — Spawns subagents for each core module, analyzing them concurrently
  6. Cross-Validation — Verifies conclusions across modules, checks code read coverage
  7. Multi-Source Fusion — Merges research, module analyses, and insights into a cohesive narrative
  8. Final Report — Outputs a single Markdown file with Mermaid diagrams

Report Output

The final report is saved as a single Markdown file at:

~/repo-analyses/{project-name}-{date}/ANALYSIS_REPORT.md

Every report includes (adapted per project):

  • Problem Context — What problem does this solve? Why do existing solutions fall short?
  • Competitive Positioning — Design philosophy differences vs. alternatives (not feature checklists)
  • Project Overview — Architecture at a glance
  • Deep Module Analysis — Why > What analysis with trade-offs and industry comparisons
  • Evaluation & Takeaways — Honest assessment of strengths, weaknesses, and lessons learned
  • Architecture Diagrams — Mermaid charts for system overview and per-module flows

Optional Dependencies

The skill works with Claude Code's built-in tools out of the box. For enhanced research capabilities, these MCP servers are optional:

File Structure

repo-analyzer/
├── .claude-plugin/
│   └── plugin.json                         # Plugin metadata
├── package.json                            # Package manifest
├── skills/
│   └── repo-analyzer/
│       ├── SKILL.md                        # Main skill definition
│       └── references/
│           ├── analysis-guide.md           # Analysis philosophy & evaluation framework
│           └── module-analysis-guide.md    # Module analysis guide & subagent templates
├── README.md                               # English documentation
├── README.zh.md                            # Chinese documentation
└── LICENSE                                 # MIT License

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

If you'd like to improve the analysis workflow, the core logic lives in skills/repo-analyzer/SKILL.md. The evaluation framework and subagent templates are in the references/ directory.

License

MIT

页面上的每个数字都来自记录下来的 stargazer 到达时间,没有评分公式,也没有 AI 判定。 任何结论都可以用 /api/v1/repos/{id}/stats 里的原始增量自己重算。