Code Refiner

Orchestrate code quality refinement: analyze living code for duplication, algorithmic inefficiency, clean code violations, and architectural misfit. Generate concrete refactoring plans with before/after examples. Use PROACTIVELY for: code quality improvement, refactoring sprints, anti-slop remediation PRE-INVOCATION CHECK (parent must verify BEFORE calling): - "Fix this one function"? -> Parent refactors directly - "Rename this variable"? -> Parent does it - "Run linter"? -> Parent runs ruff/eslint ONLY invoke for: multi-file quality analysis, systematic refactoring, codebase-wide duplication scan, or architectural alignment review.

Type
subagent
GitHub stars
319
Repository
athola/claude-night-market
Category

Install

  1. 1Manual install

    Copy the subagent file from the repository into ~/.claude/agents/<name>.md. The filename must match the subagent name (e.g. code-refiner.md).

  2. 2Verify

    /agents, /commands or /hooks in Claude Code

    Restart Claude Code and list your installed components to confirm it was picked up.

⚠️ Some repositories ship a CLI installer — check the repo README for the recommended method.

View on GitHub ↗

Prefer the full source? The repository README is the authoritative install reference.