Kernel Testing

Linux kernel testing skill for KUnit, kselftest, syzkaller, and LTP. Use when writing KUnit tests, running kselftest harness, configuring syzkaller fuzzing, or integrating KernelCI. Activates on queries about kunit_test_suite, kunit.py, kselftest, syzkaller, kcov, or Linux Test Project.

293 stars 36 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add mohitmishra786/low-level-dev-skills --skill kernel-testing
Manual install
git clone --depth 1 https://github.com/mohitmishra786/low-level-dev-skills.git /tmp/low-level-dev-skills
mkdir -p ~/.claude/skills
cp -r /tmp/low-level-dev-skills/skills/kernel/kernel-testing ~/.claude/skills/kernel-testing

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

From the SKILL.md

# Kernel Testing

## Purpose

Guide agents through testing the Linux kernel: KUnit in-kernel unit tests, the kselftest harness, syzkaller fuzzing with kcov coverage, Linux Test Project (LTP) syscall regression, and KernelCI integration for continuous testing.

## When to Use

- Writing unit tests for kernel library code or driver helpers
- Adding regression tests to `tools/testing/selftests/`
- Fuzzing syscalls and ioctl interfaces with syzkaller
- Measuring kernel code coverage with kcov
- Running LTP for syscall compatibility validation
- Setting up CI for kernel patches

## Workflow

### 1. KUnit — in-kernel unit tests

```c
// test_example.c
#include <kunit/test.h>

static void example_test(struct kunit *test)
{
    KUNIT_EXPECT_EQ(test, 1 + 1, 2);
    KUNIT_ASSERT_NOT_ERR_OR_NULL(test, kmalloc(16, GFP_KERNEL));
}

static struct kunit_case example_test_cases[] = {
    KUNIT_CASE(example_test),
    {}
};

static struct kunit_suite example_suite = {
    .name = "example",
    .test_cases = example_test_cases,
};
kunit_test_suite(example_suite);

MODULE_LICENSE("GPL");
```

```makefile
# Makefile
obj-$(CONFIG_KUNIT) += test_example.o
```

```bash
# Run KUnit (in-tree)
./tools/testing/kunit/kunit.py run

# Run specific test
./tools/testing/kunit/kunit.py run --filter example

# With cross-compilation
./tools/testing/kunit/kunit.py run --cross_compile aarch64-linux-gnu- \
    --arch arm64
```
Read the full skill on GitHub

Details

Skill name
kernel-testing
Path
skills/kernel/kernel-testing/SKILL.md
License
MIT
Repo updated
14 November 2026

FAQ

What does the Kernel Testing skill do?

Linux kernel testing skill for KUnit, kselftest, syzkaller, and LTP. Use when writing KUnit tests, running kselftest harness, configuring syzkaller fuzzing, or integrating KernelCI. Activates on queries about kunit_test_suite, kunit.py, kselftest, syzkaller, kcov, or Linux Test Project.

How do I install the Kernel Testing skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add mohitmishra786/low-level-dev-skills --skill kernel-testing. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Kernel Testing popular?

It lives in mohitmishra786/low-level-dev-skills, which has 293 GitHub stars and 36 forks.

Related skills

Abi and Calling Conventions

293

mohitmishra786/low-level-dev-skills

ABI and calling conventions skill for cross-language boundaries. Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Activates on queries about calling convention, ABI, System V AMD64, AAPCS, stack frame, variadic function, or FFI registers.

Software Development36

Adc Dac Baremetal

293

mohitmishra786/low-level-dev-skills

Bare-metal ADC and DAC skill. Use when configuring analog sampling, DMA-driven ADC, calibration, or DAC output on MCUs. Activates on queries about ADC bare-metal, sampling time, DMA ADC, or DAC channel setup.

Other36

Af Xdp

293

mohitmishra786/low-level-dev-skills

AF_XDP skill for high-performance XDP sockets. Use when creating AF_XDP sockets, configuring UMEM and XSK rings, XDP_REDIRECT programs, copy vs zero-copy mode, or comparing with DPDK. Activates on queries about AF_XDP, xsk_umem, XDP_REDIRECT, libbpf xsk, or zero-copy XDP.

Software Development36

Meson

293

mohitmishra786/low-level-dev-skills

Meson build system skill for C/C++ projects. Use when setting up a Meson project, configuring build options, managing dependencies with the wrap system, cross-compiling, or integrating Meson with CI. Activates on queries about meson setup, meson compile, meson wrap, meson test, cross-file, meson.build, or migrating from CMake/Autotools to Meson.

Testing & QA36

Honest Thinking Partner

171

aiskilloftheweek/claude-ai-skill-of-the-week

Activates a brutally honest thinking partner mode that sharpens reasoning, surfaces blind spots, dismantles flawed logic, and forces concrete action planning. Use this skill every time the user wants honest feedback on a plan, decision, or idea — especially when they seem to be rationalizing, avoiding something, or stuck. Also trigger when the user says things like "be honest with me", "tell me what you really think", "am I thinking about this wrong", "what am I missing", "stress-test this", "play devil's advocate", "challenge my thinking", "I need brutal feedback", or pastes a plan, decision,

Testing & QA35

Mock Interview Simulator

171

aiskilloftheweek/claude-ai-skill-of-the-week

Activates a rigorous, role-specific mock interview simulation that adapts to your target job, company, and experience level. Use this skill every time the user wants to practice for a job interview, simulate a hiring conversation, stress-test their answers, or get feedback on how they present themselves. Trigger on phrases like "prepare me for an interview", "run a mock interview", "let's practice for my interview", "simulate a hiring manager", "ask me interview questions", "help me prep for [company/role]", "I have an interview coming up", or any mention of interview anxiety, preparation, or

Testing & QA35

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.