Refactor Assistant core
The engine. Concrete, idiomatic suggestions for readability, correctness, and performance — each with a short rationale and an example snippet. This is the product.
Powered by Claude
Code Studio is an AI Refactor Assistant. Paste code in any language and get concrete, idiomatic refactoring suggestions — each led by a built-in one-line explanation of why it should change. One AI call gives you both the why and the how.
🔑 Bring your own Anthropic API key — your code and key stay yours.
One core engine does the heavy lifting — and explains itself in the same breath.
The engine. Concrete, idiomatic suggestions for readability, correctness, and performance — each with a short rationale and an example snippet. This is the product.
Every refactor opens with a plain-language, 1–2 sentence summary of what the code does and why it should change — no separate step, no extra call. The same AI that refactors tells you why.
Need docs too? Generate comments in the language's conventional style — JSDoc, docstrings, Javadoc — plus a module overview.
One engine, wrapped for each platform. Install the one you need — each is bring-your-own-key.
Plugin for the WP admin — a tool page plus settings.
Get plugin →Right-click a selection → Refactor. Live on Open VSX for VSCodium, Cursor, Windsurf & Gitpod.
Get on Open VSX →code-studio refactor file.py — pipe or pass a file.
npm i -g @farseman/code-studio
Get on npm →
IntelliJ, PyCharm, WebStorm, Android Studio & more.
Get plugin →Paste code in the popup, hit Refactor, stream the answer.
Get extension →Slack, Cursor, and other platforms are on the way.
Stay tunedGrab Code Studio for your platform and paste your Anthropic API key. Get one at console.anthropic.com.
Highlight a snippet, open a file, or paste into the box — any language.
Claude streams back a one-line "why refactor" summary followed by concrete suggestions, right where you're working. (Prefer docs? Hit Document.)
Code Studio has no server of its own. Requests go straight from your device to the Anthropic API using your key — nothing is stored or proxied.