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>)逐仓实查,非记忆值。
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 两仓是流程视角的补充读物,不是规范本体。
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 版已转移)。
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仓库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中文版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仓库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 |
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 栈)。
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,见下节。
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。
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 专属内容未带入。
drgn -k invocation forms, Object / .value_() / container_of / per-cpu access patterns, member introspection across kernel versions, the sudo-strips-debuginfod trap, and a 6-row symptom → cause → fix table.
drgn 活体内核检查(debugging.md):drgn -k 调用方式、Object / .value_() / container_of / per-cpu 访问模式、字段跨版本自省、debuginfod 环境变量被 sudo 剥离的坑,以及 6 条「症状 → 原因 → 修法」速查表。
-i-before--F argument-order red line, the two --stat checks (drops and clock), verifying filter field names via dump --events, awk latency-distribution templates, and a 4-row pitfall table.
trace-cmd 抓包分析(debugging.md):-i 参数顺序红线、--stat 先查丢包与时钟两件事、过滤字段名用 dump --events 核对、awk 延迟分布统计模板,以及 4 条坑速查表。
prep → check → auto-to-cc → send pipeline, v2 re-rolls with range-diff, trailer collection, applying lore series, a 5-row pitfall table — and the red line that a real b4 send emails a public list and needs human confirmation.
b4 系列管理(patch-workflow.md):prep → check → auto-to-cc → send 全流程、v2 迭代 range-diff、收 trailer、应用 lore 系列、5 条坑速查表——以及「b4 send 真发公开列表必须人确认」的红线。