ClaudeCodeMod

All shelves / Skills

orch-refine-code

affaan-m/ecc · 6.7k installs · 295K stars

Skill Actor · action · target: orch · refine · code . Thin wrapper over the shared engine in orch-pipeline .

Marked No Code

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

SKILL.md

orch-refine-code

Actor · action · target: orch · refine · code. Thin wrapper over the shared engine in orch-pipeline.

When to Use

  • Same behavior, better structure: extract modules, remove duplication, kill dead code, reduce nesting, rename for clarity.
  • Distinguish from siblings: if behavior is meant to change at all, this is the wrong skill (orch-change-feature / orch-fix-defect).

Operation settings

  • Default size floor: standard — restructures touch multiple files.
  • Phase mask: 0 → 2 (plan the restructure) → 4 (keep green) → 5 → 6. No new behavior tests are written — the existing suite is the safety net.
  • First move (phase 4): confirm the relevant tests exist and are green before touching code; if coverage is thin, add characterization tests first. Then restructure in small steps, re-running tests after each.

How It Works

  1. Run the orch-pipeline engine with the settings above.
  2. For dead-code / duplication sweeps, delegate to the refactor-cleaner agent (it runs knip / depcheck / ts-prune and removes safely).
  3. Stop at Gate 1 (restructure plan) and Gate 2 (pre-commit).
  4. Commit as refactor: — the diff must be behavior-neutral.

Example

orch-refine-code: extract the NWS HTTP client out of poller.py
→ confirm tests green → plan extraction  [GATE 1: approve]
→ move in small steps, tests green throughout → code-review
→ commit refactor:  [GATE 2: confirm]

Facts

Kind
Skill
Repo
affaan-m/ecc
Group
Uncategorized
Installs
6.7k
Stars
295K

Same repo on other shelves

Marketplaces

  1. 2affaan-m/everything-claude-codeaffaan-m/ECCThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.309.1k

From the same repo

  1. 4123agent-self-evaluationaffaan-m/ecc6.7k
  2. 4126orch-change-featureaffaan-m/ecc6.7k
  3. 4132vue-patternsaffaan-m/ecc6.7k
  4. 4157config-gcaffaan-m/ecc6.7k
  5. 4165benchmark-methodologyaffaan-m/ecc6.6k
  6. 4195competitive-platform-analysisaffaan-m/ecc6.6k