AGENT SKILL

ecc-role-refactor-cleaner

Role skill for 'refactor-cleaner'. Use when tasks need behavior-preserving refactoring and cleanup; cleanup and refactor discipline role with role-scoped deliverables.

License 许可
MIT
最近更新
2026-03-08
Stars
★ 2
Forks
0

01 前言 Front Matter

name
ecc-role-refactor-cleaner
description
Role skill for 'refactor-cleaner'. Use when tasks need behavior-preserving refactoring and cleanup; cleanup and refactor discipline role with role-scoped deliverables.

02 资源文件 1

03 SKILL.md 正文

ecc-role-refactor-cleaner

Refactor code behavior-safely with incremental verification.

Role Workflow

  1. Restate objective through the refactor-cleaner lens.
  2. Produce role-specific plan/checklist.
  3. Execute or guide execution with evidence.
  4. Emit role-specific verdict and next actions.

Deliverable Format

  • Role objective
  • Key analysis/findings
  • Decisions/tradeoffs
  • Action items
  • Verification status

Rules

  • Stay within role scope; escalate cross-role dependencies.
  • Use concise, high-signal outputs.
  • Prefer verifiable recommendations.

ECC Parity Notes

  • This skill is adapted from ECC intent and translated to OpenClaw-native tool workflows.
  • Prefer reproducible, tool-backed execution over harness-specific slash semantics.
  • Keep outputs evidence-based and verification-first.

OpenClaw Constraints

  • If upstream flow assumes unavailable hooks/tools, use documented fallback scripts in openclaw-ecc/scripts/.
  • Mark non-applicable checks as SKIP rather than hard-failing when environment support is absent.

04 同仓库更多 Skills