Research · GitHub repositories调研报告 · GitHub 仓库

Kernel community repos, surveyed.
Norms · knowledge bases · agent skills
Linux Kernel 社区仓库调研
规范 · 知识库 · Agent Skills

Reference points for the linux-kernel-dev skill: which norm and knowledge-base repositories the kernel community keeps on GitHub, and how others write kernel skills for coding agents. Every star count and last-push date below was checked repo-by-repo via the GitHub REST API (gh api repos/<owner>/<repo>) on 2026-07-02 — verified numbers, not remembered ones. 给本仓的 linux-kernel-dev skill 找参照:内核社区在 GitHub 上有哪些规范与知识库仓库,别人又是怎么给 coding agent 写 kernel skills 的。下文所有 star 数与最近推送时间,均于 2026-07-02 用 GitHub REST API(gh api repos/<owner>/<repo>)逐仓实查,非记忆值。

21 repos verified one by one个仓库逐一核实
237,950★ the only norm source, torvalds/linux规范唯一源头 torvalds/linux
6 kernel coding-agent skills found个 kernel 向 coding-agent skills
4 tools borrowed into this skill个工具已借入本 skill
NORM SOURCE规范源头 3 repos3 个 torvalds/linux Doc/process · 237,950★ · dailyDoc/process · 237,950★ · 每日更新 kernel-tutorial gregkh · 1,253★ · idle since 2021gregkh · 1,253★ · 2021 停更 kernel-development gregkh · 680★ · 2025-03 There is no second norm repo —规范没有第二个仓—— everything else interprets it其余仓库都是对它的解读与教学 KNOWLEDGE · BOOKS知识库 · 书 5 repos5 个 linux-insides 0xAX · 32,686★ · active 2026-060xAX · 32,686★ · 2026-06 活跃 lkmpg sysprog21 · 8,518★ · 2026-05 linux_kernel_wiki 0voice · 7,690★ · idle since 2024-050voice · 7,690★ · 2024-05 停更 LDD-LinuxDeviceDrivers gatieme · 2,894★ · 2026-03 ldd3 martinezjavier · 2,586★ · 2025-04 LABS · TEACHING · TESTS实验 · 教学 · 测试 4 repos4 个 linux-kernel-module-cheat cirosantilli · 4,493★ · 2026-06 ltp linux-test-project · 2,565★ · dailylinux-test-project · 2,565★ · 每日活跃 linux-kernel-labs teaching labs · 1,137★ · 2024-07教学 labs · 1,137★ · 2024-07 linux-kernel-labs (zh)linux-kernel-labs 中文版 linux-kernel-labs-zh · 972★ · 2024-06 QEMU env + courses + official regression testsQEMU 环境 + 教学课 + 官方回归测试 AGENT SKILLS 6 repos · all 20266 个 · 全在 2026 年 cel-kdev Chuck Lever · NFS maintainer · 2★ kernel-vuln-analyzer winmin · 36★ · 2026-04 linux-kernel-crash-debug crazyss · 8★ · 2026-06 kernel-dev-skill tzussman · 1★ · b4 / virtme-ng assisted-by bcmyguest · 1★ · AI trailerbcmyguest · 1★ · AI 署名 trailer
Fig 1 · The kernel-repo landscape on GitHub: 18 main repositories in four groups (plus 3 idle awesome-lists / skills in the tables below). Orange borders mark the two focus repos. 图 1 · GitHub 上 kernel 相关仓库全景:四类共 18 个主要仓库(另 3 个停更的 awesome list 与 skill 见下文表格)。橙色边框为两个焦点仓。
1 · Norm source一 · 规范源头

The community norm has exactly one source: the kernel tree's own Documentation/process/ 社区规范只有一个源头:内核树自己的 Documentation/process/

coding-style.rst, submitting-patches.rst and the maintainer handbook all live inside the kernel source tree and evolve with every release. There is no second "norms repository" on GitHub — everything else interprets, teaches or mirrors it. The references layer of the linux-kernel-dev skill aligns to exactly this set of documents. coding-style.rst、submitting-patches.rst、maintainer 手册都住在内核源码树里,随每个内核版本演进。GitHub 上不存在第二个「规范仓库」——其余仓库全是对它的解读、教学或搬运。本仓 linux-kernel-dev skill 的 references 层对齐的就是这套文档。

Repository仓库 Star Last push最近推送 Content内容 Link链接
torvalds/linux · Documentation/process/ 237,950 daily每日 coding-style / submitting-patches / maintainer handbook — the only authoritative edition of the normscoding-style / submitting-patches / maintainer 手册,规范的唯一权威版本 GitHub
gregkh/kernel-tutorial 1,253 idle since 2021-032021-03 停更 Greg KH's "write and submit your first kernel patch" tutorialGreg KH 的「写并投出第一个 kernel patch」教程 GitHub
gregkh/kernel-development 680 2025-03 how the kernel development process runs (presentation with abstract)内核开发流程如何运转(演示稿,含 abstract) GitHub

Orange bar = what this repo's skill aligns to. The two gregkh repos are process-view companion reading, not the norm itself. 橙条 = 本仓 skill 的对齐目标。gregkh 两仓是流程视角的补充读物,不是规范本体。

2 · Knowledge bases & books二 · 知识库与书

Only two books are alive: linux-insides and lkmpg 活跃的书就两本:linux-insides 与 lkmpg

Of the eight knowledge/aggregation repos, the ones still updating in 2026 are linux-insides (the internals book), lkmpg (the module programming guide) and gatieme's Chinese notes. The 0voice Chinese aggregations are large but idle since 2024-05 — fine as an index, not as an authority. Both awesome-lists have been dead for years and are not worth following. 八个知识库/聚合仓里,2026 年仍在更新的只有 linux-insides(internals 书)、lkmpg(模块编程指南)和 gatieme 的中文笔记。中文聚合仓 0voice 系列量大但 2024-05 后停更,当索引用可以,当权威源不行。awesome list 两个全部停更多年,不值得跟。

Repository仓库 Star Last push最近推送 Content内容 Link链接
0xAX/linux-insides 32,686 2026-06-25 kernel-internals book (boot, interrupts, syscalls, timers, memory), still updating内核 internals 书(启动、中断、系统调用、定时器、内存),持续更新中 GitHub
sysprog21/lkmpg 8,518 2026-05-27 the Linux Kernel Module Programming Guide, modernised for 5.x+ kernels, maintained by jservLinux Kernel Module Programming Guide 现代版(5.x+ 内核),jserv 维护 GitHub
0voice/linux_kernel_wiki 7,690 idle since 2024-052024-05 停更 Chinese aggregation: 200+ articles, 100+ papers, 500+ interview questions — big but mixed中文聚合:200+ 文章、100+ 论文、500+ 面试题,量大偏杂 GitHub
gatieme/LDD-LinuxDeviceDrivers 2,894 2026-03-30 Chinese kernel/driver study notes, organised by topic中文内核/驱动学习笔记,按主题成体系 GitHub
martinezjavier/ldd3 2,586 2025-04-28 the Linux Device Drivers 3 examples, updated to compile on recent kernels《Linux Device Drivers 3》书中示例更新到现代内核可编译 GitHub
0voice/kernel_new_features 1,907 idle since 2024-052024-05 停更 io_uring / cgroup / eBPF / LLVM new-feature aggregationio_uring / cgroup / eBPF / LLVM 新特性专题聚合 GitHub
retpolanne/awesome-kerneldev 37 idle since 2023-062023-06 停更 resource list for first-time contributors, small入门贡献者资源清单,规模小 GitHub
hao-lee/awesome-kernel 12 idle since 2017-052017-05 停更 kernel resource list, abandoned内核资源清单,已荒废 GitHub

Orange bar = active and high-quality, worth following long-term. linux-insides has community Chinese translations (several forks; the original MintCN edition has moved). 橙条 = 活跃且内容质量高,值得长期跟。linux-insides 有社区中文翻译(多个 fork,原 MintCN 版已转移)。

3 · Labs & testing三 · 实验环境与测试

Hands-on environments: from one-command QEMU labs to the official regression suite 动手环境:从 QEMU 一键实验到官方回归测试

cirosantilli · 4,493★ · 2026-06-16

linux-kernel-module-cheat

Fully-automated QEMU / gem5 lab environment: kernel, modules, GDB step-debug and KGDB out of the box, driven by Buildroot + crosstool-NG, covering x86_64 / ARMv7 / ARMv8. QEMU / gem5 全自动实验环境:内核、模块、GDB step 调试、KGDB 开箱即用,Buildroot + crosstool-NG 驱动,x86_64 / ARMv7 / ARMv8 全覆盖。

Repository仓库

linux-kernel-labs · 1,137★ (zh translation 972★)(中文翻译 972★)

linux-kernel-labs teaching courselinux-kernel-labs 教学课

The Bucharest Polytechnic kernel course: lectures plus hands-on labs (character devices, interrupts, memory mapping, networking), with a complete Chinese translation repo, docs-linux-kernel-labs-zh-cn. 布加勒斯特理工的内核教学:讲义 + 动手 lab(字符设备、中断、内存映射、网络),有完整中文翻译仓 docs-linux-kernel-labs-zh-cn。

Repository仓库 Chinese edition中文版

linux-test-project · 2,565★ · daily active每日活跃

ltp(Linux Test Project)

