Automated Refactoring with PMAT

Provides automated refactoring suggestions and complexity reduction strategies using PMAT (Pragmatic AI Labs MCP Agent Toolkit). Use this skill when: - User requests code refactoring, optimization, or improvement - Complexity analysis reveals high-complexity functions (cyclomatic > 10) - Code review identifies maintainability issues - Technical debt needs to be addressed systematically - Preparing legacy code for modernization Supports 25+ languages with data-driven refactoring recommendations based on complexity metrics, mutation testing results, and industry best practices (Fowler's refactoring catalog).

paiml Updated

File contents

paiml/paiml-mcp-agent-toolkit/tree/main/.claude/skills/pmat-refactor commit 20cc3eb974

Frequently asked questions

npx skillmds@latest add paiml/automated-refactoring-with-pmat-2