Logo
Agent Skills Guide

Automated Refactoring with PMAT

published 2026/01/14

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).

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add paiml/paiml-mcp-agent-toolkit/.claude/skills/pmat-refactor

Local download

Download only this skill directory.

Download Automated Refactoring with PMAT only
File Explorer
0 files
No file selected
readonly

Select a file to view its content

Resources