rule-modify

Automate updates, deactivations, and migrations of Claude Code rule files.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/oogDZ/2 --skill rule-modify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-modify
Source: https://github.com/oogDZ/2/tree/main/.claude/skills/rule-modify
Command: npx skills add https://github.com/oogDZ/2 --skill rule-modify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates updates, deactivations, and migrations of rule files used by Claude Code, ensuring consistent policy behavior and safe evolution across environments.

Core Features & Use Cases

  • SSOT-aligned rule changes to prevent drift and ambiguity.
  • Supports update, deactivate, and migrate workflows with built-in validations.
  • Provides a clear, auditable process for rule evolution guided by SSOT instructions.

Quick Start

Modify the target rule by name using the command /rule-modify <name> [--type <type>].

Frequently Asked Questions about rule-modify

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

FAQPage Schema
How do I update Claude Code rule files to keep policies current?

To update Claude Code rule files, you can automate the modification process using a command that applies changes while enforcing safety checks and SSOT guidance. This ensures policy rules remain current and consistently formatted without manual editing.

What is the best way to migrate or deactivate Claude Code rules across environments?

The best way to migrate or deactivate Claude Code rules is using an automated lifecycle management workflow that validates input and references SSOT instructions. This provides a clear, auditable process for safely evolving policies across environments.

When do I need SSOT guidance for modifying automation policies?

You need SSOT guidance for modifying automation policies when you want to prevent rule drift and ambiguity during updates. Applying a single source of truth ensures your workflow policies evolve safely without inconsistent behavior across environments.

How do I safely automate workflow rule changes without breaking existing policies?

To safely automate workflow rule changes without breaking existing policies, use a process with built-in validations and enforced safety checks. The system validates your input, prompts for missing information, and ensures standard formatting before applying modifications.

Does the rule-modify command require specific parameters to update a target rule?

The rule-modify command requires a target rule name and supports an optional type parameter. If mandatory information is missing, the automation will prompt you to provide it before proceeding with the policy update.