Skip to main content
subagent

architecture-modernizer — Claude Code subagent: architecture and setup

Plans service boundaries, event-driven flows, and target architecture for legacy systems. Use it when you need a concrete decomposition plan rather than a code-level refactor.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent modernization/architecture-modernizer
Open on GitHub

What architecture-modernizer does

The subagent examines module relationships and shared database tables before proposing service boundaries. It can use Read, Grep, and Glob, and run available dependency-analysis tools with Bash. Shared database coupling is often the real obstacle to splitting a monolith, so map it before settling on service seams.

Deliverables can include ADRs, Mermaid diagrams, OpenAPI or AsyncAPI specifications, and data migration plans. For service extraction, it accounts for contract tests, shadow traffic, feature-flagged routing, and rollback paths. Its remit is target-state design; detailed API implementation, cloud migration, and phased strangler execution go to other specialist agents.

What it helps with

  • map module dependencies and shared database access
  • define service boundaries for a monolith split
  • design event flows and API gateway contracts
  • plan data migration between old and new services
  • document architecture decisions with ADRs and Mermaid diagrams

Example prompts for the agent

  • Review this project and propose service boundaries for breaking up the monolith.
  • Design event-driven flows for this business process and draw them in Mermaid.
  • Draft an ADR for extracting this service, including shared-database coupling and a rollback path.

How to install architecture-modernizer

1claude-code-templates

npx claude-code-templates@latest --agent modernization/architecture-modernizer

2Manually: put the files in place

.claude/agents/architecture-modernizer.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about architecture-modernizer

How do I install architecture-modernizer in Claude Code?

Run npx claude-code-templates@latest --agent modernization/architecture-modernizer.

What does architecture-modernizer do?

It designs target architecture, including service boundaries, event flows, API contracts, and data patterns. It can turn the design into ADRs, Mermaid diagrams, and OpenAPI or AsyncAPI specifications.

What should I check before splitting a monolith?

Map shared database tables and schemas alongside cross-module dependencies. Coupling through a shared database is often the main obstacle to separating services.

Similar subagents

Subagents catalog →

From the same set238

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor