Code2wiki

为大型后端项目生成和维护面向业务的 Business Context Layer(业务语义层 / 项目知识地图)。当需要总结、梳理、文档化、wiki 化、构建上下文、创建领域 skill、提升 LLM 对既有后端代码库的理解时使用——尤其适用于 10w+ 行、50w+ 行这类需求主要由业务驱动而不是技术模块驱动的系统。支持 Java/Spring、Kotlin(Spring/Ktor)、Python(Django/FastAPI/Flask)、Go(Gin/Echo/gRPC)、TypeScript/JavaScript(NestJS/Express)等多种后端栈;扫描器自动识别项目语言,混合语言 Monorepo 会并行扫描所有命中插件。也适用于多级业务域目录、项目知识地图、API/Database/Code Entrypoint 映射、风险清单、分层上下文(L0/L1/L2/Source)建设等任务。

8 stars 1 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add woaillr-crypto/code2wiki --skill code2wiki
Manual install
git clone --depth 1 https://github.com/woaillr-crypto/code2wiki.git /tmp/code2wiki
mkdir -p ~/.claude/skills
cp -r /tmp/code2wiki/. ~/.claude/skills/code2wiki

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# code2wiki

## 使命

为后端项目构建完整的 Business Context Layer(BCL,业务语义层 / 业务上下文层),让后续 LLM 做需求开发时,先理解**业务域、业务流程、核心概念和风险点**,再进入具体代码。

**核心原则**:扫描器做骨架索引,AI 做业务理解。最终交付物必须包含人能读懂的业务解释,而不仅仅是代码索引表格。

## 术语对照(多语言)

下文出现的角色性术语在不同语言里有不同的写法,本 skill 不绑定任何单一语言:

| 通用角色 | Java / Kotlin (Spring) | Kotlin (Ktor) | Python (Django/FastAPI/Flask) | Go (Gin/Echo) | TypeScript (NestJS/Express) |
| --- | --- | --- | --- | --- | --- |
| HTTP 入口 | `@RestController` | Routing DSL | View / Resource / Router function | Handler | `@Controller` / Route handler |
| 业务编排 | `@Service` / Manager | `class XxxService` | Service / UseCase / 模块函数 | Service / UseCase | Service / Provider |
| 数据访问 | `@Repository` / Mapper | DAO 类 | Repository / Manager / ORM Query | Repository / sqlc / GORM | Repository / Prisma client |
| 异步消费 | `@RocketMQMessageListener` / `@KafkaListener` | Kafka/Rabbit consumer | Celery task / RQ worker | Kafka/NATS consumer | BullMQ worker / Kafka consumer |
| 定时任务 | `@Scheduled` / XxlJob | k8s CronJob / quartz | Celery beat / APScheduler / `manage.py` cmd | `robfig/cron` | `node-cron` / agenda |
| RPC | Dubbo / Feign / gRPC | Ktor client | gRPC / `httpx` | gRPC | gRPC / tRPC |
| 事务 | `@Transactional` | Exposed transaction | `@transaction.atomic` / session.begin | `db.Begin()` | `prisma.$transaction` / TypeORM transaction |
| 数据载荷 | DTO / Entity | data class | Pydantic / dataclass / Django Model | struct | DTO class / interface |
Read the full skill on GitHub

Details

Skill name
code2wiki
Repo updated
15 May 2026

FAQ

What does the Code2wiki skill do?

为大型后端项目生成和维护面向业务的 Business Context Layer(业务语义层 / 项目知识地图)。当需要总结、梳理、文档化、wiki 化、构建上下文、创建领域 skill、提升 LLM 对既有后端代码库的理解时使用——尤其适用于 10w+ 行、50w+ 行这类需求主要由业务驱动而不是技术模块驱动的系统。支持 Java/Spring、Kotlin(Spring/Ktor)、Python(Django/FastAPI/Flask)、Go(Gin/Echo/gRPC)、TypeScript/JavaScript(NestJS/Express)等多种后端栈;扫描器自动识别项目语言,混合语言 Monorepo 会并行扫描所有命中插件。也适用于多级业务域目录、项目知识地图、API/Database/Code Entrypoint 映射、风险清单、分层上下文(L0/L1/L2/Source)建设等任务。

How do I install the Code2wiki skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add woaillr-crypto/code2wiki --skill code2wiki. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Code2wiki popular?

It lives in woaillr-crypto/code2wiki, which has 8 GitHub stars and 1 forks.

Related skills

Codemap

8

Asixa/codemap-skill

Generate and incrementally maintain an interactive architecture map plus a per-module code-quality audit (health scores 0-100, smell findings, lines-of-code, and a clickable dependency graph) for any codebase. Use when the user wants to visualize a project's functional modules, audit or score code quality, check whether the architecture map is stale / up to date, incrementally refresh it after code changes, or auto-fix the findings of a specific module. Module audits are run by independent subagents against a fixed rubric. Triggers: "architecture map", "module map", "audit the codebase", "scor

Software Development

Code Review

9

quanru/code-review-skill

Perform architecture- and maintainability-focused code reviews. Use when the user asks for code review, style review, refactoring feedback, or review of architecture, cohesion, coupling, TypeScript rigor, naming, tests, responsibility boundaries, or unnecessary abstractions.

Software Development

Golang

9

saisudhir14/claude-skills

Use when writing, reviewing, or refactoring Go code. Provides production best practices for Go covering error handling, concurrency, naming, testing, performance, generics, iterators, and common pitfalls. Distilled from Google Go Style Guide, Uber Go Style Guide, Effective Go, and Go Code Review Comments. Updated for Go 1.25.

Software Development

Cocos Creator 2415

9

hoaile2kdev/cocos-agent-skills

Use when Codex needs Cocos Creator 2.4.x/2.4.15 engine-specific guidance for TypeScript cc.Component scripts, cc._decorator/@property editor bindings, prefab/UI creation from screenshots or mockups, serialized .prefab/.fire scene authoring, cc.Node hierarchy/events/transforms, cc.assetManager/resources/bundles, cc.tween/actions, Spine sp.Skeleton, web-mobile builds, or fixes that must avoid newer Cocos APIs.

Software Development

Java Development

8

zander-zyx/java-development-skill

Use when writing, refactoring, or reviewing any Java or JVM code: plain Java, libraries, CLI tools, Android Java, Maven/Gradle dependency and build governance (pom.xml, BOMs, version catalogs, toolchains), Spring Boot development and version migration (2.x to 3.x, 3.x to 4.x, javax to jakarta), MyBatis/MyBatis-Plus or JPA/Hibernate persistence, writing tests with JUnit 5, Mockito, AssertJ, and Testcontainers, API design, exception handling, security review, Java upgrades, and JVM troubleshooting such as OOM, high CPU, GC tuning, GC logs, thread dumps, deadlocks, and memory leaks. Also covers J

Software Development

Blaze

8

pascalorg/blaze

Quietly reuse and improve verified coding lessons across agents. Use for a nontrivial debugging or implementation problem where an earlier solution could help, when a Blaze offer or receipt appears, or when the user asks to inspect, install, update, contribute to, or link Blaze. Check applicability, verify locally, and close the lookup with an honest outcome and contribution disposition without adding routine user-visible narration.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.