Coordinate behavior-preserving code refactors with tests, review, and gated commits.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "orch-refine-code" skill from askskill: 1. Download https://raw.githubusercontent.com/affaan-m/ECC/main/skills/orch-refine-code/SKILL.md 2. Save it as ~/.claude/skills/orch-refine-code/SKILL.md 3. Reload skills and tell me it's ready
Please perform a behavior-preserving refactor on this legacy module: first confirm all existing tests pass, identify duplicated logic and overly long functions, improve structure and readability without changing public interfaces; rerun tests after each round of changes, then provide a change summary, a risk checklist, and a commit recommendation only if all tests remain green.
A test-validated refactor plan, structured code changes, risk review results, and a commit recommendation gated by passing tests.
Help reorganize this set of utility functions without changing any existing behavior. First check the test status, then regroup by responsibility, extract shared helpers, and remove meaningless naming; if you detect any risk of behavior change, clearly flag it and withhold commit advice. Finally, output review notes and a suggested commit message.
A complete result including test checks, refactor steps, risk flags, review conclusions, and a suggested commit message.
Please run a controlled refactor workflow on the following code: confirm baseline tests pass, apply structure-only improvements without changing functionality, outputs, or edge cases; verify tests after each key step, then summarize the changes, list unresolved issues, and determine whether the code meets the commit gate.
A refactor execution report focused on behavior preservation, test validation, issue tracking, and commit readiness.
Actor · action · target: orch · refine · code. Thin wrapper over the shared
engine in orch-pipeline.
orch-change-feature / orch-fix-defect).orch-pipeline engine with the settings above.refactor-cleaner agent
(it runs knip / depcheck / ts-prune and removes safely).refactor: — the diff must be behavior-neutral.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]
Audit, plan, and implement SEO improvements for better search visibility.
Design adaptive agent workflows with eval gates and reusable skill extraction.
Refine retrieved context iteratively to improve subagent understanding and output quality.
Fetches up-to-date framework docs for setup, APIs, and code examples.
Conduct multi-source web research and produce cited, source-attributed reports.
Apply modern, safe, idiomatic C++ standards for writing, review, and refactoring.
Update an existing feature to new behavior with tests, implementation, review, and gated commit.
Orchestrate bug fixing from repro to gated commit with delegated agents.
Orchestrate end-to-end new feature delivery with research, TDD, review, and gated commits.
Automatically refactor Java and TypeScript/JavaScript codebases to improve quality.
Run a structured code review before commit or release on local or PR branches.
Refactor code via MCP with moving, indenting, outlining, and renaming.