update-ai-rules

Analyze an approved PR branch to propose AI rule updates for Cursor, Claude Code, and GitHub Copilot.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/seanwachs/cursor-skills --skill update-ai-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-ai-rules
Source: https://github.com/seanwachs/cursor-skills/tree/main/.agents/skills/update-ai-rules
Command: npx skills add https://github.com/seanwachs/cursor-skills --skill update-ai-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes an approved PR branch and surfaces rule-worthy AI updates across Cursor, Claude Code, and Copilot to accelerate policy refinement.

Core Features & Use Cases

  • Identifies changes in an approved PR branch that warrant new or updated AI rules.
  • Generates structured proposals for all three providers with scope and impact guidance.
  • Supports pre-merge decision-making by summarizing potential rule migrations and validations.

Quick Start

Review the current PR branch and generate rule proposals for Cursor, Claude Code, and Copilot, ready for review.

Frequently Asked Questions about update-ai-rules

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

FAQPage Schema
How do I generate AI rules from a PR branch for multiple coding assistants?

To generate AI rules from a PR branch, analyze the approved changes during pre-merge review to identify rule-worthy updates. This produces structured proposals detailing scope and actionable edits for Cursor, Claude Code, and GitHub Copilot.

What is the best way to update Cursor and Claude Code rules before merging a pull request?

The best way to update Cursor and Claude Code rules before merging is to analyze the PR branch during pre-merge review. This surfaces potential rule migrations and generates structured proposals with actionable edits ready for validation.

Can I analyze a branch diff to identify changes that warrant new AI coding rules?

Yes, you can analyze a branch diff to identify changes warranting new AI coding rules. By reviewing the approved PR branch, the system surfaces rule-worthy updates and generates structured proposals for your AI providers.

Does this AI rule generation process work with GitHub Copilot policies?

Yes, the AI rule generation process works with GitHub Copilot policies. It analyzes approved PR branches to produce structured proposals detailing scope, affected providers, and actionable edits specifically for GitHub Copilot.

When should I use pre-merge PR analysis to update AI rules?

You should use pre-merge PR analysis to update AI rules when you have an approved PR branch with changes worth documenting. It supports decision-making by summarizing potential rule migrations and validations before merging.