ZOYKUHot Board

masoncl/review-promptsTài liệu kỹ thuật

AI review prompts

Thông báo ngôn ngữ:Chưa có tài liệu tiếng Việt cho kho lưu trữ này. Đang hiển thị bản gốc tiếng Anh chính thức.
Cài đặt nhanh
pip install review-prompts

Review Prompts for AI-Assisted Code Review

AI-assisted code review prompts for Linux kernel, systemd, iproute, nfs-utils, and pahole development. Works with Claude Code and other AI tools.

Quick Start

Install Prompts

./setup.sh <agent> <project>

Where <agent> is one of available agents and <project> is one of available projects that are explicitly stated in the usage message when the script is executed with -h|--help option.

Available Commands

Project Review Debug Verify
Kernel /kreview /kdebug /kverify
systemd /systemd-review /systemd-debug /systemd-verify
iproute /iproute-review /iproute-debug /iproute-verify
nfs-utils /nfs-utils-review /nfs-utils-debug /nfs-utils-verify
pahole /pahole-review /pahole-debug /pahole-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
  • In an iproute tree: iproute skill loads automatically
  • In an nfs-utils tree: nfs-utils skill loads automatically
  • In a pahole tree: pahole skill loads automatically

Structure

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
│
├── iproute/                  # iproute prompts
│   ├── skills/               # Skill template
│   ├── slash-commands/       # /iproute-review, /iproute-debug, /iproute-verify
│   ├── scripts/              # Setup script
│   ├── patterns/             # Bug pattern documentation
│   └── *.md                  # Subsystem and protocol files
│
├── nfs-utils/                # nfs-utils prompts
│   ├── skills/               # Skill template
│   ├── slash-commands/       # /nfs-utils-review, -debug, -verify
│   ├── subsystem/            # Per-component guides + trigger index
│   └── *.md                  # Core protocol files
│
├── pahole/                   # pahole prompts
│   ├── skills/               # Skill template
│   ├── slash-commands/       # /pahole-review, /pahole-debug, /pahole-verify
│   └── *.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 LICENSE for license information.

Bản sao tài liệu lưu trữ từ kho lưu trữ GitHub chính thức · Xem trên GitHub
Ngày đồng bộ: 2026-11-16