pr-radar-add-rule

Create and configure PRRadar review rules for pull request diffs.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/gestrich/AIDevTools --skill pr-radar-add-rule
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-radar-add-rule
Source: https://github.com/gestrich/AIDevTools/tree/main/.agents/skills/pr-radar-add-rule
Command: npx skills add https://github.com/gestrich/AIDevTools --skill pr-radar-add-rule

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you create a new PRRadar review rule to detect patterns in pull request diffs, guiding you through the decision of project config, rule directory, evaluation mode, and file targeting, and ensuring you generate a valid rule file.

Core Features & Use Cases

  • Guided config selection: choose project config and rule directory from available options.
  • Flexible evaluation modes: AI, Script, or Regex mode to detect violations.
  • Rule file generation: create a Markdown rule with YAML frontmatter and proper structure, including optional scripts and subdirectories.

Quick Start

Provide the target project config or directory, the files to check, and the evaluation mode, and I will generate the rule file accordingly.

Frequently Asked Questions about pr-radar-add-rule

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

FAQPage Schema
How do I create a custom rule to detect patterns in pull request diffs?

To create a rule for pull request diffs, you select a project config, rule directory, evaluation mode, and target files. The skill then generates a valid rule file with YAML frontmatter and an optional script to enforce your specific code review patterns.

What evaluation modes are available for automated code review rules?

Automated code review rules support three evaluation modes: AI, Script, and Regex. You choose the appropriate mode during setup to detect violations based on pattern matching, custom script execution, or AI-driven analysis of the pull request diff.

How do I organize PR review rules in subdirectories?

PR review rules can be organized in subdirectories by selecting your desired rule directory during the guided configuration process. The skill enforces proper structure and frontmatter requirements while placing the generated rule file in your chosen location.

Do I need a specific project config to set up PR Radar rule creation?

You need an existing project config to set up PR Radar rule creation. The skill guides you through selecting a valid project config and rule directory from available options before generating the rule file and optional validation scripts.

What is the best way to validate that a new code review rule was created successfully?

The best way to validate a new code review rule is through the built-in validation steps included in the rule creation workflow. The skill executes these checks after generating the rule file and optional script to ensure successful rule creation and proper frontmatter formatting.