The official test project: regression suites for syscalls, drivers and filesystems. A reference for how the skill's testing dimension organises cases beyond KUnit / kselftest. 官方测试项目:系统调用、驱动、文件系统的回归测试集。本仓 skill 的 testing 维度(KUnit / kselftest 之外)可参照的用例组织方式。

Repository仓库
4 · Agent skills四 · Agent Skills

Kernel skills for coding agents: a field that only started in 2026 kernel 向的 coding-agent skills:方向刚起步,全部出现在 2026 年

All 17 skills in the official anthropics/skills repo are documents, design or office work — nothing kernel-related. The community yields 6 verified repos, all with double-digit stars at most — but one of them is written by a sitting kernel maintainer. 官方 anthropics/skills 仓的 17 个 skill 全是文档、设计、办公类,没有 kernel 相关。社区里核实到 6 个,star 都在两位数以内——但其中一个出自真正的内核 maintainer 之手。

Repository仓库 Star Last push最近推送 Content内容 Link链接
chucklever/cel-kdev 2 2026-06-29 StGit patch stacks, perf profiling, drgn live-kernel inspection, trace-cmd analysis (see the spotlight card below)StGit patch 栈、perf 剖析、drgn 活体检查、trace-cmd 分析(详见下方焦点卡) GitHub
winmin/kernel-vuln-analyzer 36 2026-04-09 7-phase KASAN / syzbot / CVE crash-analysis pipeline: triage → root cause → QEMU+GDB repro → exploitability → patch → bilingual reportKASAN / syzbot / CVE 崩溃分析 7 阶段流水线:triage → 根因 → QEMU+GDB 复现 → 可利用性 → patch → 双语报告 GitHub
crazyss/linux-kernel-crash-debug 8 2026-06-14 vmcore debugging with the crash utility: command reference + deadlock / OOM / NULL-pointer case studies, Chinese docs includedcrash utility 调 vmcore:命令参考 + 死锁 / OOM / 空指针实战案例,含中文文档 GitHub
tzussman/kernel-dev-skill 1 2026-04-29 5 skills as one plugin: b4 submission, git-bisect with virtme-ng boot tests, git-rebase, kernel-build, virtme-ng VMs5 个 skill 成 plugin:b4 投 patch、git-bisect + virtme-ng 启动测试、git-rebase、kernel-build、virtme-ng 虚拟机 GitHub
bcmyguest/assisted-by 1 2026-06-16 plugin enforcing an Assisted-by: trailer on git commits — the same stance as this skill's "AI never adds Signed-off-by" rule强制 git commit 带 Assisted-by: trailer 的 plugin——与本仓 skill「AI 不加 Signed-off-by」规则同一立场 GitHub
zhuqinsheng-git/embedded-c-style 0 2026-05-20 kernel coding style packaged as an embedded-C convention skill把 kernel coding style 打包成嵌入式 C 规范 skill GitHub

Spotlight · written by a sitting maintainer焦点 · 一线 maintainer 出品

cel-kdev: the agent workflow of Chuck Lever (Linux NFS / SUNRPC maintainer, Oracle) cel-kdev:Chuck Lever(Linux NFS / SUNRPC maintainer,Oracle)的 agent 工作流

