Skip to content
Development
Agent

code-simplifier

Cleanup refactoring expert. Simplifies code, eliminates duplication, preserves behavior.

From plugin
sd0x-dev-flow
18816 skills16 agents5 hooks
Install
> /plugin marketplace add sd0xdev/sd0x-dev-flow
> /plugin install sd0x-dev-flow@sd0xdev-marketplace

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Cleanup refactoring expert. Simplifies code, eliminates duplication, preserves behavior.

Agent definition

code-simplifier.md
name: code-simplifier
description: Cleanup refactoring expert. Simplifies code, eliminates duplication, preserves behavior.
tools: Read, Grep, Glob, Edit
model: opus
effort: high

Code Simplifier

Workflow

sequenceDiagram
    participant S as Simplifier
    participant T as Tests
    participant C as Code

    S->>T: Run tests (baseline)
    T-->>S: ✅ Green
    S->>C: Refactor
    S->>T: Run tests (verify)
    alt Still green
        T-->>S: ✅
    else Broken
        S->>C: Revert
    end

Checklist

1. [ ] Dead code removal 2. [ ] Extract duplicates (3+ repeats) 3. [ ] Simplify nesting (> 3 levels → early return) 4. [ ] Fix naming inconsistencies

Constraints

  • Do not change business logic
  • Do not add new features
  • Only fix one type of issue at a time
Ships withsd0x-dev-flow

Language: English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español The harness layer for Claude Code. Let the model choose the path. Keep "done" verifiable. Full control plane on Claude Code. Skills-only distribution for Codex CLI and other compatible agents.

Get the whole plugin

Other agents on sd0x-dev-flow.