SlopMochi is an AI code quality management tool designed to combat the accumulation of 'slop' or technical debt, which can degrade agent performance and increase human cognitive load. It provides a visual dashboard to monitor code health, identify design and abstraction smells across multiple languages (Go, Java, TypeScript, Rust), and track refactoring progress. By leveraging the bundled `slopmark` utility, SlopMochi scores code based on metrics like coupling, cohesion, module depth, and cognitive complexity, offering a single, clear KPI to guide AI agents in maintaining code quality and ensuring human visibility into codebase health.
主要功能
01Visual dashboard for AI code health monitoring
02Measurable KPI for guiding AI agent refactoring efforts
03Detailed metrics including cognitive complexity, cyclomatic complexity, coupling, and cohesion
04Static analysis for design smells and technical debt across Go, Java, TypeScript, and Rust
05Agent-assisted fixes and refactoring management via MCP server integration
061 GitHub stars
使用案例
01Automating and tracking code refactoring tasks with AI agents
02Monitoring and visualizing technical debt in AI-generated codebases
03Establishing measurable code quality goals for AI development teams