Featured image of post review-prompts

review-prompts

masoncl/review-prompts

Review Prompts for AI-Assisted Code Review

AI-assisted code review prompts for Linux kernel and systemd development. Works with Claude Code and other AI tools.

Quick Start

Install Kernel Prompts Only

1
2
cd kernel/scripts
./claude-setup.sh

Install systemd Prompts Only

1
2
cd systemd/scripts
./claude-setup.sh

Install Both

1
2
cd kernel/scripts && ./claude-setup.sh
cd ../systemd/scripts && ./claude-setup.sh

Available Commands

Project Review Debug Verify
Kernel /kreview /kdebug /kverify
systemd /systemd-review /systemd-debug /systemd-verify

Project Documentation

How It Works

Each project has:

  • Skill file - Automatically loads context when working in the project tree
  • Slash commands - Quick access to review, debug, and verify workflows
  • Subsystem files - Domain-specific knowledge loaded on demand

The skills detect your working directory and load appropriate context:

  • In a kernel tree: kernel skill loads automatically
  • In a systemd tree: systemd skill loads automatically

Structure

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
review-prompts/
β”œβ”€β”€ kernel/                    # Linux kernel prompts
β”‚   β”œβ”€β”€ skills/               # Skill template
β”‚   β”œβ”€β”€ slash-commands/       # /kreview, /kdebug, /kverify
β”‚   β”œβ”€β”€ scripts/              # Setup script and utilities
β”‚   β”œβ”€β”€ patterns/             # Bug pattern documentation
β”‚   └── *.md                  # Subsystem and protocol files
β”‚
β”œβ”€β”€ systemd/                   # systemd prompts
β”‚   β”œβ”€β”€ skills/               # Skill template
β”‚   β”œβ”€β”€ slash-commands/       # /systemd-review, /systemd-debug, /systemd-verify
β”‚   β”œβ”€β”€ scripts/              # Setup script
β”‚   β”œβ”€β”€ patterns/             # Bug pattern documentation
β”‚   └── *.md                  # Subsystem and protocol files
β”‚
└── README.md                  # This file

Semcode Integration

These prompts work best with semcode for fast code navigation and semantic search.

License

See kernel/LICENSE for license information.

Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy