Skip to main content
Run any Skill in Manus
with one click

gate-refactor

Stars7
Forks4
UpdatedJune 28, 2026 at 00:19

Refactor gate that discovers scan-rule libraries declared in the host project (default roots: {project}/.agents/skills/scan-*/SKILL.md and {project}/.claude/skills/scan-*/SKILL.md; configurable via CONVENTIONS.md: gate_refactor_scan_library_roots), loads every discovered library, checks the release bundle's changed files against all loaded rules, and produces findings as items with gate_origin:refactor; routing tag declared per library (libraries whose fixes are behavior-preserving declare findings-route:refactor; behavior-changing libraries declare no route — findings emit untagged and route through normal feature/story design). Rule libraries are deployment-local — the gate ships the mechanism; adopters supply the rules. Auto-triggers during /agile-workflow:release-deploy when the host project opts in via CONVENTIONS.md: gates_for_release: [..., refactor, ...]. No-libraries behavior: graceful skip (logs "no scan-* libraries discovered" and continues). Item-producer, NOT a pass/fail report.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly