About
This skill provides a rigorous, metric-driven framework for refactoring Go applications, specifically targeting high-complexity 'hotspots' in CLI tools, services, and Model Context Protocol (MCP) integrations. It leverages automated cyclomatic complexity analysis to identify problematic code, then applies BAIME-aligned patterns and TDD workflows to restructure it. By enforcing strict validation rules—such as a 30% minimum complexity reduction and high test coverage—it ensures that code improvements are measurable, safe, and aligned with architectural best practices.