refactor-classification-policy

Classifies RTL refactoring changes into SAFE, RESTRICTED, or PROHIBITED tiers for approval and gating.

43|9|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/babyworm/rtl-agent-team --skill refactor-classification-policy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor-classification-policy
Source: https://github.com/babyworm/rtl-agent-team/tree/main/skills/refactor-classification-policy
Command: npx skills add https://github.com/babyworm/rtl-agent-team --skill refactor-classification-policy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The refactor-classification-policy eliminates uncertainty in RTL refactoring by categorizing proposed edits into SAFE, RESTRICTED, or PROHIBITED tiers and defining approval, verification, and escalation rules to prevent behavioral regressions or contract violations.

Core Features & Use Cases

  • Classifies refactoring changes as SAFE for behavior-preserving cleanups, RESTRICTED for structural or test-affecting edits that require approval, and PROHIBITED for semantic, timing, or interface contract changes.
  • Enforces pass/fail gates and escalation policies, marking ambiguous or risky edits for manual review and requiring approvals for prohibited changes.
  • Produces a structured Refactor Execution Report useful for automated review workflows, CI gating, and audit trails within RTL design and verification pipelines.

Quick Start

Use the refactor-classification-policy to classify a proposed RTL change and produce a Refactor Execution Report for review.

Frequently Asked Questions about refactor-classification-policy

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

FAQPage Schema
How do I classify RTL refactoring changes to prevent behavioral regressions in automated code reviews?

RTL refactoring changes are classified into SAFE, RESTRICTED, or PROHIBITED tiers to determine approval and gating requirements. This categorization eliminates uncertainty by enforcing verification rules and escalation policies that prevent behavioral regressions or contract violations.

What is the difference between SAFE, RESTRICTED, and PROHIBITED RTL refactor tiers?

SAFE tiers cover behavior-preserving cleanups, RESTRICTED tiers involve structural or test-affecting edits requiring approval, and PROHIBITED tiers involve semantic, timing, or interface contract changes. Each tier enforces specific pass/fail gates and escalation policies for automated review workflows.

How do I enforce approval gates for ambiguous RTL edits in continuous integration?

Approval gates for ambiguous RTL edits are enforced by marking risky or unclear changes for manual review during continuous integration. The classification policy requires explicit approvals for prohibited changes and demands equivalence confidence for SAFE and RESTRICTED modifications.

Can I generate audit trails for RTL refactoring workflows in CI pipelines?

Yes, you can generate audit trails for RTL refactoring workflows by producing a structured Refactor Execution Report. This report captures classification results, approval statuses, and gating decisions for downstream automation, CI gating, and audit purposes within RTL design pipelines.

What's the best way to automate RTL code review gating for commit-level change sets?

Automating RTL code review gating for commit-level change sets is best handled by applying safety tier classification directly to the proposed edits. This process enforces pass/fail gates based on the SAFE, RESTRICTED, or PROHIBITED designation of each change set.

When should I require equivalence confidence for RTL refactoring approvals?

Equivalence confidence should be required for SAFE and RESTRICTED refactoring changes during automated review workflows. PROHIBITED changes bypass this by enforcing strict approval rules, while ambiguous or risky edits are escalated for manual review.