Only 2 stars — but this is the one kernel agent-skills repo written and used daily by a sitting kernel maintainer. It holds 6 skill directories (the README leads with 4 of them) plus a hook (block-raw-git.sh: intercepts raw git commit / rebase while an StGit stack is active, so agents can't corrupt the patch stack). star 只有 2,但这是目前唯一一个由在任内核 maintainer 编写并日常使用的 kernel agent skills 仓。仓内 6 个 skill 目录,README 主打其中 4 个;另带一个 hook(block-raw-git.sh:StGit 栈活动时拦截裸 git commit / rebase,防 agent 弄坏 patch 栈)。

stg — StGit patch stacksStGit patch 栈管理 perf — profiling & flamegraphs剖析与火焰图 drgn — /proc/kcore live inspection/proc/kcore 活体检查 trace-cmd — .dat trace analysis.dat 抓包分析 b4 — mailing-list workflow邮件列表工作流 sashiko

The field-tested essentials of the drgn and trace-cmd skills (API patterns, pitfall tables, analysis recipes) were distilled into this repo's skills/linux-kernel-dev/references/debugging.md on 2026-07-02; b4 and virtme-ng from tzussman's plugin went into references/patch-workflow.md the same day. See the next section. drgn 与 trace-cmd 两个 skill 的实战要点(API 用法、坑表、分析套路)已于 2026-07-02 提炼进本仓 skills/linux-kernel-dev/references/debugging.md;tzussman plugin 的 b4 与 virtme-ng 同日借入 references/patch-workflow.md,见下节。

5 · How they fit五 · 互补关系

Community skills and linux-kernel-dev: complementary, not overlapping 社区 skills 与本仓 linux-kernel-dev:互补,不重叠

This repo is strong on knowledge structure and verification machinery; community skills are strong on per-tool workflows — the two cover different dimensions. As of this survey there is no second kernel skill on GitHub with a 44-subsystem module set plus anti-hallucination fact checking plus regression testing. 本仓强在知识结构与验证机制,社区 skills 强在具体工具的工作流——两边覆盖的维度不同。GitHub 上目前没有第二个带 44 子系统模块 + 反幻觉事实检查 + 回归测试结构的 kernel skill。

LINUX-KERNEL-DEV · KNOWLEDGE STRUCTURE本仓 LINUX-KERNEL-DEV · 知识结构 44 subsystem modules44 个子系统模块 references/subsys · consumer + providerreferences/subsys · 消费方 + provider fact-gate anti-hallucinationfact-gate 反幻觉 [CLAIMS] verified against a real tree[CLAIMS] 符号在真内核树里验证 148-case regression · 7-axis critics148 用例回归 · 7 轴 critic safety veto · baseline comparesafety 一票否决 · baseline 对比 kernel-learn loopkernel-learn 学习循环 rule + case + registration triplets规则 + 用例 + 注册的原子三件套 Strong: knowledge, fact checking, quality metrics强项:知识组织、事实验证、质量度量 Gap: hands-on tool workflows (debug, submission)缺口:具体调试 / 投递工具的实操工作流 COMMUNITY AGENT SKILLS · TOOL WORKFLOWS社区 AGENT SKILLS · 工具工作流 b4 / StGit list submission · patch-stack management邮件列表投递 · patch 栈管理 virtme-ng / QEMU kernel VM boot tests · bisect companion内核虚拟机启动测试 · bisect 配套 crash post-mortem vmcore analysisvmcore 事后崩溃分析 perf profiling · flamegraphs · reporting剖析 · 火焰图 · 报告工作流 drgn /proc/kcore live-kernel inspection/proc/kcore 活体内核检查 trace-cmd .dat traces · latency stats · pairing.dat 抓包 · 延迟分布 · 事件配对 complementary互补 · 不重叠 debugging.md + patch-workflow.mddebugging.md + patch-workflow.md drgn · trace-cmd · b4 · virtme-ng, borrowed 2026-07-02drgn · trace-cmd · b4 · virtme-ng · 2026-07-02 借入 1 2 into references并入参考层
Fig 2 · Complementary coverage: this repo owns knowledge and verification, community skills own tool practice; drgn, trace-cmd, b4 and virtme-ng have been distilled into the skill's references. 图 2 · 覆盖维度互补:本仓管知识与验证,社区 skills 管工具实操;drgn、trace-cmd、b4、virtme-ng 已提炼借入 skill 参考层。
6 · Landed六 · 已落地

What this survey directly produced 本次调研直接产出的改动

References extended (2026-07-02) — two sections distilled from cel-kdev into references/debugging.md, two from tzussman's plugin into references/patch-workflow.md; the SKILL.md routing table updated in step. Only platform-neutral material was taken; NFS / SUNRPC-specific content stayed out. references 层增补完成(2026-07-02)——从 cel-kdev 提炼两节进 references/debugging.md,从 tzussman plugin 提炼两节进 references/patch-workflow.md,SKILL.md 路由表同步更新。只取平台无关的通用部分,NFS / SUNRPC 专属内容未带入。

"equal cards for all 6 skills". Because: the finding worth surfacing is that a sitting NFS maintainer ships agent skills — star count (2) argues against it, authorship argues for it; the spotlight carries that argument where a uniform grid would bury it. 5. [complementarity-diagram] chose "two-pillar diagram with an explicit borrow-path (numbered badges → references focus card)" over "prose-only conclusion". Because: 'complementary, not overlapping' is a structural claim; showing which node flowed where makes the landed change auditable. 6. [bilingual-docs-page] chose "full EN/zh toggle per §G" over "keeping the original monolingual zh standalone". Because: this page ships under docs/ on the public Pages site where every page is bilingual; the standalone zh copy remains outside the repo for local reading. Known trade-offs: - SVG text uses raw hex (#d97757 etc.) not var(--anth-*): SVG attributes cannot reference CSS custom properties; values equal the tokens. - Fig-1 group heights are uniform (336) so the 3-node norm-source group carries an italic annotation instead of cards; intentional negative space, not missing content. - The 21-repos-verified stat counts 15 community repos + 6 agent-skill repos; the landscape figure shows 18 (drops 2 dead awesome-lists + embedded-c-style), stated in the figcaption to avoid a count mismatch reading. /design-review:self-diff -->