Roslynk 2 ships Razor support and safer refactoring tools for AI coding agents

mrpmorris · reddit · 2026-09-26

Roslynk 2 is out, adding Roslyn support for .cs, .razor and .cshtml files to AI coding agents. The author warns agents must re-import SKILL.md and tools.md since tool contracts changed.

New tools: extractmethod (with build-safety refusal), renameparameter (across overrides/interfaces including named arguments), findreads/findwrites (tagged read/assign/compound/increment/ref/out/init), and getexpressioninfo (compiler facts like an editor hover).

Other changes: code actions and fixes now work in Razor/CSHTML; local functions are first-class refactor targets; renamesymbol no longer overwrites concurrent edits; stale files return error=Stale instead of faulting; applycodefix now requires line/column and offers choices when multiple fixes exist (breaking change).

Original post →

More from coding & agent

coding & agent channel →