cyberneticlibrary

Simplify code without behavior change

zen-simplifiercommandsetup L2452
evolution-foundation/evo-nexus
What it does

Simplify code without changing behavior using zen-simplifier agent

Best for

Reducing nesting and improving readability when AI guidance on project-specific naming conventions and idioms is required.

Inputs
  • · Code snippet or file paths to simplify
  • · Optional context about refactoring goals
Outputs
  • · Simplified code with identical behavior
  • · Atomic git commits matching project style
  • · Diff showing nesting reduction and redundancy elimination
Requires
  • · zen-simplifier agent
  • · git
Preconditions
  • · zen-simplifier skill available in project
  • · Code compiles and has test coverage
  • · Git repository initialized
Failure modes
  • · zen-simplifier agent unavailable = fallback to manual refactoring
  • · No test coverage = risk of silent behavior change
  • · Commit style not followed = PRs rejected
Trust signals
  • · Produces atomic commits matching project style
  • · Never changes observable behavior
  • · Improves names based on project conventions