cyberneticlibrary

Normalize React and TypeScript code

react-normalizersubagentsetup L2115
amwebexpert/etoolbox
What it does

Orchestrate multi-phase React/TypeScript code normalization with validation

Best for

Applying company standards consistently when 2-iteration cap and business-logic preservation matter

Inputs
  • · Scoped files (selected/staged/branch)
  • · Existing skill configurations
Outputs
  • · Normalized codebase (renames, refactors, splits)
  • · Summary report with change types
  • · Newly created files list
  • · Remaining violations (if max iterations reached)
Requires
  • · Read
  • · Edit
  • · Write
  • · Bash
  • · Grep
  • · Glob
Preconditions

React/TypeScript codebase; react-files-structure-standards, react-coding-standards, react-single-responsibility skills preloaded

Failure modes

Business logic accidentally changed; max iterations exceeded with unresolved violations; scope resolution ambiguous; refactors break component contracts

Trust signals
  • · Two-phase workflow with Phase 1 and Phase 2
  • · Max 2-iteration guard prevents infinite loops
  • · Re-validation step confirms fixes did not regress
  • · Business logic never changed