From wf
Simplifies and refines Python code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
How this command is triggered — by the user, by Claude, or both
Slash command
/wf:simplifier file-or-scopeThe summary Claude sees in its command listing — used to decide when to auto-load this command
Load and apply the **wf:simplifier** skill to the specified scope.
Load and apply the wf:simplifier skill to the specified scope.
npx claudepluginhub mesca/claude-plugins --plugin wf/simplifySimplifies and refactors target code files or modules, reducing complexity and duplication while preserving behavior with included tests.
/code-simplifySimplifies recently changed code by reducing complexity without altering behavior — applies guard clauses, splits long functions, renames for clarity, deduplicates logic, and removes dead code with incremental test verification.
/refactor-pyRefactors target Python code for clarity, performance, Pythonic idioms, structure, and error handling. Verifies with tests and linting, outputs summary of applied changes and line diffs.
/simplifySimplifies complex code by reducing nesting, eliminating duplication, and improving clarity. Produces a report with before/after metrics, code changes, explanations, and test results.
/simplifyAnalyzes specified code scope (default: uncommitted changes) for duplication, dead code, unnecessary complexity, and AI bloat, producing a simplification report with follow-up options.
/code-simplifyAnalyzes Python codebases using static analysis tools (flake8, vulture, pylint, radon) to detect dead code, duplication, and complexity, then guides refactoring.