architecture-review

Identify boundary and responsibility misalignments in software architecture.

2|Updated Sep 13, 2025
One-click install
npx skills add https://github.com/s977043/river-reviewer --skill architecture-review-s977043
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-review
Source: https://github.com/s977043/river-reviewer/tree/main/skills/agent-skills/architecture-review
Command: npx skills add https://github.com/s977043/river-reviewer --skill architecture-review-s977043

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Evaluates whether code changes respect architectural boundaries and intent, preventing architectural drift.

Core Features & Use Cases

  • Boundary checks: verify that new code fits within module boundaries.
  • Dependency direction: confirm one-way dependencies aligned with design goals.
  • Quick Start: review a PR's architectural decisions against ADRs.

Quick Start

Provide a PR diff and ADRs or architecture docs for comparison, and get boundary insights.

Frequently Asked Questions about architecture-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if code changes respect architectural boundaries?

Architecture review identifies whether new code fits within module boundaries and aligns with design intent. Provide your PR diff and architecture documentation—ADRs, design docs, or README—to validate that changes respect established architectural boundaries and dependency direction.

When should I review architectural boundaries in a codebase?

Review boundaries when introducing new modules or services, when existing components' responsibilities expand, or when dependencies increase or cycles are suspected. This prevents architectural drift and ensures design decisions remain enforced as the codebase evolves.

What's the difference between one-way and cyclic dependencies in architecture?

One-way dependencies follow design intent—Component A depends on B, but B doesn't depend on A. Cyclic dependencies create tight coupling and maintenance risk. Architecture review confirms dependencies flow in the intended direction and identifies unexpected cycles before they degrade system structure.

Can I use architecture review to document design decisions?

Yes. Architecture review ensures design decisions are documented through ADRs (Architecture Decision Records) and design documentation. It validates that boundary definitions and responsibility assignments match the actual implementation and remain aligned as the system grows.

Why does architectural drift happen and how do I prevent it?

Architectural drift occurs when code changes incrementally violate boundaries or create unintended dependencies. Architecture review prevents drift by validating each PR against established boundaries, ensuring consistent enforcement of design intent throughout development.