AI coding agent skill for deep architectural analysis of open-source projects | 开源项目深度架构分析,一句话生成专业级分析报告
npx skills add https://github.com/yzddmr6/repo-analyzer --skill repo-analyzerInstall this skill with the CLI and start using the SKILL.md workflow in your workspace.
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.
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
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.
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.
After scanning the codebase, the skill asks you to choose a depth level:
| Mode | Core Module Coverage | Secondary Coverage | Best For |
|---|---|---|---|
| Quick | >= 30% | >= 10% | Getting a high-level overview |
| Standard (default) | >= 60% | >= 30% | Regular architecture analysis |
| Deep | >= 90% | >= 60% | Studying every design decision |
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):
The skill works with Claude Code's built-in tools out of the box. For enhanced research capabilities, these MCP servers are optional:
tavily_crawlrepo-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
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.