wzxsdf

Project Learn — AI skill for Claude Code

AI community

Agent Skill that turns any codebase into a self-study learning package: architecture diagrams, mechanism diagrams, plain-language guide, L0-L4 learning roadmap.

How to install Project Learn

This entry records only its repository, not the path inside it, so there is no exact command to give. Open wzxsdf/project-learn and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Project Learn does

Agent Skill that turns any codebase into a self-study learning package: architecture diagrams, mechanism diagrams, plain-language guide, L0-L4 learning roadmap. 让 AI 把陌生的代码项目读成带架构图、导读和学习路线的学习包。 For Claude Code, Codex, Cursor, Gemini CLI, ZCode.

Alternatives in AI

  • AIHawk — Open-source AI browser agent: describe any task in plain language and it autonomously browses, clicks, types a 30.3k ★
  • Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
  • Architecture Diagram Generator — Generate beautiful dark-themed system architecture diagrams as standalone HTML/SVG files 7k ★

README

project-learn

[![Agent Skills](https://img.shields.io/badge/format-Agent%20Skills-5C2D91)](https://agentskills.io) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![Python 3.8+](https://img.shields.io/badge/python-3.8%2B-blue.svg)](scripts/audit_svg.py)

**让 AI 把陌生的代码项目,读成一套「能自学」的学习包。**

给它一个项目路径,你的 AI 编程助手(coding agent)会按一套固定的方法论把代码读完,产出**带图、分梯度、可自查**的学习材料:全景架构图、核心机制图、通俗导读、分级学习路线——而不是一份读完还是不懂的分析报告。

这是一个遵循 [Agent Skills](https://agentskills.io) 开放标准的技能(`SKILL.md`),**在任意主流 AI 编程助手里都能用**:Claude Code、Codex、Cursor、Gemini CLI、ZCode……适合接手开源项目、入职熟悉陌生代码库、提 PR 前摸清架构,或者要把一个系统讲给别人听。

**English** — An Agent Skill that turns any codebase into a self-study learning package: architecture diagrams, mechanism diagrams, a plain-language guide and an L0–L4 learning roadmap. Works with Claude Code, Codex, Cursor, Gemini CLI and other AI coding agents. → [English summary](#english)

它解决什么问题

想快速看懂一个开源项目,或者刚接手一个陌生的代码库,最常见的做法是让 AI「分析一下这个项目」。但直接问出来的往往是一份晦涩的报告:上来就列目录树,术语不解释,只有文字没有图,读完也不知道自己到底会不会。

project-learn 把「读懂一个项目」变成一套可复用的工作流,每条规则对应一种读不下去的原因:

症状 根因 对策
上来就列目录树 读者没有地图 先出全景架构图
术语不解释 第二段就读不下去 术语表 + 导读里先定义再使用
只有文字没有图 链路在脑子里拼不起来 每条主链路配一张带编号的图
读完不知道自己会不会 没有过关标准 每级梯度附过关自检

快速开始

以 Claude Code 为例:一条命令装好,然后用一句人话触发。

git clone https://github.com/wzxsdf/project-learn.git ~/.claude/skills/project-learn
帮我看看 ./some-project 这个项目是干嘛的

用 Codex、Cursor、Gemini CLI 或 ZCode 的话,换成它们的通用技能目录:

git clone https://github.com/wzxsdf/project-learn.git ~/.agents/skills/project-learn

其他写法(项目级安装、Windows、没有技能机制的 agent)见 [安装](#安装)。

三种模式与五级学习梯度

从你的话里判断目的和关注点,自动选一种模式:

模式 你会说 覆盖梯度 产出
速览 overview 「这个项目是干嘛的」「画个架构图」 L0–L1 全景架构图 + 导读 + 术语表 + 入口页
深潜 deep-dive 「讲讲 XX 模块怎么实现」「我要改 XX」 L2–L3 2–4 张不同类型的图 + 导读 + 事实卡
完整 full 「帮我完整学一下」「我要参与贡献」 L0–L4 速览 + 2–3 个核心子系统深潜 + 贡献指南 + 学习路线图

理解一个项目分五步走,每一级只回答一个问题,且有过关标准:

| 级 | 问题 | 过关标准 | |---|-