Kata

•

Automates code refactoring using AI agents by leveraging Fowler's catalog and code smell detection via a Model Context Protocol server.

Kata is an AI-agent-driven refactoring platform designed for real codebases, enabling intelligent agents to drive comprehensive transformations. It exposes Fowler's refactoring catalog and code-smell detection through a Model Context Protocol (MCP) server, allowing various AI agents like Claude Code or Codex to interact with and refactor solutions. A live class diagram provides a human-in-the-loop view, incrementally updating as changes are applied, ensuring the diagram always reflects the current state of C# and C++/CLI projects. The platform facilitates a workflow where agents detect smells, propose diffs, which users can preview and apply to the source.

主な機能

01Live class diagram that updates incrementally without solution reloads after refactorings.
02MCP-native architecture offering 75+ tools for agent-driven refactoring.
03Cross-language symbol indexing and refactoring across C# and C++/CLI codebases.
040 GitHub stars
05Comprehensive Fowler refactoring catalog with 47 distinct intents.
06Integrated code smell detection for 24 Fowler smells, enabling AI-proposed fixes.

ユースケース

01Visualizing and navigating intricate codebases through a live, updating class diagram.
02Automating code refactoring in complex C# and C++/CLI projects using AI agents.
03Detecting and remediating code smells with AI-proposed diffs and human preview.