Cel Kdev banner
chucklever chucklever

Cel Kdev

Development community

Description

Claude Code skills for Linux kernel development: StGit, perf, and trace-cmd

Installation

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

README

cel-kdev

Claude Code and Codex skills for Linux kernel development workflows.

Skills

stg

Teaches coding agents to use [StGit](https://stacked-git.github.io/) for patch management instead of raw git commands. When StGit is active on a branch, the agent creates, edits, reorders, and squashes patches through `stg` rather than `git commit` and `git rebase`, avoiding stack corruption. Covers conflict resolution, series navigation, and the prohibition on parallel stg operations across subagents.

perf

Guides coding agents through analyzing `perf record` captures: recording options, symbol resolution with kallsyms, call-graph analysis, flamegraph generation, and a structured reporting workflow (overview, drill-down, comparison).

drgn

Teaches coding agents to inspect a running kernel through `/proc/kcore` using [drgn](https://drgn.readthedocs.io/). Covers core API patterns (Object creation, pointer handling, type introspection), per-CPU variable access, stack traces, container_of usage, and slab cache inspection. Includes subsystem-specific recipes for SUNRPC, NFS, and AIO, along with workarounds for common pitfalls.

trace-cmd

Guides coding agents through analyzing kernel trace captures (.dat files) from `trace-cmd`. Covers event ingestion, latency distributions, throughput measurement, phase detection, and filter expressions. Includes a subsystem reference for NFS/RDMA server and client events (sunrpc, svcrdma, xprtrdma, nfsd), RPCGSS, workqueue, scheduler, TCP, and TLS handshake tracepoints.

b4

Teaches coding agents the `b4` patch workflow for applying patches from lore (`b4 am`), comparing series revisions (`b4 diff`), and managing outbound patch series with `b4 prep` and `b4 send`. Covers coexistence with StGit, cover letter strategies, recipient management, and non-interactive operation constraints.

sashiko

Teaches coding agents how to submit patches to the [sashiko](https://sashiko.dev) kernel-patch review bot and how to retri