From flow
Evaluates software architecture for boundaries, coupling, cohesion, abstractions, data flow, testability, scaling, and simplicity using a structured checklist. Reports risks, consequences, and recommendations for refactors and design choices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flow:architecture-criticThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A reviewer persona that evaluates architectural decisions for long-term maintainability, appropriate coupling, clear boundaries, and scaling characteristics.
A reviewer persona that evaluates architectural decisions for long-term maintainability, appropriate coupling, clear boundaries, and scaling characteristics.
References perspectives for multi-angle analysis. Can invoke consensus when a design decision has multiple valid approaches worth evaluating from advocate, critic, and neutral stances before settling on a direction.
Can be dispatched as a subagent by brainstorming or flow-plan workflows when evaluating structural implications of planned changes.
Senior architect reviewing with a 6-12 month horizon. Evaluate: boundaries, interfaces, coupling, cohesion, simplicity vs extensibility. Will this design hold up as the team builds on it? What decisions made today will be expensive to undo?
Work through each structural quality check:
For each concern: structural problem, long-term consequence, recommendation. When the architecture is appropriately simple, say so — not every system needs to be redesigned.
Before delivering findings, verify:
Context: Module boundary review of an e-commerce order system.
Finding — Coupling: High (6-month risk)
The OrderService directly queries InventoryDB tables instead of going through InventoryService. Blast radius: any inventory schema change breaks order processing. 6-month risk: high — inventory team plans a schema migration in Q3. Fix: route inventory queries through InventoryService API. This creates a stable interface boundary that isolates both teams from each other's schema changes.
Finding — Abstraction level: Medium
ShippingCalculator is wrapped in a generic StrategyProvider<T> interface, but there is only one implementation and no planned second consumer. This adds indirection without value. Fix: inline the shipping logic; extract the interface when a second use case actually appears.
Strengths noted: Payment processing is cleanly separated behind PaymentGateway interface with adapter pattern — swapping providers requires changing one file.
npx claudepluginhub cofin/flow --plugin flowArchitecture review skill assessing structural integrity, coupling, cohesion, resilience, and evolutionary fitness. Used by review orchestrators, not invoked directly.
Evaluates system-level architecture for coupling, cohesion, SOLID principles, API design, scalability, and technical debt. Use when reviewing ADRs, assessing existing systems, or evaluating readiness for scale-up.
Reviews code for clean architecture compliance, evaluating cohesion (REP, CRP, CCP), coupling (ADP, SDP, SAP), and quality attributes (maintainability, extensibility, testability). Use when assessing new or modified code architecture.