Skip to main content
在 Manus 中运行任何 Skill
一键导入

gate-refactor

星标7
分支4
更新时间2026年6月28日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly