Skills
CodeScene MCP Server + AGENTS.md: Code Health-Guided Agentic Refactoring Achieves 2-5x More Improvements Than Raw Refactoring
CodeScene's open-source MCP server exposes Code Health analysis as AI-friendly tools, with an AGENTS.md file encoding workflow sequencing and decision logic. The six-pattern framework (Pull Risk Forward, Safeguard Generated Code, Refactor to Expand AI-Ready Surface, Encode Principles in AGENTS.md, Use Coverage as Behavioral Guardrail, Automate End-to-End) requires a Code Health score of 9.5+ for reliable agent performance. At loveholidays, implementing these safeguards reversed declining code health and scaled to 50% agent-assisted code within five months.
Source
↳ Follow the thread