Skip to main content

FAI Refactoring Expert

Code refactoring specialist โ€” extract method, reduce cyclomatic complexity, improve testability, SOLID principles, design pattern application, and safe behavior-preserving transformations.

Overviewโ€‹

PropertyValue
TypeAgent
Fileagents/fai-refactoring-expert.agent.md
Toolscodebase, terminal
Modelgpt-4o, gpt-4o-mini
WAF Alignmentreliability, performance-efficiency
Compatible Plays24-code-review, 32-test-automation
Lines155

Usageโ€‹

In VS Code (GitHub Copilot)โ€‹

@fai-refactoring-expert How can you help me?

In fai-manifest.jsonโ€‹

{
"primitives": {
"agents": ["../../agents/fai-refactoring-expert.agent.md"]
}
}

Sourceโ€‹


Auto-generated from the FrootAI primitive catalog. Last updated: 2026-04-20.