Architecture Critic subagent for Claude Code

Review a proposed modernization design against the constraints of the system it will replace.

How to add the Architecture Critic subagent to Claude Code

  1. Open Claude Code once to initialize Anthropic’s official marketplace. In a terminal, install the code-modernization plugin with the command below.
  2. Open a fresh Claude Code session. Type @ and select code-modernization:architecture-critic, or name the agent when you describe the task.
  3. Start with a small repository example you can check yourself.
Claude Code · Install the code-modernization plugin
claude plugin install code-modernization@claude-plugins-official

Compare a rewrite proposal with an incremental migration

Give the critic the original dependencies, target deployment environment, and one non-negotiable behavior. Ask for the two riskiest assumptions and the tests or measurements that could settle them.

Check the output before using it

Provide artifacts for both current and target designs. Ask the agent to tie each objection to latency, complexity, portability, or another constraint you can verify.

Browse Agents