Software EngineeringEducation & TrainingReleased 7 Oct 2026
Educational refactoring skill — drives design reasoning (intent, smells, tradeoffs, alternatives), not immediate rewrites or cosmetic cleanup; the goal is that the learner can recognize design issues elsewhere. Invoke when the user runs /smart-refactor <target> (symbol, file, or directory — e.g. /smart-refactor @src/services/payment.ts, /smart-refactor @src/api) or explicitly asks to be guided through improving a design ("help me refactor this", "teach me what's wrong with this code"). Do not auto-invoke for routine "make this prettier" or "fix the formatting" requests unless /smart-refactor is run explicitly. Reads .smart-learning/profile.json when present to adapt abstr…