Subject: Re: [PATCH iproute2-next] doc: add AGENTS.md for AI coding assistants

From: Stephen Hemminger <[email-masked]>
Date: Sat, 31 Jan 2026 11:40:46 -0800

On Sat, 24 Jan 2026 14:14:27 -0800
Stephen Hemminger <[email-masked]> wrote:

> I (and probably others) are experimenting with AI code review
> and dumentation tools. It is worthwhile to have a baseline
> reference for coding assistants (such as Claude, Copilot,
> Cursor, etc.) when working with the iproute2 codebase.
> 
> This document is a first draft and covers:
> - Coding style based on Linux kernel guidelines with iproute2-specific
>   exceptions.
> - JSON output requirements using print_XXX helpers with PRINT_ANY
> - Command-line argument parsing (strcmp for new code, not matches())
> - Kernel compatibility and uapi header update procedures
> - Patch submission guidelines including DCO requirements
> 
> This helps ensure AI-generated contributions follow project conventions
> and reduces review burden from style issues. Changes and revisions
> are welcome and expected.
> 
> Signed-off-by: Stephen Hemminger <[email-masked]>
> ---

Decided on alternative path, putting iproute2 as sub directory
in existing review-prompts repo. Like systemd and kernel.