iproute-review

Validate iproute2 patches for coding style, JSON output, and netlink usage.

Updated Nov 29, 2025
One-click install
npx skills add https://github.com/thimslugga/agent-skills --skill iproute-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iproute-review
Source: https://github.com/thimslugga/agent-skills/tree/main/skills/linux/linux-review/iproute-review
Command: npx skills add https://github.com/thimslugga/agent-skills --skill iproute-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deep regression analysis and review guidance for iproute2 patches, helping assess changes across ip, tc, bridge, or other iproute2 utilities for regressions in JSON output, argument parsing, netlink handling, and kernel compatibility within iproute2 source trees.

Core Features & Use Cases

  • Guided Patch Review: Provides a deterministic workflow and checklists to validate changes against coding style, argument parsing, JSON output, and netlink patterns.
  • Reference Material: Includes references to core guidelines (argument parsing, JSON output, kernel compatibility) to inform reviews.
  • On-Demand Analysis: Activates when patch touches iproute2 components and outputs actionable review notes.

Quick Start

Load the patch, pull in the relevant references, and apply the review checklist to complete the assessment.

Frequently Asked Questions about iproute-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review an iproute2 patch for coding style and netlink regressions?

You can validate iproute2 patches by applying a deterministic review checklist covering coding style, argument parsing, JSON output, and netlink patterns. This workflow outputs actionable review notes highlighting common violations.

What is the proper way to handle argument parsing in iproute2 source code?

Proper argument parsing in iproute2 requires enforcing strcmp-based argument matching and correct NEXT_ARG usage. Reviewing patches against these guidelines ensures robust command-line input handling across iproute2 utilities.

How does JSON output validation work for iproute2 utilities?

JSON output validation checks iproute2 patches for paired JSON open and close calls to prevent malformed output. This ensures utilities like ip and tc maintain consistent JSON formatting for automated parsing.

Can I use this review workflow for patches touching any iproute2 component?

Yes, the review workflow applies to patches touching any iproute2 component, including ip, tc, and bridge. It validates changes against coding style, JSON output, argument parsing, and kernel compatibility guidelines.

Why does my iproute2 netlink code fail kernel compatibility checks?

Netlink code may fail kernel compatibility checks due to improper error handling or incorrect netlink usage patterns. Reviewing patches against established guidelines helps identify and fix these netlink regressions.