Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

review-architecture

БесплатноБез исполняемых скриптовНе проверен

Performs an architectural review of a microservice-based system built on the Microbus framework. Covers only cross-cutting, cross-microservice concerns…

microbus-ioот microbus-io★ 173 звезды на GitHub

Об этом скилле

CRITICAL: This review covers only cross-cutting, cross-microservice concerns - the relationships between microservices and properties of the system as a whole. Anything that can be fully judged from within a single microservice directory (framework compliance, per-endpoint security, code quality, test coverage, per-service documentation, data-access performance, and a graph's own internal correctness) is out of scope here. Those checks belong to the review-microservice skill. Do not duplicate its findings - when a per-service concern surfaces, note it belongs to a per-service review and move on.

CRITICAL: Perform this review sequentially in the current context. Do NOT launch subagents to parallelize the steps unless the user explicitly asks to run the review concurrently or asks for a faster review.

Workflow

Copy this checklist and track your progress:

Architectural review:
- [ ] Step 1: Build the system map
- [ ] Step 2: Service boundaries and data ownership
- [ ] Step 3: Dependencies and coupling
- [ ] Step 4: Cross-service API consistency
- [ ] Step 5: Cross-service data consistency
- [ ] Step 6: Workflow composition
- [ ] Step 7: Edge and system security
- [ ] Step 8: System operations
- [ ] Step 9: Documentation and observability
- [ ] Step 10: Produce the report

Step 1: Build the System Map

Read main/main.go to identify all microservices included in the application and their startup group ordering. Read the manifest.yaml and CLAUDE.md of each microservice to understand its features, downstream dependencies, design rationale, and general properties. Read config.yaml for runtime configuration context. If main/topology.mmd exists, read it to visualize the dependency graph.

Produce a written inventory: for each microservice, note its hostname, purpose (from description), downstream dependencies, outbound events, inbound event sinks, configs, db and cloud properties, and startup group. This inventory is the foundation for all subsequent steps. It is also the map used to scope a change-driven review to the microservices that were touched and their immediate graph neighbors.

Step 2: Service Boundaries and Data Ownership

Evaluate how responsibility and data are divided across microservices. Every check here needs a view of two or more microservices at once - it cannot be made from inside one directory.

  • Separation of concerns - does each microservice own a single, well-defined domain? Flag microservices whose description suggests multiple unrelated responsibilities.
  • Right-sized microservices - are they too granular (nano-services adding unnecessary network hops) or too broad (a distributed monolith with many unrelated endpoints)?
  • Cohesion across the system - is related functionality grouped together, or scattered across microservices? Are there endpoints that would be better placed in a different microservice than the one hosting them?
  • Encapsulated persistence - does any microservice access another's database, share tables via foreign keys or JOINs, or make assumptions about another's schema? Grep for SQL statements and check import paths to verify.
  • Encapsulated external APIs - is each external API (third-party web service, cloud provider, etc.) wrapped in its own dedicated microservice, as indicated by the cloud property in the manifest? Flag an upstream microservice that reaches an external API directly (grep for http.NewRequest or http.Get) instead of going through a dedicated wrapping microservice and the HTTP egress proxy. The per-microservice grep for direct HTTP is a review-microservice concern; here the question is whether the external dependency deserves its own encapsulating microservice.
  • Hostname conventions - do hostnames follow the framework's dotted lowercase convention and stay unique across the app? Are core services on .core and application services on an appropriate domain?
  • Data ownership clarity - does each piece of data have exactly one authoritative owner (one microservice that owns the writes)? Flag data whose write authority is split or ambiguous across microservices.

Step 3: Dependencies and Coupling

Analyze the dependency graph from the downstream sections of each manifest.yaml, and verify against actual code:

  • No circular dependencies - is the dependency graph a DAG? Trace the graph from the inventory built in Step 1. Flag any cycles, including indirect cycles (A depends on B depends on C depends on A).
  • Loose coupling - do microservices interact only through their *api client stubs? Grep import statements in each microservice for imports of other microservices' packages. Flag any import of a sibling microservice's internal package (anything other than its *api package).
  • Fan-out - does any single request cascade through many microservices? Trace call chains from ingress-facing endpoints. The framework enforces a max call depth of 64, but even c
Полный SKILL.md на GitHub

Установить review-architecture в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл review-architecture?

Performs an architectural review of a microservice-based system built on the Microbus framework. Covers only cross-cutting, cross-microservice concerns - service boundaries, the dependency graph, coupling, cross-service consistency, data ownership, workflow composition, edge security, and system operations. Anything judgeable inside a single microservice directory belongs to the review-microservice skill and is out of scope here. Produces a structured report with findings and recommendations.

Как установить скилл review-architecture?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл review-architecture запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить review-architecture с